legend-exp / legend-exp/legend-swdev-scripts
Set C++ standard version automatically
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 0
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Instead of using
cmd(f'{preconfigure}cmake -S MaGe/source -B MaGe/build -DCMAKE_CXX_STANDARD=14 -DCMAKE_INSTALL_PREFIX={install_path}')
we use get the C++ standard version ROOT was built with, e.g. via root-config --cflags | sed 's/.*std=c++\([0-9]\+\).*/\1/'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the script containing the shown cmake command and inspect how preconfigure and install_path are assembled. Start by checking the available root-config output, then update the command so the C++ standard comes from ROOT rather than a fixed value; done means the generated configuration uses the detected standard.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100