mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 13:52:30 +00:00
7e069ccdb2
add_target_compile_definitions -> target_compile_definitions add_target_compile_flags -> target_compile_options add_target_include_directories -> target_include_directories
23 lines
453 B
CMake
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)
|