aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-09-06 11:11:59 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-09-06 20:54:53 +0200
commit9e8f9dd5d47cb7c896d095023e637e63ad42450c (patch)
treedf3b9bf0e554345e54acd3c3eee509444fe90b1d /Makefile
parent5de6f97408d72705fd6f1e17d35b2877cfef1409 (diff)
downloadrneovim-9e8f9dd5d47cb7c896d095023e637e63ad42450c.tar.gz
rneovim-9e8f9dd5d47cb7c896d095023e637e63ad42450c.tar.bz2
rneovim-9e8f9dd5d47cb7c896d095023e637e63ad42450c.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 72db67a0d9..6cbce899f0 100644
--- a/Makefile
+++ b/Makefile
@@ -142,6 +142,9 @@ clint-full: build/.ran-cmake
check-single-includes: build/.ran-cmake
+$(BUILD_CMD) -C build check-single-includes
+generated-sources: build/.ran-cmake
+ +$(BUILD_CMD) -C build generated-sources
+
appimage:
bash scripts/genappimage.sh