reactos/reactos/drivers/network/afd/CMakeLists.txt
Jérôme Gardou 989c121257 [CMAKE]
fix pch support, with proper dependancies.
  Use cmake built-in functions instead of doing weird "magic" with tabs and spaces.
  According to gcc doc, if header.h is precompiled, the output should be named "header.h.gch" and not anything else.

svn path=/trunk/; revision=52058
2011-06-02 12:18:22 +00:00

30 lines
561 B
CMake

include_directories(
BEFORE include
${REACTOS_SOURCE_DIR}/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
afd.rc)
add_library(afd SHARED ${SOURCE})
target_link_libraries(afd ${PSEH_LIB})
set_module_type(afd kernelmodedriver)
add_importlibs(afd ntoskrnl hal)
add_pch(afd include/afd.h)
add_cd_file(TARGET afd DESTINATION reactos/system32/drivers FOR all)