8ad384fea45ca4b88c337c24a218292e1c8f62d4
[reactos.git] / 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.def)
27
28 add_library(shlwapi SHARED ${SOURCE})
29
30 set_module_type(shlwapi win32dll)
31
32 target_link_libraries(shlwapi wine uuid)
33
34 add_importlibs(shlwapi
35 user32
36 gdi32
37 advapi32
38 oleaut32
39 ole32
40 comctl32
41 comdlg32
42 mpr
43 mlang
44 urlmon
45 winmm
46 version
47 shell32
48 kernel32
49 msvcrt
50 ntdll)
51
52 add_cab_target(shlwapi 1)
53
54 add_importlib_target(shlwapi.spec)