reactos/dll/win32/browseui/shellfind/CMakeLists.txt
Victor Perevertkin 7e069ccdb2
[CMAKE] Replace custom functions to built-in ones
add_target_compile_definitions -> target_compile_definitions
add_target_compile_flags -> target_compile_options
add_target_include_directories -> target_include_directories
2020-04-16 15:59:38 +03:00

23 lines
453 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
CSearchBar.cpp
CFindFolder.cpp
shellfind.h)
add_library(shellfind ${SOURCE})
if(NOT MSVC)
target_compile_options(shellfind PRIVATE "-Wno-unused-but-set-variable")
endif()
add_pch(shellfind shellfind.h SOURCE)
add_dependencies(shellfind psdk)