reactos/drivers/base/kdvm/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
There is no need to compile our DLLs as shared libraries since we are
managing symbols exports and imports through spec files.

On my system, this reduces the configure-time by a factor of two.
2019-04-06 17:43:38 +02:00

16 lines
424 B
CMake

spec2def(kdvbox.dll kdvm.spec)
add_asm_files(kdvbox_asm kdvbox_asm.S)
add_library(kdvbox MODULE
kdvm.c
kdvbox.c
kdvm.rc
${kdvbox_asm}
${CMAKE_CURRENT_BINARY_DIR}/kdvbox.def)
set_module_type(kdvbox module IMAGEBASE 0x00010000)
set_subsystem(kdvbox native)
add_importlibs(kdvbox ntoskrnl hal)
add_dependencies(kdvbox psdk bugcodes)
add_cd_file(TARGET kdvbox DESTINATION reactos/system32 NO_CAB FOR all)