mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
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.
19 lines
435 B
CMake
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)
|