FairMQ/fairmq/sdk
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
..
commands 17-ify namespaces 2021-01-25 13:46:40 +01:00
AsioAsyncOp.h 17-ify namespaces 2021-01-25 13:46:40 +01:00
AsioBase.h 17-ify namespaces 2021-01-25 13:46:40 +01:00
CMakeLists.txt cmake: Use target_compile_features() 2021-03-26 10:08:07 +01:00
DDSAgent.h 17-ify namespaces 2021-01-25 13:46:40 +01:00
DDSCollection.h 17-ify namespaces 2021-01-25 13:46:40 +01:00
DDSEnvironment.cxx 17-ify namespaces 2021-01-25 13:46:40 +01:00
DDSEnvironment.h 17-ify namespaces 2021-01-25 13:46:40 +01:00
DDSInfo.h.in 17-ify namespaces 2021-01-25 13:46:40 +01:00
DDSSession.cxx 17-ify namespaces 2021-01-25 13:46:40 +01:00
DDSSession.h 17-ify namespaces 2021-01-25 13:46:40 +01:00
DDSTask.h 17-ify namespaces 2021-01-25 13:46:40 +01:00
DDSTopology.cxx 17-ify namespaces 2021-01-25 13:46:40 +01:00
DDSTopology.h 17-ify namespaces 2021-01-25 13:46:40 +01:00
Error.cxx 17-ify namespaces 2021-01-25 13:46:40 +01:00
Error.h 17-ify namespaces 2021-01-25 13:46:40 +01:00
runDDSCommandUI.cxx Cleanup tools includes 2021-01-25 13:46:40 +01:00
runFairMQ.cxx SDK: Add sync ChangeState and add msg to its result 2019-07-24 10:41:08 +02:00
Topology.cxx 17-ify namespaces 2021-01-25 13:46:40 +01:00
Topology.h 17-ify namespaces 2021-01-25 13:46:40 +01:00
Traits.h 17-ify namespaces 2021-01-25 13:46:40 +01:00