Skip to content

Commit 1e9996d

Browse files
committed
Update Docs
1 parent d766122 commit 1e9996d

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

docs/integration/build-from-source/build-the-examples.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ This will build the examples in the `build/examples` directory:
1515
mkdir build
1616
cd build
1717
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O2"
18-
cmake --build . -j 2 --config Release
18+
cmake --build . --parallel 2 --config Release
1919
```
2020

21-
On windows, replace `-O2` with `/O2`.
21+
* Replace `--parallel 2` with `--parallel <number of cores in your machine>`
22+
* On Windows, replace `-O2` with `/O2`
23+
* On Linux, you might need `sudo` for this last command
2224

2325

2426

docs/integration/build-from-source/building-the-packages.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ This will create the binary packages you can use to install Matplot++ on your sy
1515
mkdir build
1616
cd build
1717
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O2" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF
18-
cmake --build . -j 2 --config Release
18+
cmake --build . --parallel 2 --config Release
1919
cmake --install .
2020
cpack .
2121
```
2222

23-
On windows, replace `-O2` with `/O2`. You might need `sudo` for this last command.
24-
25-
23+
* Replace `--parallel 2` with `--parallel <number of cores in your machine>`
24+
* On Windows, replace `-O2` with `/O2`
25+
* On Linux, you might need `sudo` for this last command
2626

2727

2828

docs/integration/build-from-source/installing-matplot-from-source.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ This will install Matplot++ on your system:
1515
mkdir build
1616
cd build
1717
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O2" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF
18-
cmake --build . -j 2 --config Release
18+
cmake --build . --parallel 2 --config Release
1919
cmake --install .
2020
```
2121

22-
On windows, replace `-O2` with `/O2`. You might need `sudo` for this last command.
22+
* Replace `--parallel 2` with `--parallel <number of cores in your machine>`
23+
* On Windows, replace `-O2` with `/O2`
24+
* On Linux, you might need `sudo` for this last command
2325

2426

2527

0 commit comments

Comments
 (0)