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.
23 lines
575 B
CMake
23 lines
575 B
CMake
|
|
spec2def(ksecdd.sys ksecdd.spec)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/ksecdd
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/cryptlib)
|
|
|
|
list(APPEND SOURCE
|
|
ksecdd.c
|
|
dispatch.c
|
|
crypt.c
|
|
random.c
|
|
stubs.c
|
|
ksecdd.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/ksecdd.def)
|
|
|
|
add_library(ksecdd MODULE ${SOURCE})
|
|
target_link_libraries(ksecdd cryptlib pseh)
|
|
set_module_type(ksecdd kernelmodedriver)
|
|
add_importlibs(ksecdd ntoskrnl hal)
|
|
add_cd_file(TARGET ksecdd DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
|
add_registry_inf(ksecdd_reg.inf)
|