1 2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 3add_definitions(-D__WINESRC__) 4spec2def(traffic.dll traffic.spec) 5 6list(APPEND SOURCE 7 traffic_main.c 8 ${CMAKE_CURRENT_BINARY_DIR}/traffic_stubs.c 9 ${CMAKE_CURRENT_BINARY_DIR}/traffic.def) 10 11add_library(traffic MODULE ${SOURCE}) 12set_module_type(traffic win32dll) 13target_link_libraries(traffic wine) 14add_importlibs(traffic msvcrt kernel32 ntdll) 15add_cd_file(TARGET traffic DESTINATION reactos/system32 FOR all) 16