Skip to content

Commit

Permalink
Merge pull request #94 from rlcee/ct_231202
Browse files Browse the repository at this point in the history
change name of compilation_db
  • Loading branch information
rlcee authored Dec 3, 2023
2 parents 918e914 + fba3d8b commit 1223f1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ env = Environment( CPPPATH = sch.cppPath(mu2eOpts), # $ART_INC ...
# compilation_db, starting in version 4
if mu2eCBD and mu2eOpts['sconsv'][0]>='4':
cstr = "Wrote "+mu2eOpts['workDir']+'/'+mu2eOpts['buildBase'] \
+"/compilation_db.json"
+"/compile_commands.json"
env.Tool('compilation_db', COMPILATIONDB_COMSTR=cstr)
env['COMPILATIONDB_PATH_FILTER'] = mu2eOpts['buildBase']+'/*'
env.CompilationDatabase(mu2eOpts['buildBase']+'/compilation_db.json')
env.CompilationDatabase(mu2eOpts['buildBase']+'/compile_commands.json')


# Only re-compute an MD5 hash for a build target if the timestamp changed.
Expand Down

0 comments on commit 1223f1e

Please sign in to comment.