xref: /reactos/drivers/base/bootvid/CMakeLists.txt (revision b8dd046e)
1
2spec2def(bootvid.dll bootvid.spec ADD_IMPORTLIB)
3
4if((ARCH STREQUAL "i386") OR (ARCH STREQUAL "amd64"))
5    list(APPEND SOURCE
6        i386/pc/bootvid.c
7        i386/pc/bootdata.c
8        i386/pc/vga.c)
9elseif(ARCH STREQUAL "arm")
10    list(APPEND SOURCE
11        arm/bootvid.c)
12endif()
13
14list(APPEND SOURCE
15    common.c
16    fontdata.c
17    precomp.h)
18
19add_library(bootvid MODULE
20    ${SOURCE}
21    bootvid.rc
22    ${CMAKE_CURRENT_BINARY_DIR}/bootvid.def)
23
24set_module_type(bootvid kerneldll ENTRYPOINT 0)
25add_importlibs(bootvid ntoskrnl hal)
26add_pch(bootvid precomp.h SOURCE)
27add_dependencies(bootvid psdk)
28add_cd_file(TARGET bootvid DESTINATION reactos/system32 NO_CAB FOR all)
29