mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +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.
24 lines
506 B
CMake
24 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)
|