Project

General

Profile

Actions

Feature #1101

open

CMake should allow for specifying the installation paths individually

Added by Jörg Riesmeier over 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
Start date:
2024-01-12
Due date:
% Done:

0%

Estimated time:
Module:
CMake
Operating System:
Compiler:

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).

Actions

Also available in: Atom PDF