mirror of
https://github.com/reactos/reactos.git
synced 2024-08-22 19:33:01 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
20 lines
396 B
CMake
20 lines
396 B
CMake
|
|
PROJECT(SHELL)
|
|
|
|
add_definitions(-DUNICODE -D_UNICODE)
|
|
|
|
list(APPEND SOURCE
|
|
CSearchBar.cpp
|
|
CFindFolder.cpp
|
|
shellfind.h)
|
|
|
|
add_library(shellfind OBJECT ${SOURCE})
|
|
target_link_libraries(shellfind PRIVATE atl_classes)
|
|
|
|
if(NOT MSVC)
|
|
target_compile_options(shellfind PRIVATE "-Wno-unused-but-set-variable")
|
|
endif()
|
|
|
|
add_pch(shellfind shellfind.h SOURCE)
|
|
add_dependencies(shellfind psdk)
|