Skip to content

Commit 068f42a

Browse files
committed
Add some specifiers for build types to CMake lines
1 parent ed8a0fe commit 068f42a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

NOTES.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ optional third party components:
559559

560560
```
561561
geogram (RELEASE)$ mkdir build && cd build
562-
build (RELEASE)$ cmake .. -DGEOGRAM_LIB_ONLY=ON -DGEOGRAM_WITH_GRAPHICS=OFF -DGEOGRAM_WITH_LUA=OFF -DGEOGRAM_WITH_HLBFGS=OFF -DGEOGRAM_WITH_TETGEN=OFF -DGEOGRAM_WITH_TRIANGLE=OFF
562+
build (RELEASE)$ cmake .. -DGEOGRAM_LIB_ONLY=ON -DGEOGRAM_WITH_GRAPHICS=OFF -DGEOGRAM_WITH_LUA=OFF -DGEOGRAM_WITH_HLBFGS=OFF -DGEOGRAM_WITH_TETGEN=OFF -DGEOGRAM_WITH_TRIANGLE=OFF -DCMAKE_BUILD_TYPE=Release
563563
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
564564
Compatibility with CMake < 3.5 will be removed from a future version of
565565
CMake.
@@ -742,7 +742,7 @@ so we run make with the GEOGRAM_BLD target.
742742
```
743743
bext (main) $ cp -r ~/geogram geogram/
744744
bext (main) $ mkdir build && cd build
745-
build (main) $ cmake .. -DENABLE_ALL=ON
745+
build (main) $ cmake .. -DENABLE_ALL=ON -DCMAKE_BUILD_TYPE=Release
746746
build (main) $ make GEOGRAM_BLD
747747
[ 0%] Creating directories for 'PATCH_BLD'
748748
[ 0%] No download step for 'PATCH_BLD'

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mkdir bext_build && cd bext_build
1515
```
1616
* Configure with CMake. Individual components can be enabled or disabled, but the ENABLE_ALL flag is used to automatically turn on all the projects. There are also USE_* variables that can enable or disable various groupings of components based on which specific application stacks the user wishes to support.
1717
```sh
18-
cmake ../bext -DENABLE_ALL=ON
18+
cmake ../bext -DENABLE_ALL=ON -DCMAKE_BUILD_TYPE=Release
1919
```
2020
* Run the build process.
2121
```sh
@@ -61,7 +61,7 @@ cd .. && mkdir brlcad_exttest_build && cd brlcad_exttest_build
6161
```
6262
* Configure with CMake, specifying the path holding the bext output directory the BRLCAD_EXT_DIR variable to locate bext_output. Unless you have overridden the CMAKE_INSTALL_PREFIX of the bext build, it will be located in your home directory. The bext_output directory should in turn contain install and noinstall folders. If you also wish to test with Qt, you must currently enable that support in BRL-CAD as well. (Note that the BRL-CAD configure process is responsible for staging the BRLCAD_EXT_DIR contents into the build directory, so it can take some time to complete...)
6363
```sh
64-
cmake ../brlcad -DBRLCAD_EXT_DIR=<your_bext_install_dir>/bext_output -DBRLCAD_ENABLE_QT=ON
64+
cmake ../brlcad -DBRLCAD_EXT_DIR=<your_bext_install_dir>/bext_output -DBRLCAD_ENABLE_QT=ON -DCMAKE_BUILD_TYPE=Release
6565
```
6666
* Run the build process.
6767
```sh

0 commit comments

Comments
 (0)