mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +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.
16 lines
424 B
CMake
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)
|