Project

General

Profile

Actions

Feature #823

open

Enhance compiler flag handling

Added by Jan Schlamelcher over 7 years ago.

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.


Related issues 1 (0 open1 closed)

Related to DCMTK - Feature #824: Add C++11 support for more compilersClosed2018-04-11

Actions
Actions #1

Updated by Jan Schlamelcher over 7 years ago

  • Related to Feature #824: Add C++11 support for more compilers added
Actions

Also available in: Atom PDF