Problem 1199 - Specification of header paths and link libraries in sources.cmake is too complex
Summary: Specification of header paths and link libraries in sources.cmake is too complex
Status: RESOLVED LATER
Alias: None
Product: Geant4
Classification: Unclassified
Component: cmake (show other problems)
Version: 9.4
Hardware: All All
: P3 normal
Assignee: Ben Morgan
URL:
Depends on: 1198
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-21 16:08 CEST by Ben Morgan
Modified: 2011-10-11 13:08 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Ben Morgan 2011-04-21 16:08:34 CEST
If a Geant4 module/library requires other Geant4 or external headers/libraries, the developer has to write both the include_directories(...) command correctly, and add the correct libraries in the arguments to GEANT4_DEFINE_MODULE(...) macro. This makes life difficult for the developer and can lead to inconsistent or failing builds.
Comment 1 Ben Morgan 2011-04-21 16:11:22 CEST
The CMake system for Gaudi by Pere Mato provides a potential solution for this via the GAUDI_USE_PACKAGE macro - this will be investigated.
Comment 2 Ben Morgan 2011-10-11 13:08:39 CEST
This will be addressed following the 9.5 release, so postponed until 2012.

Marking as linked to Bug #1199 as both address the issue of the API used by developers to integrate their code into the Geant4 CMake system.

Marking as LATER simply so that status is clear - it will be addressed on the given timescale!