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