Skip to content
Snippets Groups Projects
Forked from ogs / ogs
Loading
  • Lars Bilke's avatar
    738086e3
    [cmake] Refactored (and fixed) processes setup logic. · 738086e3
    Lars Bilke authored and Dmitri Naumov's avatar Dmitri Naumov committed
    Before:
    
    One could use the CMake variables `OGS_BUILD_PROCESSES` or
    `OGS_BUILD_PROCESS_XYZ` but behavior was not consistent when switching
    back and forth and using both methods. Also building multiple
    processes via `OGS_BUILD_PROCESSES` was broken.
    
    Changed:
    
    - Removed `OGS_BUILD_PROCESS_XYZ` options.
    - Use `OGS_BUILD_PROCESSES` with the following values:
      - ON  -> All processes are built.
      - OFF -> Disable all processes.
      - Select a single process by name, e.g. `TH2M`.
      - Give a ;-separated list of processes, e.g. '"THM;TH2M"'
    - `OGS_BUILD_PROCESSES` can be set via ccmake or cmake-gui with a
      convenient dropdown, although setting multiple processes can only be
      done via the cli!
    738086e3
    History
    [cmake] Refactored (and fixed) processes setup logic.
    Lars Bilke authored and Dmitri Naumov's avatar Dmitri Naumov committed
    Before:
    
    One could use the CMake variables `OGS_BUILD_PROCESSES` or
    `OGS_BUILD_PROCESS_XYZ` but behavior was not consistent when switching
    back and forth and using both methods. Also building multiple
    processes via `OGS_BUILD_PROCESSES` was broken.
    
    Changed:
    
    - Removed `OGS_BUILD_PROCESS_XYZ` options.
    - Use `OGS_BUILD_PROCESSES` with the following values:
      - ON  -> All processes are built.
      - OFF -> Disable all processes.
      - Select a single process by name, e.g. `TH2M`.
      - Give a ;-separated list of processes, e.g. '"THM;TH2M"'
    - `OGS_BUILD_PROCESSES` can be set via ccmake or cmake-gui with a
      convenient dropdown, although setting multiple processes can only be
      done via the cli!
Code owners