mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 12:00:26 +08:00
40449ff1cb
* fix issue #16215 * add more projects and fix issue #16222 * add version * exclude libc from default projects * remove libc, add fland to default projects * update to v11.1.0 * fix compiler-rt install path * fix SHA for version 11.1.0 * fix libc++ install * re-fix libc++ install * fix pstl install * fix flang's license file name * install tools in tools/llvm, fix file names * revert bin directory for libraries * don't create clang sub-directory in llvm/tools * overwrite version * copy tool dependencies * overwrite version * remove vcpkg_copy_tools call * overwrite version * restore default features * overwrite version * overwrite version * convert manifest to json * install usage files * overwrite version * remove feature `default-projects` * modernize CMake in usage files * overwrite version * update ordering * override version
6 lines
234 B
Plaintext
6 lines
234 B
Plaintext
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 ...)
|