[CMAKE]
[reactos.git] / dll / win32 / traffic / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(traffic.dll traffic.spec)
6
7 list(APPEND SOURCE
8 traffic_main.c
9 ${CMAKE_CURRENT_BINARY_DIR}/traffic_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/traffic.def)
11
12 add_library(traffic SHARED ${SOURCE})
13
14 set_module_type(traffic win32dll)
15
16 target_link_libraries(traffic wine)
17
18 add_importlibs(traffic msvcrt kernel32 ntdll)
19 add_dependencies(traffic psdk buildno_header)
20 add_cab_target(traffic 1)