File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2319,7 +2319,7 @@ This will build the examples in the `build/examples` directory:
2319
2319
mkdir build
2320
2320
cd build
2321
2321
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=" -O2"
2322
- cmake --build . --config Release
2322
+ cmake --build . -j 2 - -config Release
2323
2323
```
2324
2324
2325
2325
On windows, replace ` -O2 ` with ` /O2 ` .
@@ -2332,7 +2332,7 @@ This will install Matplot++ on your system:
2332
2332
mkdir build
2333
2333
cd build
2334
2334
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=" -O2" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF
2335
- cmake --build . --config Release
2335
+ cmake --build . -j 2 - -config Release
2336
2336
cmake --install .
2337
2337
```
2338
2338
@@ -2346,13 +2346,15 @@ This will create the binary packages you can use to install Matplot++ on your sy
2346
2346
mkdir build
2347
2347
cd build
2348
2348
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=" -O2" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF
2349
- cmake --build . --config Release
2349
+ cmake --build . -j 2 - -config Release
2350
2350
cmake --install .
2351
2351
cpack .
2352
2352
```
2353
2353
2354
2354
On windows, replace ` -O2 ` with ` /O2 ` . You might need ` sudo ` for this last command.
2355
2355
2356
+
2357
+
2356
2358
### CMake targets
2357
2359
2358
2360
#### Find it as a CMake Package
You can’t perform that action at this time.
0 commit comments