Creates CMake project files for SCRAM projects.
cd
into a directory containing a SCRAM project (like cd ~/CERN/cmssw/
). Then run PATH/TO/REPO/scram2cmake.py
. Done!
Now you can generate compile_commands.json
or use a normal C++ IDE that supports CMake (CLion, Qtcreator, ...).
We only generate code for compiling all the packages of a SCRAM project (e.g. compiling FWCore/ParameterSet/src|bin|test
).
Things like copying data files around, running tests, generating dictionaries etc. are NOT supported at the moment.