reactos/dll/win32/browseui/shellfind/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

20 lines
420 B
CMake

PROJECT(SHELL)
add_definitions(-DUNICODE -D_UNICODE)
list(APPEND SOURCE
CSearchBar.cpp
CFindFolder.cpp
shellfind.h)
add_library(shellfind OBJECT ${SOURCE})
target_link_libraries(shellfind PRIVATE atl_classes)
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
target_compile_options(shellfind PRIVATE -Wno-unused-but-set-variable)
endif()
add_pch(shellfind shellfind.h SOURCE)
add_dependencies(shellfind psdk)