/scram2cmake

Creates CMake files for SCRAM projects.

Primary LanguagePythonApache License 2.0Apache-2.0

scram2cmake

Creates CMake project files for SCRAM projects.

Usage

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, ...).

Limitations

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.