Feature #1101
openCMake should allow for specifying the installation paths individually
0%
Description
Currently, DCMTK's CMake build system allows for specifying a general installation path (CMAKE_INSTALL_PREFIX) that is prepended to all installation sub-paths, e.g. CMAKE_INSTALL_INCLUDEDIR, CMAKE_INSTALL_DATAROOTDIR and CMAKE_INSTALL_BINDIR. It is not possible to install the various components in different paths, e.g. binaries in "C:\Program Files\DCMTK\bin" and configuration files in "C:\Users\dicom\DCMTK\etc", because the respective CMake variables are not configurable (at least not on the user interface). However, this would e.g. also be useful to generalize the recently introduced CMake option "DCMTK_USE_WIN32_PROGRAMDATA".
Using GNU Autoconf (on non-Windows systems), this is already possible, because all installation paths can be specified individually (having reasonable defaults, of course).