reactos/dll/win32/browseui/CMakeLists.txt
David Quintana 28bf05e265 [RSHELL]
* Move dependency copying to the target script, so that the target properly depends on the source and not the other way around.
* Make all the custom constructors WINAPI.
* Add all the custom constructors to the spec file.
CORE-7596

svn path=/branches/shell-experiments/; revision=62365
2014-03-01 11:46:04 +00:00

62 lines
1.1 KiB
CMake

PROJECT(SHELL)
set_cpp(WITH_RUNTIME)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/lib/atl)
spec2def(browseui.dll browseui.spec ADD_IMPORTLIB)
list(APPEND SOURCE
aclmulti.cpp
addressband.cpp
addresseditbox.cpp
bandproxy.cpp
bandsite.cpp
bandsitemenu.cpp
basebar.cpp
basebarsite.cpp
brandband.cpp
browseui.cpp
browseuiord.cpp
commonbrowser.cpp
globalfoldersettings.cpp
internettoolbar.cpp
regtreeoptions.cpp
shellbrowser.cpp
toolsband.cpp
travellog.cpp
utility.cpp
precomp.h)
add_library(browseui SHARED
${SOURCE}
dllinstall.c
browseui.rc
${CMAKE_CURRENT_BINARY_DIR}/browseui.def)
set_module_type(browseui win32dll UNICODE)
target_link_libraries(browseui
atlnew
uuid
wine)
add_importlibs(browseui
shlwapi
shell32
comctl32
gdi32
ole32
oleaut32
user32
advapi32
msvcrt
kernel32
ntdll)
add_pch(browseui precomp.h SOURCE)
add_cd_file(TARGET browseui DESTINATION reactos/system32 FOR all)