mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
404fdb0f36
- add EXTERNALPROJECT_OPTIONS variable to main build - use `REQUIRED` keyword for IWYU. - remove check_c_compiler_flag checks when `ENABLE_COMPILER_SUGGESTIONS` is `ON`. If we explicitly enable it then we probably want it to give an error if it doesn't exist, rather than silently skip it. - Move dependency interface libraries to their find module and use them as a pseudo-imported target. - Remove BUSTED_OUTPUT_TYPE. It's not used and we can reintroduce it again if something similar is needed. - Use LINK_OPTIONS intead of LINK_FLAGS when generating the `--version` output.
11 lines
403 B
CMake
11 lines
403 B
CMake
ExternalProject_Add(treesitter
|
|
URL ${TREESITTER_URL}
|
|
URL_HASH SHA256=${TREESITTER_SHA256}
|
|
DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/treesitter
|
|
PATCH_COMMAND ${CMAKE_COMMAND} -E copy
|
|
${CMAKE_CURRENT_SOURCE_DIR}/cmake/TreesitterCMakeLists.txt
|
|
${DEPS_BUILD_DIR}/src/treesitter/CMakeLists.txt
|
|
CMAKE_ARGS ${DEPS_CMAKE_ARGS}
|
|
CMAKE_CACHE_ARGS ${DEPS_CMAKE_CACHE_ARGS}
|
|
${EXTERNALPROJECT_OPTIONS})
|