|
1 | | -.. _cmakepresets: |
| 1 | +.. _developer_cmake: |
2 | 2 |
|
3 | | -CMake presets |
4 | | --------------- |
| 3 | +CMake |
| 4 | +----- |
5 | 5 |
|
6 | 6 | CMake presets are |FOURC|'s recommended way to configure and manage different configurations of |FOURC|. |
7 | 7 | This small article will go through a few of them. The experts should also read the |
@@ -70,14 +70,25 @@ Don't be overwhelmed by the options you could potentially set. |
70 | 70 | optimizes the build setup for iterative development cycles. |
71 | 71 | - We try to detect reasonable defaults for you internally. |
72 | 72 |
|
| 73 | +Reference of all CMake variables |
| 74 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 75 | + |
73 | 76 | Over time you might realize that you want to turn on additional dependencies or features. |
74 | | -To see which other options you can set, consult the console output of CMake or run `ccmake .` in the build folder. |
75 | | -Alternatively, all options are also printed with their ``ON`` or ``OFF`` state whenever ``cmake`` runs. |
| 77 | +To see which other options you can set, consult the console output of CMake or run ``ccmake .`` in the build folder. |
| 78 | +Alternatively, many options are also printed with their ``ON`` or ``OFF`` state whenever ``cmake`` runs. |
76 | 79 |
|
77 | | -**Remark:** Variables either start with the prefix `FOUR_C_` indicating that this variable only affects |FOURC| itself, |
78 | | -or they start with `CMAKE_` indicating that the variable (potentially) affects all dependent projects in a way |
| 80 | +**Remark:** Variables either start with the prefix ``FOUR_C_`` indicating that this variable only affects |FOURC| itself, |
| 81 | +or they start with ``CMAKE_`` indicating that the variable (potentially) affects all dependent projects in a way |
79 | 82 | specified directly in the CMake documentation. |
80 | 83 |
|
| 84 | +This is a list of all variables that are available to configure |FOURC|: |
| 85 | + |
| 86 | +.. csv-table:: |
| 87 | + :file: /4C-cmake-variables.csv |
| 88 | + :header-rows: 1 |
| 89 | + :widths: 20, 20, 60 |
| 90 | + |
| 91 | + |
81 | 92 | Configuration from the IDE |
82 | 93 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
83 | 94 |
|
|
0 commit comments