Skip to content
  • Christian Schulte zu Berge's avatar
    Updated and refactored CAMPVis module build system: CAMPVis module .cmake... · 689d5439
    Christian Schulte zu Berge authored
    Updated and refactored CAMPVis module build system: CAMPVis module .cmake files now define two additional Variables:
    * ThisModStatus defines the status of the module and should be one of STABLE, TESTING or EXPERIMENTAL
    * ThisModExternalDependencies defines, whether this module has further external dependencies that are not shipped
    
    The main CAMPVis build system now ships a new enumeration option CAMPVIS_DEFAULT_ENABLED_MODULES, which can be one of "NONE" "STABLE_NO_DEPENDENCIES" "STABLE_WITH_EXTERNAL_DEPENDENCIES" "TESTING" and "ALL". The INCLUDE_MODULE() function in the build scripts will evaluate the modules' status information and enable every module that matches the specified value.
    
    ATTENTION: Due to these changes in the build system, the modules' cmake files should put their setup block into an IF(ModuleEnabled) block, since the file is also parsed, when the module is not enabled (in order to gather the status information).
    
    closes #385
    689d5439