2011-05-16 13:12:07 +00:00
|
|
|
|
2014-07-02 14:48:21 +00:00
|
|
|
project(SHELL)
|
|
|
|
|
2015-06-06 14:23:05 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2012-09-29 13:14:20 +00:00
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-D_SHLWAPI_)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(shlwapi.dll shlwapi.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
assoc.c
|
|
|
|
clist.c
|
|
|
|
istream.c
|
|
|
|
msgbox.c
|
|
|
|
ordinal.c
|
|
|
|
path.c
|
|
|
|
reg.c
|
|
|
|
regstream.c
|
2015-03-30 12:16:29 +00:00
|
|
|
rosordinal.c
|
2011-05-16 13:12:07 +00:00
|
|
|
shlwapi_main.c
|
|
|
|
stopwatch.c
|
|
|
|
string.c
|
|
|
|
thread.c
|
2020-05-09 21:37:40 +00:00
|
|
|
url.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
wsprintf.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/shlwapi_stubs.c)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(shlwapi MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2014-02-10 12:19:56 +00:00
|
|
|
shlwapi.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/shlwapi.def)
|
|
|
|
|
|
|
|
set_module_type(shlwapi win32dll)
|
2013-09-26 16:51:42 +00:00
|
|
|
target_link_libraries(shlwapi uuid wine)
|
|
|
|
add_delay_importlibs(shlwapi userenv oleaut32 ole32 comdlg32 mpr mlang urlmon shell32 winmm version)
|
2017-08-04 23:39:15 +00:00
|
|
|
add_importlibs(shlwapi user32 gdi32 advapi32 wininet msvcrt kernel32 ntdll)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(shlwapi precomp.h "${PCH_SKIP_SOURCE}")
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET shlwapi DESTINATION reactos/system32 FOR all)
|