xref: /reactos/dll/win32/hlink/CMakeLists.txt (revision 50cf16b3)
1
2add_definitions(-D__WINESRC__)
3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4spec2def(hlink.dll hlink.spec ADD_IMPORTLIB)
5
6list(APPEND SOURCE
7    browse_ctx.c
8    extserv.c
9    hlink_main.c
10    link.c
11    precomp.h)
12
13add_library(hlink MODULE
14    ${SOURCE}
15    hlink.rc
16    ${CMAKE_CURRENT_BINARY_DIR}/hlink_stubs.c
17    ${CMAKE_CURRENT_BINARY_DIR}/hlink.def)
18
19set_module_type(hlink win32dll)
20target_link_libraries(hlink uuid wine)
21add_delay_importlibs(hlink urlmon)
22add_importlibs(hlink shell32 ole32 advapi32 msvcrt kernel32 ntdll)
23add_pch(hlink precomp.h SOURCE)
24add_cd_file(TARGET hlink DESTINATION reactos/system32 FOR all)
25