mirror of
https://github.com/reactos/reactos.git
synced 2024-08-23 03:42:40 +00:00
![Victor Perevertkin](/assets/img/avatar_default.png)
add_target_compile_definitions -> target_compile_definitions add_target_compile_flags -> target_compile_options add_target_include_directories -> target_include_directories
24 lines
453 B
CMake
24 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)
|