-
-
Save moeryomenko/d488905d177ddf0f77eeee64f7fc30d3 to your computer and use it in GitHub Desktop.
cmake build command with export compile commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cmake -GNinja -H. -Bbuild -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER_LAUNCHER='/usr/bin/ccache' -DCMAKE_CXX_COMPILER_LAUNCHER='/usr/bin/ccache' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment