From: Samir Benmendil Date: Sun, 17 Jan 2021 22:45:09 +0000 (+0000) Subject: zsh: set env variable to export compile commands with cmake X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/1729772ace15f6bfa17bb6c7394d9636ae2a22bf zsh: set env variable to export compile commands with cmake --- diff --git a/zshenv b/zshenv index 2a9f2b0..09f86c5 100644 --- a/zshenv +++ b/zshenv @@ -61,6 +61,8 @@ case "$OSTYPE" in *) echo "Unknown OSTYPE: '$OSTYPE'" esac +# cmake +export CMAKE_EXPORT_COMPILE_COMMANDS=1 export CTEST_OUTPUT_ON_FAILURE=1 export WORKSPACE=~/src/fpp/