HomeHEPForge
Diffusion laura 9172456ac117

Allow increase of C++ standard via environment variable

Description

Allow increase of C++ standard via environment variable

Summary:
Tweak to CMake configuration to allow the version of the C++ standard to be
modified via the environment variable CMAKE_CXX_STANDARD.
The implementation only allows the change if the specified standard is newer
than our default, currently C++17.

Test Plan:
Configured the project with the environment variable set to 14 and 20 and
obtained the expected behaviour: no change, standard bumped to C++20.

Reviewers: jback

Reviewed By: jback

Tags: Laura

Differential Revision: https://phab.hepforge.org/D105

Details

Provenance
tlathamAuthored on Nov 20 2023, 3:28 PM
tlathamPushed on Nov 22 2023, 1:43 PM
Reviewer
jback
Differential Revision
D105: Allow increase of C++ standard via environment variable
Parents
rLAURA67c88df3b45a: Add functions to fit models to return DP likelihood(s) and signal DP amplitudes
Branches
Unknown
Tags
Unknown