[CMAKE]
[reactos.git] / dll / win32 / icmp / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3
4 set_rc_compiler()
5
6 spec2def(icmp.dll icmp.spec)
7
8 list(APPEND SOURCE
9 icmp_main.c
10 icmp.rc
11 ${CMAKE_CURRENT_BINARY_DIR}/icmp_stubs.c
12 ${CMAKE_CURRENT_BINARY_DIR}/icmp.def)
13
14 add_library(icmp SHARED ${SOURCE})
15
16 set_module_type(icmp win32dll)
17
18 target_link_libraries(icmp wine)
19 add_importlibs(icmp ws2_32 msvcrt kernel32 ntdll)
20 add_importlib_target(icmp.spec)
21 add_cd_file(TARGET icmp DESTINATION reactos/system32 FOR all)