mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +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.
28 lines
613 B
CMake
28 lines
613 B
CMake
|
|
include_directories(
|
|
BEFORE include
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
|
|
|
|
list(APPEND SOURCE
|
|
afd/bind.c
|
|
afd/connect.c
|
|
afd/context.c
|
|
afd/info.c
|
|
afd/listen.c
|
|
afd/lock.c
|
|
afd/main.c
|
|
afd/read.c
|
|
afd/select.c
|
|
afd/tdi.c
|
|
afd/tdiconn.c
|
|
afd/write.c
|
|
include/afd.h)
|
|
|
|
add_library(afd MODULE ${SOURCE} afd.rc)
|
|
target_link_libraries(afd ${PSEH_LIB})
|
|
set_module_type(afd kernelmodedriver)
|
|
add_importlibs(afd ntoskrnl hal)
|
|
add_pch(afd include/afd.h SOURCE)
|
|
add_cd_file(TARGET afd DESTINATION reactos/system32/drivers FOR all)
|
|
add_registry_inf(afd_reg.inf)
|