mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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.
18 lines
435 B
CMake
18 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)
|