e0b1732f55be7770709a23b1858f307dd9c32930
[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 ${CMAKE_CURRENT_SOURCE_DIR}/traffic.spec ${CMAKE_CURRENT_BINARY_DIR}/traffic.def)
6
7 add_library(traffic SHARED traffic_main.c)
8
9 set_module_type(traffic win32dll)
10
11 target_link_libraries(traffic
12 ${CMAKE_CURRENT_BINARY_DIR}/traffic.def
13 wine)
14
15 add_importlibs(traffic kernel32 ntdll)
16 add_dependencies(traffic traffic_def psdk buildno_header)
17 add_livecd_target(traffic reactos/system32)