cmake-basis / legacy

Legacy CMake BASIS project for versions 3.2 and older. For newer versions, go to
https://github.com/cmake-basis/BASIS
Other
13 stars 11 forks source link

Dependency on other module as "<PACKAGE>{<MODULE1>,<MODULE2>}" #520

Closed schuhschuh closed 8 years ago

schuhschuh commented 8 years ago

Dependencies on other modules are currently specified using the name of the other module alone. It should instead/alternatively be possible to specify the dependency as component of the top-level project / subproject package. For example,

basis_project(
  NAME "Numerics"
  PACKAGE "MIRTK"
  DEPENDS MIRK{Common}
)

instead of

basis_project(
  NAME "Numerics"
  PACKAGE "MIRTK"
  DEPENDS Common
)

assuming that the MIRTK project has two modules named Common and Numerics.

schuhschuh commented 8 years ago

Updating the documentation will be another major effort again... when there is time for it :-S.