mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
cmake: add "generated-sources" target
This is intended to be used with source introspection tools like clangd, where it would useful to regenerate headers and source files, which introspection results depend on, without making a full rebuild which takes much longer time than just generating headers.
This commit is contained in:
3
Makefile
3
Makefile
@@ -142,6 +142,9 @@ clint-full: build/.ran-cmake
|
|||||||
check-single-includes: build/.ran-cmake
|
check-single-includes: build/.ran-cmake
|
||||||
+$(BUILD_CMD) -C build check-single-includes
|
+$(BUILD_CMD) -C build check-single-includes
|
||||||
|
|
||||||
|
generated-sources: build/.ran-cmake
|
||||||
|
+$(BUILD_CMD) -C build generated-sources
|
||||||
|
|
||||||
appimage:
|
appimage:
|
||||||
bash scripts/genappimage.sh
|
bash scripts/genappimage.sh
|
||||||
|
|
||||||
|
@@ -660,4 +660,10 @@ add_custom_target(
|
|||||||
DEPENDS ${LINT_PRG} ${LINT_NVIM_SOURCES} ${LINT_SUPPRESS_FILE}
|
DEPENDS ${LINT_PRG} ${LINT_NVIM_SOURCES} ${LINT_SUPPRESS_FILE}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_custom_target(generated-sources DEPENDS
|
||||||
|
${NVIM_GENERATED_FOR_SOURCES}
|
||||||
|
${NVIM_GENERATED_FOR_HEADERS}
|
||||||
|
${NVIM_GENERATED_SOURCES}
|
||||||
|
)
|
||||||
|
|
||||||
add_subdirectory(po)
|
add_subdirectory(po)
|
||||||
|
Reference in New Issue
Block a user