mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
26 lines
566 B
CMake
26 lines
566 B
CMake
PROJECT(SHELL)
|
|
|
|
set_cpp(WITH_RUNTIME)
|
|
|
|
add_definitions(-DUNICODE -D_UNICODE)
|
|
add_definitions(-D_ATL_NO_EXCEPTIONS)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
|
|
|
|
list(APPEND SOURCE
|
|
CBandSite.cpp
|
|
CBandSiteMenu.cpp
|
|
CBaseBar.cpp
|
|
CISFBand.cpp
|
|
CSHEnumClassesOfCategories.cpp)
|
|
|
|
add_library(shellbars ${SOURCE})
|
|
add_dependencies(shellbars xdk)
|
|
|
|
target_link_libraries(shellbars atlnew)
|
|
|
|
if(NOT MSVC)
|
|
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
|
add_target_compile_flags(shellbars "-Wno-unused-but-set-variable")
|
|
endif()
|
|
endif()
|