mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 03:27:31 +00:00
74ec94e12c
These are (so far): -Wno-format-overflow -Wno-nonnull-compare -Wno-old-style-declaration -Wno-unused-but-set-variable
20 lines
420 B
CMake
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)
|