Files
FairMQ/fairmq
Christian Tacke cf12379afa cmake: Use target_compile_features()
Problem at hand: dependents (like FairRoot) need to know the
minimum C++ standard level that FairMQ (and its headers)
requires.

The first idea is to let the targets export their
CXX_STANDARD value. First, this doesn't seem to work as
expected.

Second, target_compile_features() seems to be the better
way to go. It has a much better granularity, automatically
has the export feature, and thus should make dependents
behave correctly.

Also drop all of this enforeced CMAKE_CXX_STANDARD*
setting. If it's given, check it. But that's it.

See: https://gitlab.kitware.com/cmake/cmake/-/issues/18446
See: https://cmake.org/cmake/help/latest/manual/cmake-compile-features.7.html#requiring-language-standards
2021-03-26 10:08:07 +01:00
..
2021-03-26 10:06:10 +01:00
2021-01-25 13:46:40 +01:00
2019-07-10 19:35:18 +02:00
2021-03-26 10:08:07 +01:00
2021-01-25 13:46:40 +01:00
2021-03-26 10:06:10 +01:00
2021-03-26 10:06:10 +01:00
2021-01-25 13:46:40 +01:00
2018-04-15 18:04:52 +02:00
2019-02-25 12:19:50 +01:00
2021-01-25 13:46:40 +01:00
2019-02-25 12:19:50 +01:00
2019-02-25 12:19:50 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2020-01-06 20:20:18 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2019-07-10 19:35:18 +02:00
2021-03-26 10:06:10 +01:00
2019-07-10 19:35:18 +02:00
2019-09-04 21:17:35 +02:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2019-07-23 16:08:15 +02:00
2021-03-01 08:37:57 +01:00