llvm-project/llvm/tools/llvmc/examples/Hello/CMakeLists.txt

5 lines
104 B
CMake

set(LLVM_USED_LIBS CompilerDriver)
set(LLVM_LINK_COMPONENTS support)
add_llvm_example(Hello Hello.cpp)