Commit 9872d66d authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Instruct cmake to generate compile_commands.json

The file can be used by additional or custom tooling to run after the
parent c9752fc6
Pipeline #22058 skipped with stage
......@@ -66,6 +66,8 @@ class CMake(object):
# And we want to be installed in a given directory
cmakeCommand.append('-DCMAKE_INSTALL_PREFIX="' + installPrefix + '"')
# Generate compile_commands.json for tooling
# Are we on LInux?
if sys.platform == 'linux' and not 'ANDROID_NDK' in buildEnvironment:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment