Actions
Feature #823
openEnhance compiler flag handling
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-04-11
Due date:
% Done:
0%
Estimated time:
Module:
CMake
Operating System:
Compiler:
Description
The current CMake setup "heuristically" determines compiler flags (e.g. CMAKE_CXX_FLAGS) based on several factors and potentially overwrites any user settings. Newer versions of CMake provide a better mechanism to do so and already ship with heuristics for various compilers, potentially better than the ones we provide with DCMTK: https://cmake.org/cmake/help/latest/manual/cmake-compile-features.7.html . DCMTK's CMake setup should be modified to use cmake_compile_features() et al., while ensuring that existing convenience functionality provided by the custom scripts keeps working.
Actions