Project

General

Profile

Feature #13394

ROOT build with CMake?

Added by Ben Morgan about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/02/2016
Due date:
% Done:

100%

Estimated time:
16.00 h
Spent time:
Co-Assignees:
Duration:

Description

The current UPS product for ROOT is built with the ./configure script which means the CMake support files for find_package (ROOTConfig.cmake etc) are not installed. There is a build_root_with_cmake.sh script in the root-ssi-build directory, so is there a timescale for this to be rolled out?

The use case is for CMake-based projects to be able to use

find_package(ROOT)

with better support for components and imported targets than provided by the supplied FindROOT.cmake module. However, if the cmake build of ROOT is a way off, a good workaround in the meantime would be for the UPS table file for the ROOT product to append the path containing the FindROOT module ($ROOTSYS/etc/cmake) to the CMAKE_MODULE_PATH environment variable. It would then be picked up automatically by client projects but could still be overridden if required by a local version of FindROOT.

History

#1 Updated by Kyle Knoepfel about 3 years ago

  • Status changed from New to Accepted

We will verify that the CMake build of ROOT works on all supported platforms, and if so, we will switch to using CMake with our next build of ROOT6.

#2 Updated by Kyle Knoepfel about 3 years ago

  • Status changed from Accepted to Assigned
  • Assignee set to Lynn Garren
  • Estimated time set to 16.00 h

#3 Updated by Lynn Garren about 3 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

With root v6_06_08, cmake is used to build root. This release of root is used by art v2_04_00 and later.

#4 Updated by Lynn Garren almost 3 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF