hanchenye-llvm-project/clang/examples/PrintFunctionNames/CMakeLists.txt

16 lines
281 B
CMake

set(MODULE TRUE)
set( LLVM_LINK_COMPONENTS support mc)
add_clang_library(PrintFunctionNames PrintFunctionNames.cpp)
target_link_libraries(PrintFunctionNames
clangFrontend
clangAST
)
set_target_properties(PrintFunctionNames
PROPERTIES
LINKER_LANGUAGE CXX
PREFIX "")