43366dfc083cf18eac0a6c83986573950b1bc500
[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 ${CMAKE_CURRENT_SOURCE_DIR}/shlwapi.spec ${CMAKE_CURRENT_BINARY_DIR}/shlwapi.def)
9
10 add_library(shlwapi SHARED
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
27 set_module_type(shlwapi win32dll)
28
29 target_link_libraries(shlwapi
30 ${CMAKE_CURRENT_BINARY_DIR}/shlwapi.def
31 wine
32 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 ntdll)
50
51 add_dependencies(shlwapi shlwapi_def)
52 add_livecd_target(shlwapi reactos/system32)