Merge branch 'master' of github.com:google/or-tools

This commit is contained in:
Laurent Perron
2021-07-23 21:59:46 +02:00
2 changed files with 18 additions and 3 deletions

9
.gitignore vendored
View File

@@ -59,10 +59,8 @@ tools/docker/export
# IDE stuff
CMakeLists.txt.user
*.userprefs
*build*/*
.idea/*
.idea/
build/
cache/
**/.vscode/*
.DS_Store
@@ -87,3 +85,10 @@ examples/contrib/obj
examples/dotnet/bin
examples/dotnet/obj
# cmake code gen (assumes -Bbuild)
.cmake/
CMakeCache.txt
CMakeFiles
DartConfiguration.tcl
*build*/*
build/

View File

@@ -100,7 +100,17 @@ test it on public CI and support can be broken.**
There are several options that can be passed to CMake to modify how the code is built.<br>
For all of these options and parameters you have to use `-D<Parameter_name>=<value>`.<br>
Following a list of available options, for the full list run:
For example, to generate build files including dependencies in a new subdirectory called 'build', run:
```sh
cmake -S. -Bbuild -DBUILD_DEPS:BOOL=ON
```
and then build with:
```sh
cmake --build build
```
Following is a list of available options, for the full list run:
```sh
cmake -S. -Bbuild -LH