mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
fa1ec0a2ed
Also make HalpBiosDisplayReset() function always return FALSE, because we don't have a BIOS on Xbox. CORE-16216 CORE-16219
42 lines
1 KiB
CMake
42 lines
1 KiB
CMake
|
|
spec2def(bootvid.dll bootvid.spec ADD_IMPORTLIB)
|
|
|
|
if((ARCH STREQUAL "i386") OR (ARCH STREQUAL "amd64"))
|
|
if(SARCH STREQUAL "pc98")
|
|
list(APPEND SOURCE
|
|
i386/pc98/pc98.h
|
|
i386/pc98/bootvid.c)
|
|
elseif(SARCH STREQUAL "xbox")
|
|
list(APPEND SOURCE
|
|
i386/xbox/nv2a.h
|
|
i386/xbox/bootvid.c)
|
|
else()
|
|
list(APPEND SOURCE
|
|
i386/pc/pc.h
|
|
i386/pc/cmdcnst.h
|
|
i386/pc/bootvid.c
|
|
i386/pc/bootdata.c
|
|
i386/pc/vga.h
|
|
i386/pc/vga.c)
|
|
endif()
|
|
elseif(ARCH STREQUAL "arm")
|
|
list(APPEND SOURCE
|
|
arm/arm.h
|
|
arm/bootvid.c)
|
|
endif()
|
|
|
|
list(APPEND SOURCE
|
|
common.c
|
|
fontdata.c
|
|
precomp.h)
|
|
|
|
add_library(bootvid MODULE
|
|
${SOURCE}
|
|
bootvid.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/bootvid.def)
|
|
|
|
set_module_type(bootvid kerneldll ENTRYPOINT 0)
|
|
add_importlibs(bootvid ntoskrnl hal)
|
|
add_pch(bootvid precomp.h SOURCE)
|
|
add_dependencies(bootvid psdk)
|
|
add_cd_file(TARGET bootvid DESTINATION reactos/system32 NO_CAB FOR all)
|