[CMAKE]
[reactos.git] / dll / win32 / hlink / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(hlink.dll hlink.spec)
6
7 list(APPEND SOURCE
8 browse_ctx.c
9 extserv.c
10 hlink_main.c
11 link.c
12 ${CMAKE_CURRENT_BINARY_DIR}/hlink_stubs.c
13 ${CMAKE_CURRENT_BINARY_DIR}/hlink.def)
14
15 add_library(hlink SHARED ${SOURCE})
16
17 set_module_type(hlink win32dll)
18
19 target_link_libraries(hlink uuid wine)
20
21 add_importlibs(hlink
22 shell32
23 ole32
24 advapi32
25 urlmon
26 msvcrt
27 kernel32
28 ntdll)
29
30 add_importlib_target(hlink.spec)
31 add_cd_file(TARGET hlink DESTINATION reactos/system32)