1 2PROJECT(SHELL) 3 4set_cpp(WITH_RUNTIME) 5 6add_definitions(-DUNICODE -D_UNICODE) 7add_definitions(-D_ATL_NO_EXCEPTIONS) 8 9include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl) 10 11list(APPEND SOURCE 12 CSearchBar.cpp 13 CFindFolder.cpp 14 shellfind.h) 15 16add_library(shellfind ${SOURCE}) 17 18if(NOT MSVC) 19 add_target_compile_flags(shellfind "-Wno-unused-but-set-variable") 20endif() 21 22add_pch(shellfind shellfind.h SOURCE) 23add_dependencies(shellfind psdk) 24