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