Skip to content
Snippets Groups Projects
Verified Commit abd935b1 authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] Removed option OGS_ADDITIONAL_SUBMODULES_TO_CHECKOUT.

parent 87f4658c
No related branches found
No related tags found
No related merge requests found
...@@ -3,16 +3,10 @@ if(NOT IS_GIT_REPO) ...@@ -3,16 +3,10 @@ if(NOT IS_GIT_REPO)
endif() endif()
# This file initializes the required submodules # This file initializes the required submodules
set(OGS_ADDITIONAL_SUBMODULES_TO_CHECKOUT "" CACHE STRING
"User given submodules which should be checked out by CMake.")
if(NOT OGS_ADDITIONAL_SUBMODULES_TO_CHECKOUT)
set(OGS_ADDITIONAL_SUBMODULES_TO_CHECKOUT "")
endif()
set(REQUIRED_SUBMODULES set(REQUIRED_SUBMODULES
ThirdParty/cmake-modules ThirdParty/cmake-modules
ThirdParty/iphreeqc/src ThirdParty/iphreeqc/src
ThirdParty/json-cmake ThirdParty/json-cmake
${OGS_ADDITIONAL_SUBMODULES_TO_CHECKOUT}
) )
if(OGS_USE_XDMF) if(OGS_USE_XDMF)
list(APPEND REQUIRED_SUBMODULES ThirdParty/xdmf) list(APPEND REQUIRED_SUBMODULES ThirdParty/xdmf)
......
...@@ -43,7 +43,6 @@ CMake switches to enable / disable parts of OGS. ...@@ -43,7 +43,6 @@ CMake switches to enable / disable parts of OGS.
### Advanced options ### Advanced options
- `OGS_CXX_FLAGS` - Appends user-given compiler flags. Note that existing (CMake-given) flags are not replaced. - `OGS_CXX_FLAGS` - Appends user-given compiler flags. Note that existing (CMake-given) flags are not replaced.
- `OGS_ADDITIONAL_SUBMODULES_TO_CHECKOUT` - Specifies optional submodules which are checked out at CMake-time.
- `OGS_PACKAGE_ADDITIONAL_BINARIES` - Package additional binaries (given as a `;`-separated list with relative paths to `CMAKE_BINARY_DIR`) into redistributables. Is used for bundling the OGS File Converter with the Data Explorer. - `OGS_PACKAGE_ADDITIONAL_BINARIES` - Package additional binaries (given as a `;`-separated list with relative paths to `CMAKE_BINARY_DIR`) into redistributables. Is used for bundling the OGS File Converter with the Data Explorer.
- `OGS_USE_OPTIONAL_SUBMODULES` - Includes optional submodules into the build. The submodules have to be checked out before. Defaults to ON. - `OGS_USE_OPTIONAL_SUBMODULES` - Includes optional submodules into the build. The submodules have to be checked out before. Defaults to ON.
- `OGS_CPU_ARCHITECTURE` - Optimizes for the given CPU architecture see [-march](https://gcc.gnu.org/onlinedocs/gcc-4.5.3/gcc/i386-and-x86_002d64-Options.html)-flag. Defaults to `native`. For redistributable binaries set to `generic` on Linux and `core2` on Mac OS. - `OGS_CPU_ARCHITECTURE` - Optimizes for the given CPU architecture see [-march](https://gcc.gnu.org/onlinedocs/gcc-4.5.3/gcc/i386-and-x86_002d64-Options.html)-flag. Defaults to `native`. For redistributable binaries set to `generic` on Linux and `core2` on Mac OS.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment