pineapple/externals/vcpkg/ports/llvm/clang_usage

6 lines
234 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
The package clang provides CMake targets:
find_package(Clang CONFIG REQUIRED)
target_include_directories(main PRIVATE ${CLANG_INCLUDE_DIRS})
target_link_libraries(main PRIVATE clangBasic clangLex clangParse clangAST ...)