2019-07-19 02:15:01 +00:00
|
|
|
|
|
|
|
PROJECT(SHELL)
|
|
|
|
|
|
|
|
add_definitions(-DUNICODE -D_UNICODE)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
CSearchBar.cpp
|
2019-07-19 20:23:20 +00:00
|
|
|
CFindFolder.cpp
|
2019-07-19 02:15:01 +00:00
|
|
|
shellfind.h)
|
|
|
|
|
2020-09-18 09:08:58 +00:00
|
|
|
add_library(shellfind OBJECT ${SOURCE})
|
|
|
|
target_link_libraries(shellfind PRIVATE atl_classes)
|
2019-07-19 02:15:01 +00:00
|
|
|
|
2021-04-09 00:58:19 +00:00
|
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
|
|
|
target_compile_options(shellfind PRIVATE -Wno-unused-but-set-variable)
|
2019-07-19 02:15:01 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_pch(shellfind shellfind.h SOURCE)
|
2019-08-31 00:54:50 +00:00
|
|
|
add_dependencies(shellfind psdk)
|