Project

General

Profile

Actions

Feature #391

closed

CMake build system

Added by Ole Hansen over 6 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06/28/2018
Due date:
% Done:

100%

Estimated time:
40.00 h
Responsible:

Description

We should replace our aging hand-written Makefiles with modern CMake scripts. CMake has become the de-facto build system standard in NP/HEP. It certainly offers more features and support than SCons. People expect CMake; asking them to install SCons is one more hurdle for them.

One very nice feature of SCons, however, is that it uses checksums to detect file changes, so that you can easily switch between git branches without forcing basically a complete rebuild. None of the currently supported CMake backends seem to support file hashes.

On the other hand, CMake supports/encourages out-of-source builds and has excellent support for file installation, which have their own clear advantages.

We'll label CMake "experimental" for now and see if it catches on.

Actions #1

Updated by Ole Hansen about 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

The CMake build system was implemented in July/August 2018 and refined over the next several months. It is the default build system for version 1.7, which has been released. Closing this old feature request.

Actions

Also available in: Atom PDF