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