[cmake] Refactored (and fixed) processes setup logic.
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!
Showing
- .gitlab-ci.yml 2 additions, 2 deletions.gitlab-ci.yml
- Applications/ApplicationsLib/CMakeLists.txt 8 additions, 15 deletionsApplications/ApplicationsLib/CMakeLists.txt
- ProcessLib/CMakeLists.txt 4 additions, 8 deletionsProcessLib/CMakeLists.txt
- scripts/cmake/ProcessesSetup.cmake 28 additions, 25 deletionsscripts/cmake/ProcessesSetup.cmake
Please register or sign in to comment