reactos/drivers/base/condrv/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

19 lines
435 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
list(APPEND SOURCE
condrv.c
control.c
dispatch.c
condrv.h)
add_library(condrv MODULE
${SOURCE}
condrv.rc)
set_module_type(condrv kernelmodedriver)
target_link_libraries(condrv ${PSEH_LIB})
add_importlibs(condrv ntoskrnl hal)
add_pch(condrv condrv.h SOURCE)
add_cd_file(TARGET condrv DESTINATION reactos/system32/drivers NO_CAB FOR all)