Skip to content
Snippets Groups Projects
Commit 2a3c41ee authored by Jaime Arias's avatar Jaime Arias
Browse files

docs: update README

parent 30675c2f
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
# Ensure that or-tools library is built statically
set(BUILD_DEPS ON)
set(BUILD_SHARED_LIBS OFF)
# add compilation options
......
......@@ -60,17 +60,17 @@ Make sure to install the necessary dependencies before running the program:
The tool can be compiled as follows:
```sh
mkdir build && cd build
cmake -DBUILD_DEPS=ON ..
make
make install
mkdir build
cmake -S . -B build # configures the project
cmake --build build -- -j # builds the project using all available CPU cores
cmake --install build # installs the project: ./assets/optlp
```
## Run
Once installed, the binary `optlp` will be in the `src` folder.
Once installed, the binary `optlp` will be in the `assets` folder.
```sh
cd build/src/optlp
cd assets
./optlp
```
......
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