[SHLWAPI]
[reactos.git] / reactos / dll / win32 / shlwapi / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_SHLWAPI_)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7 spec2def(shlwapi.dll shlwapi.spec ADD_IMPORTLIB)
8
9 list(APPEND SOURCE
10 assoc.c
11 clist.c
12 istream.c
13 msgbox.c
14 ordinal.c
15 path.c
16 reg.c
17 regstream.c
18 shlwapi_main.c
19 stopwatch.c
20 string.c
21 thread.c
22 url.c
23 wsprintf.c
24 ${CMAKE_CURRENT_BINARY_DIR}/shlwapi_stubs.c
25 ${CMAKE_CURRENT_BINARY_DIR}/shlwapi.def)
26
27 add_library(shlwapi SHARED ${SOURCE} shlwapi.rc)
28 set_module_type(shlwapi win32dll)
29 target_link_libraries(shlwapi uuid wine)
30 add_delay_importlibs(shlwapi userenv oleaut32 ole32 comdlg32 mpr mlang urlmon shell32 winmm version)
31 add_importlibs(shlwapi user32 gdi32 advapi32 wininet msvcrt kernel32 ntdll)
32 add_cd_file(TARGET shlwapi DESTINATION reactos/system32 FOR all)