[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 ${CMAKE_CURRENT_SOURCE_DIR}/hlink.spec ${CMAKE_CURRENT_BINARY_DIR}/hlink.def)
6
7 add_library(hlink SHARED
8 browse_ctx.c
9 extserv.c
10 hlink_main.c
11 link.c)
12
13 set_module_type(hlink win32dll)
14
15 target_link_libraries(hlink
16 ${CMAKE_CURRENT_BINARY_DIR}/hlink.def
17 uuid
18 wine)
19
20 add_importlibs(hlink
21 shell32
22 ole32
23 advapi32
24 urlmon
25 kernel32
26 ntdll)
27
28 add_dependencies(hlink hlink_def)
29 add_livecd_target(hlink reactos/system32)