|
@@ -183,7 +183,7 @@ last few lines of the top-level ``CMakeLists.txt`` file should now look like:
|
|
|
)
|
|
|
|
|
|
Now let us make the MathFunctions library optional. While for the tutorial
|
|
|
-there really isn’t any need to do so, for larger projects this is a common
|
|
|
+there really isn't any need to do so, for larger projects this is a common
|
|
|
occurrence. The first step is to add an option to the top-level
|
|
|
``CMakeLists.txt`` file.
|
|
|
|
|
@@ -918,8 +918,8 @@ subbdirectories. The layout will look like:
|
|
|
.. code-block:: none
|
|
|
|
|
|
- Step12
|
|
|
- └── debug
|
|
|
- └── release
|
|
|
+ - debug
|
|
|
+ - release
|
|
|
|
|
|
Now we need to setup debug and release builds. We can use
|
|
|
:variable:`CMAKE_BUILD_TYPE` to set the configuration type:
|