Project

General

Profile

Feature #12236

Produce for-build -cmake.config files in addition to at-install for all cetbuildtools products.

Added by Christopher Green over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
04/11/2016
Due date:
% Done:

100%

Estimated time:
Spent time:
Scope:
Internal
Experiment:
-
SSI Package:
cetbuildtools
Co-Assignees:
Duration:

Description

Based on information in the CMake documentation for configure_package_config_file (see the description of the INSTALL_PREFIX option), it would appear that it is feasible (and reasonable) to create a second -config.cmake file (e.g. at include(CetCMakeEnv) time) configured to do the right thing at build-time.

In combination with teaching MRB to construct its top-level CMakeLists.txt file to add_subdirectory in the right order, this should drastically simplify the special code required to configure a package for inclusion in a multi-package build, and render it consistent with the code required to do the same thing both for a single-package, non-MRB build and utilizing a pre-built external product (find_ups_package in all cases). It should also remove the need for explicit manipulation of the CMAKE_MODULE_PATH in all package-level CMakeLists.txt files.


Related issues

Related to cetbuildtools - Feature #11641: Use self-locating paths to cetbuildtools programsClosed02/05/2016

Blocked by mrb - Feature #12387: build orderAccepted04/22/2016

History

#1 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from New to Feedback

#2 Updated by Christopher Green over 3 years ago

I now believe I can have an implementation of this (or understand why it is not possible) within a day. A production implementation would have to wait on solving the MRB ordering problem.

#3 Updated by Christopher Green over 3 years ago

  • Related to Feature #11641: Use self-locating paths to cetbuildtools programs added

#4 Updated by Christopher Green over 3 years ago

  • Blocked by Feature #7314: Automatically generate, use dependency_list added

#5 Updated by Christopher Green over 3 years ago

  • Status changed from Feedback to Resolved
  • Assignee set to Christopher Green
  • % Done changed from 0 to 100
  • SSI Package cetbuildtools added
  • SSI Package deleted (-)

Implemented on branch cetbuildtools:for_v6. Note blocking issue #7314, currently preventing release.

#6 Updated by Lynn Garren over 3 years ago

#7 Updated by Lynn Garren over 3 years ago

  • Blocked by deleted (Feature #7314: Automatically generate, use dependency_list)


Also available in: Atom PDF