reactos/drivers/sac/driver/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

25 lines
506 B
CMake

include_directories(${REACTOS_SOURCE_DIR})
list(APPEND SOURCE
chanmgr.c
channel.c
cmdchan.c
concmd.c
conmgr.c
data.c
dispatch.c
init.c
memory.c
rawchan.c
util.c
vtutf8chan.c
sacdrv.h)
add_library(sacdrv MODULE ${SOURCE} sacdrv.rc)
set_module_type(sacdrv kernelmodedriver)
add_importlibs(sacdrv ntoskrnl hal)
add_dependencies(sacdrv sacmsg)
add_pch(sacdrv sacdrv.h SOURCE)
add_cd_file(TARGET sacdrv DESTINATION reactos/system32/drivers NO_CAB FOR all)