aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorHeiko Hund2023-12-20 13:36:59 +0100
committerGert Doering2023-12-20 18:05:53 +0100
commit855030f3d76324bdb614c05ec0ca5b86d66653bb (patch)
tree6d7de3e138505ffc652c782db6ccc60c1305185f /.gitignore
parent55d73959cc98241d0ef10dbd091ecf0061b175fe (diff)
downloadopenvpn-855030f3d76324bdb614c05ec0ca5b86d66653bb.zip
openvpn-855030f3d76324bdb614c05ec0ca5b86d66653bb.tar.gz
cmake: create and link compile_commands.json file
CMake has support to create a json file which contains exact information how each file in the project is compiled. This file can be consumed by clangd, which in turn provides precise symbol information to IDEs for better code navigation and contextual information. I use it with vscode to be able to quickly switch between native Linux and mingw builds and have the symbols info change dynamically with it. So handy that I think it is useful for others as well. Bump required CMake version for CREATE_LINK. Change-Id: Ib14c1161b4b0c9df797b9932ad14739e202cea64 Signed-off-by: Heiko Hund <heiko@ist.eigentlich.net> Acked-by: Frank Lichtenheld <frank@lichtenheld.com> Message-Id: <20231220123659.55542-1-frank@lichtenheld.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27840.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index a1da366..4153a3e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,6 +40,7 @@ m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
+compile_commands.json
doc/openvpn-examples.5
doc/openvpn-examples.5.html
doc/openvpn.8