2011-05-16 13:12:07 +00:00
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(bootvid.dll bootvid.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-02-09 17:28:01 +00:00
|
|
|
if((ARCH STREQUAL "i386") OR (ARCH STREQUAL "amd64"))
|
2020-05-14 10:36:55 +00:00
|
|
|
if(SARCH STREQUAL "pc98")
|
|
|
|
list(APPEND SOURCE
|
2020-05-12 14:32:37 +00:00
|
|
|
i386/pc98/pc98.h
|
2020-05-14 10:36:55 +00:00
|
|
|
i386/pc98/bootvid.c)
|
2020-05-12 14:32:37 +00:00
|
|
|
elseif(SARCH STREQUAL "xbox")
|
|
|
|
list(APPEND SOURCE
|
2020-08-26 13:58:01 +00:00
|
|
|
i386/xbox/xbox.h
|
2020-05-12 14:32:37 +00:00
|
|
|
i386/xbox/bootvid.c)
|
2020-05-14 10:36:55 +00:00
|
|
|
else()
|
|
|
|
list(APPEND SOURCE
|
2020-05-12 14:32:37 +00:00
|
|
|
i386/pc/pc.h
|
|
|
|
i386/pc/cmdcnst.h
|
2020-05-14 10:36:55 +00:00
|
|
|
i386/pc/bootvid.c
|
|
|
|
i386/pc/bootdata.c
|
2020-05-12 14:32:37 +00:00
|
|
|
i386/pc/vga.h
|
2020-05-14 10:36:55 +00:00
|
|
|
i386/pc/vga.c)
|
|
|
|
endif()
|
2012-08-27 18:58:27 +00:00
|
|
|
elseif(ARCH STREQUAL "arm")
|
2014-02-09 17:28:01 +00:00
|
|
|
list(APPEND SOURCE
|
2020-05-12 14:32:37 +00:00
|
|
|
arm/arm.h
|
2019-09-01 21:01:40 +00:00
|
|
|
arm/bootvid.c)
|
2014-02-09 17:28:01 +00:00
|
|
|
endif()
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2019-09-01 21:01:40 +00:00
|
|
|
list(APPEND SOURCE
|
2020-04-08 05:42:05 +00:00
|
|
|
common.c
|
2019-09-01 21:01:40 +00:00
|
|
|
fontdata.c
|
|
|
|
precomp.h)
|
2014-02-09 17:28:01 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(bootvid MODULE
|
2014-02-09 17:28:01 +00:00
|
|
|
${SOURCE}
|
|
|
|
bootvid.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/bootvid.def)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-10-04 20:25:57 +00:00
|
|
|
set_module_type(bootvid kerneldll ENTRYPOINT 0)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(bootvid ntoskrnl hal)
|
2014-02-09 17:28:01 +00:00
|
|
|
add_pch(bootvid precomp.h SOURCE)
|
2014-10-04 20:25:57 +00:00
|
|
|
add_dependencies(bootvid psdk)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET bootvid DESTINATION reactos/system32 NO_CAB FOR all)
|