1
2spec2def(ksecdd.sys ksecdd.spec)
3
4include_directories(
5    ${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/ksecdd
6    ${REACTOS_SOURCE_DIR}/sdk/lib/cryptlib)
7
8list(APPEND SOURCE
9    ksecdd.c
10    dispatch.c
11    crypt.c
12    random.c
13    stubs.c
14    ksecdd.rc
15    ${CMAKE_CURRENT_BINARY_DIR}/ksecdd.def)
16
17add_library(ksecdd MODULE ${SOURCE})
18target_link_libraries(ksecdd cryptlib pseh)
19set_module_type(ksecdd kernelmodedriver)
20add_importlibs(ksecdd ntoskrnl hal)
21add_cd_file(TARGET ksecdd DESTINATION reactos/system32/drivers NO_CAB FOR all)
22add_registry_inf(ksecdd_reg.inf)
23