reactos/base/shell/explorer/CMakeLists.txt
jimtabor 4f628f6b16 [0.4.13][EXPLORER|SHELL3232] Fix CORE-14439 part 2 of 2 - Fix Build
Missed a file. See CORE-14439.

cherry picked from commit 0.4.14-dev-1210-g
78098f99e0

[0.4.13][EXPLORER|SHELL3232] Fix CORE-14439 part 1 of 2

Prevent ros from halting when Miranda IM 0.10.21 snap-to-border-feature is used.

Fix SHAppBarMessage (not perfect) by adapting wine code. See CORE-14439.
More work is required. Kept the original code for reference.
Example : SetWindowPos should be called via Post Message.
Code commit is to wake up other developers.

cherry picked from commit 0.4.14-dev-1209-g
10d1afea18
2020-03-25 17:49:41 +01:00

39 lines
981 B
CMake

PROJECT(SHELL)
set_cpp(WITH_RUNTIME)
add_definitions(-D_ATL_NO_EXCEPTIONS)
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
list(APPEND SOURCE
appbar.cpp
desktop.cpp
explorer.cpp
notifyiconscust.cpp
rshell.cpp
settings.cpp
shellservice.cpp
startctxmnu.cpp
startmnu.cpp
startmnucust.cpp
startmnusite.cpp
startup.cpp
syspager.cpp
taskband.cpp
taskswnd.cpp
tbsite.cpp
trayclock.cpp
trayntfy.cpp
trayprop.cpp
traywnd.cpp
util.cpp
precomp.h)
file(GLOB explorer_rc_deps res/*.*)
add_rc_deps(explorer.rc ${explorer_rc_deps})
add_executable(explorer ${SOURCE} explorer.rc)
target_link_libraries(explorer uuid wine)
set_module_type(explorer win32gui UNICODE)
add_importlibs(explorer advapi32 gdi32 user32 comctl32 ole32 oleaut32 shell32 browseui shlwapi shdocvw version uxtheme msvcrt kernel32 ntdll)
add_pch(explorer precomp.h SOURCE)
add_cd_file(TARGET explorer DESTINATION reactos FOR all)