mirror of
https://github.com/reactos/reactos.git
synced 2024-11-03 13:25:57 +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.
14 lines
398 B
CMake
14 lines
398 B
CMake
|
|
spec2def(kdcom.dll kdrosdbg.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
kdrosdbg.c
|
|
kdrosdbg.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
|
|
|
|
add_library(kdcom MODULE ${SOURCE})
|
|
set_module_type(kdcom kerneldll ENTRYPOINT 0)
|
|
add_importlibs(kdcom ntoskrnl hal)
|
|
target_link_libraries(kdcom cportlib)
|
|
add_dependencies(kdcom psdk)
|
|
add_cd_file(TARGET kdcom DESTINATION reactos/system32 NO_CAB FOR all)
|