reactos/drivers/crypto/ksecdd/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

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)