From 691034bb0b57d3973e752d5751ed43d6aa7200f4 Mon Sep 17 00:00:00 2001 From: Mizux Seiha Date: Wed, 6 Oct 2021 21:11:35 +0200 Subject: [PATCH] cmake: Fix internal doc --- cmake/README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/cmake/README.md b/cmake/README.md index 2e51c8ad19..bfb4124e7a 100644 --- a/cmake/README.md +++ b/cmake/README.md @@ -118,10 +118,18 @@ cmake -S. -Bbuild -LH | CMake Option | Default Value | Note | |-|-|-| +| `CMAKE_BUILD_TYPE` | Release | see CMake documentation [here](https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html) | +| `BUILD_CXX` | ON | Build C++ | +| `BUILD_PYTHON` | OFF | Build Python wrapper and package | +| `BUILD_JAVA` | OFF | Build Java wrapper and packages | +| `BUILD_DOTNET` | OFF | Build .Net wrapper and packages | +| `BUILD_FLATZINC` | ON\* | Build the flatzinc library
**Forced** to OFF if `BUILD_CXX=OFF` | +| `BUILD_GLOP` | OFF\* | Build the standalone Glop library
**Forced** to OFF if `BUILD_CXX=ON`, otherwise default to ON | +| | | | | `BUILD_DEPS` | OFF* | Default to ON if `BUILD_JAVA=ON` or `BUILD_PYTHON=ON` or `BUILD_DOTNET=ON` | -| `BUILD_ZLIB` | OFF* | Static build the zlib library
**Forced** to ON if `BUILD_JAVA=ON` or `BUILD_PYTHON=ON` or `BUILD_DOTNET=ON` | -| `BUILD_absl` | OFF* | Static build the abseil-cpp libraries
**Forced** to ON if `BUILD_JAVA=ON` or `BUILD_PYTHON=ON` or `BUILD_DOTNET=ON` | -| `BUILD_Protobuf` | OFF* | Static build the protobuf libraries
**Forced** to ON if `BUILD_JAVA=ON` or `BUILD_PYTHON=ON` or `BUILD_DOTNET=ON` | +| `BUILD_ZLIB` | OFF* | Static build the zlib library
**Forced** to ON if `BUILD_DEPS=ON` | +| `BUILD_absl` | OFF* | Static build the abseil-cpp libraries
**Forced** to ON if `BUILD_DEPS=ON` | +| `BUILD_Protobuf` | OFF* | Static build the protobuf libraries
**Forced** to ON if `BUILD_DEPS=ON` | | `USE_SCIP` | ON\* | Enable SCIP support
**Forced** to OFF if `BUILD_CXX=OFF` | | `BUILD_SCIP` | OFF\* | Static build the SCIP libraries
**Forced** to ON if `USE_SCIP=ON` **and** `BUILD_DEPS=ON` | | `USE_COINOR` | ON\* | Enable Coin-OR support
**Forced** to OFF if `BUILD_CXX=OFF` | @@ -133,14 +141,6 @@ cmake -S. -Bbuild -LH | `USE_CPLEX` | OFF | Enable CPLEX support | | `USE_XPRESS` | OFF | Enable XPRESS support | | | | | -| `CMAKE_BUILD_TYPE` | Release | see CMake documentation [here](https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html) | -| `BUILD_CXX` | ON | Build C++ | -| `BUILD_PYTHON` | OFF | Build Python wrapper and package | -| `BUILD_JAVA` | OFF | Build Java wrapper and packages | -| `BUILD_DOTNET` | OFF | Build .Net wrapper and packages | -| `BUILD_FLATZINC` | ON\* | Build the flatzinc library
**Forced** to OFF if `BUILD_CXX=OFF` | -| `BUILD_GLOP` | OFF\* | Build the standalone Glop library
**Forced** to OFF if `BUILD_CXX=ON`, otherwise default to ON | -| | | | | `BUILD_SAMPLES` | OFF\* | Build all samples
Default to ON if `BUILD_DEPS=ON` | | `BUILD_CXX_SAMPLES` | ON\* | Build all C++ samples
**Forced** to OFF if `BUILD_CXX=OFF` or `BUILD_SAMPLE=OFF` | | `BUILD_PYTHON_SAMPLES` | ON\* | Build all Python samples
**Forced** to OFF if `BUILD_PYTHON=OFF` or `BUILD_SAMPLE=OFF` |