mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +00:00
23373acbb9
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.
17 lines
424 B
CMake
17 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)
|