mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 13:54:41 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
23 lines
470 B
CMake
23 lines
470 B
CMake
|
|
PROJECT(SHELL)
|
|
|
|
add_definitions(-DUNICODE -D_UNICODE)
|
|
|
|
list(APPEND SOURCE
|
|
CBandSite.cpp
|
|
CBandSiteMenu.cpp
|
|
CBaseBar.cpp
|
|
CISFBand.cpp
|
|
CSHEnumClassesOfCategories.cpp
|
|
shellbars.h)
|
|
|
|
add_library(shellbars OBJECT ${SOURCE})
|
|
target_link_libraries(shellbars PRIVATE atl_classes)
|
|
|
|
if(NOT MSVC)
|
|
target_compile_options(shellbars PRIVATE "-Wno-unused-but-set-variable")
|
|
endif()
|
|
|
|
add_pch(shellbars shellbars.h SOURCE)
|
|
add_dependencies(shellbars xdk psdk)
|