reactos/dll/win32/browseui/shellbars/CMakeLists.txt
Victor Perevertkin 74ec94e12c [CMAKE] Some options are only supported by GCC, don't use them for clang
These are (so far):
-Wno-format-overflow
-Wno-nonnull-compare
-Wno-old-style-declaration
-Wno-unused-but-set-variable
2021-04-09 03:58:19 +03:00

23 lines
494 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(CMAKE_C_COMPILER_ID STREQUAL "GNU")
target_compile_options(shellbars PRIVATE -Wno-unused-but-set-variable)
endif()
add_pch(shellbars shellbars.h SOURCE)
add_dependencies(shellbars xdk psdk)