mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00

add_target_compile_definitions -> target_compile_definitions add_target_compile_flags -> target_compile_options add_target_include_directories -> target_include_directories
26 lines
522 B
CMake
26 lines
522 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
|
|
shellbars.h)
|
|
|
|
add_library(shellbars ${SOURCE})
|
|
|
|
if(NOT MSVC)
|
|
target_compile_options(shellbars PRIVATE "-Wno-unused-but-set-variable")
|
|
endif()
|
|
|
|
add_pch(shellbars shellbars.h SOURCE)
|
|
add_dependencies(shellbars xdk)
|