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

12 lines
245 B
CMake

add_llvm_library(Attribute MODULE Attribute.cpp PLUGIN_TOOL clang)
if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
target_link_libraries(Attribute PRIVATE
clangAST
clangBasic
clangFrontend
clangLex
LLVMSupport
)
endif()