mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
21 lines
513 B
CMake
21 lines
513 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
|
|
|
## spec2def(condrv.sys condrv.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
condrv.c
|
|
control.c
|
|
condrv.h)
|
|
|
|
add_library(condrv SHARED
|
|
${SOURCE}
|
|
condrv.rc)
|
|
# ${CMAKE_CURRENT_BINARY_DIR}/condrv.def)
|
|
|
|
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)
|