mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +00:00
[CMAKE] Introduce the atl_classes interface library
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
This commit is contained in:
parent
8b28f8d9ba
commit
907025a018
36 changed files with 62 additions and 172 deletions
|
@ -1,8 +1,5 @@
|
|||
PROJECT(SHELL)
|
||||
|
||||
add_definitions(-D_ATL_NO_EXCEPTIONS)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
|
||||
|
||||
list(APPEND SOURCE
|
||||
appbar.cpp
|
||||
desktop.cpp
|
||||
|
@ -30,7 +27,7 @@ list(APPEND SOURCE
|
|||
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 cpprt)
|
||||
target_link_libraries(explorer uuid wine cpprt atl_classes)
|
||||
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)
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
PROJECT(SHELL)
|
||||
|
||||
add_definitions(
|
||||
-D_ATL_NO_EXCEPTIONS)
|
||||
|
||||
include_directories(
|
||||
${REACTOS_SOURCE_DIR}/sdk/lib/atl)
|
||||
|
||||
spec2def(rshell.dll rshell.spec ADD_IMPORTLIB)
|
||||
|
||||
list(APPEND SOURCE
|
||||
|
@ -23,7 +17,8 @@ target_link_libraries(rshell
|
|||
shelldesktop
|
||||
uuid
|
||||
wine
|
||||
cpprt)
|
||||
cpprt
|
||||
atl_classes)
|
||||
|
||||
add_importlibs(rshell
|
||||
browseui
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue