diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-03-13 17:58:26 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-03-13 18:46:02 +0100 |
| commit | c18c39071a4dc0ace4fc5e23c61f3aa7ddd8c679 (patch) | |
| tree | 41c0ad66cdd7481888572af02a1d54d0f2890312 /src | |
| parent | 2d9cf4d83ec9824b978925fa6c9df8ace954d88b (diff) | |
CMake: improve setting C++ standard and configuration summary
CMake/fl_add_library.cmake: set target_compile_features(.. cxx_std_NN)
which is inherited by consumers of the library.
This prevents CMake user projects from failing if they would
otherwise compile with an older C++ standard.
CMake/fl_debug_var.cmake: add INTERFACE_COMPILE_FEATURES to fl_debug_target()
CMake/fl_summary.cmake: update summary format for longer variable names
CMakeLists.txt:
- check CMAKE_CXX_STANDARD given by the user (commandline)
and set C++ standard related CMake variables in the CMake cache.
The latter is experimental: setting in the cache may be reverted.
- add C++ standard related info to configure summary.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
