llvm-project/clang/examples/PluginsOrder/CMakeLists.txt

12 lines
259 B
CMake

add_llvm_library(PluginsOrder MODULE PluginsOrder.cpp PLUGIN_TOOL clang)
if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
set(LLVM_LINK_COMPONENTS
Support
)
clang_target_link_libraries(PluginsOrder PRIVATE
clangAST
clangFrontend
)
endif()