Skip to content

Commit 92a4079

Browse files
authored
fix: cmake: not all examples options set general examples (#5183)
also sort the cmake examples options alphabetically. blocked: - #5094
1 parent 6ac5653 commit 92a4079

3 files changed

Lines changed: 14 additions & 8 deletions

File tree

CMakeLists.txt

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ option(ACTS_BUILD_EXAMPLES "Build basic examples components" OFF)
108108
option(ACTS_BUILD_EXAMPLES_DD4HEP "Build DD4hep-based code in the examples" OFF)
109109
option(ACTS_BUILD_EXAMPLES_EDM4HEP "Build EDM4hep-based code in the examples" OFF)
110110
option(ACTS_BUILD_EXAMPLES_FASTJET "Build FastJet plugin" OFF)
111-
option(ACTS_BUILD_EXAMPLES_PODIO "Build Podio-based code in the examples" OFF)
112-
option(ACTS_BUILD_EXAMPLES_GNN "Build the GNN example code" OFF)
113111
option(ACTS_BUILD_EXAMPLES_GEANT4 "Build Geant4-based code in the examples" OFF)
112+
option(ACTS_BUILD_EXAMPLES_GNN "Build the GNN example code" OFF)
114113
option(ACTS_BUILD_EXAMPLES_HASHING "Build Hashing-based code in the examples" OFF)
114+
option(ACTS_BUILD_EXAMPLES_PODIO "Build Podio-based code in the examples" OFF)
115115
option(ACTS_BUILD_EXAMPLES_PYTHIA8 "Build Pythia8-based code in the examples" OFF)
116116
option(ACTS_BUILD_EXAMPLES_PYTHON_BINDINGS "[Deprecated] Build python bindings and enables the examples" OFF)
117117
option(ACTS_BUILD_EXAMPLES_ROOT "Build modules based on ROOT I/O" OFF)
@@ -161,15 +161,21 @@ set_option_if(
161161
OR
162162
ACTS_BUILD_EXAMPLES_EDM4HEP
163163
OR
164+
ACTS_BUILD_EXAMPLES_FASTJET
165+
OR
164166
ACTS_BUILD_EXAMPLES_GEANT4
165167
OR
168+
ACTS_BUILD_EXAMPLES_GNN
169+
OR
166170
ACTS_BUILD_EXAMPLES_HASHING
167171
OR
168-
ACTS_BUILD_EXAMPLES_PYTHIA8
172+
ACTS_BUILD_EXAMPLES_PODIO
169173
OR
170-
ACTS_BUILD_EXAMPLES_GNN
174+
ACTS_BUILD_EXAMPLES_PYTHIA8
171175
OR
172176
ACTS_BUILD_EXAMPLES_PYTHON_BINDINGS
177+
OR
178+
ACTS_BUILD_EXAMPLES_ROOT
173179
)
174180
# core plugins might be required by examples or depend on each other
175181
set_option_if(

docs/old/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,11 @@ components.
300300
| ACTS_BUILD_ALIGNMENT | Build Alignment package<br> type: `bool`, default: `OFF` |
301301
| ACTS_BUILD_EXAMPLES_DD4HEP | Build DD4hep-based code in the examples<br> type: `bool`, default: `OFF` |
302302
| ACTS_BUILD_EXAMPLES_EDM4HEP | Build EDM4hep-based code in the examples<br> type: `bool`, default: `OFF` |
303-
| ACTS_BUILD_EXAMPLES_PODIO | Build Podio-based code in the examples<br> type: `bool`, default: `OFF` |
304303
| ACTS_BUILD_EXAMPLES_FASTJET | Build FastJet-based code in the examples<br> type: `bool`, default: `OFF` |
305-
| ACTS_BUILD_EXAMPLES_GNN | Build the GNN example code<br> type: `bool`, default: `OFF` |
306304
| ACTS_BUILD_EXAMPLES_GEANT4 | Build Geant4-based code in the examples<br> type: `bool`, default: `OFF` |
305+
| ACTS_BUILD_EXAMPLES_GNN | Build the GNN example code<br> type: `bool`, default: `OFF` |
307306
| ACTS_BUILD_EXAMPLES_HASHING | Build Hashing-based code in the examples<br> type: `bool`, default: `OFF` |
307+
| ACTS_BUILD_EXAMPLES_PODIO | Build Podio-based code in the examples<br> type: `bool`, default: `OFF` |
308308
| ACTS_BUILD_EXAMPLES_PYTHIA8 | Build Pythia8-based code in the examples<br> type: `bool`, default: `OFF` |
309309
| ACTS_BUILD_EXAMPLES_PYTHON_BINDINGS | Build python bindings for the examples<br> type: `bool`, default: `OFF` |
310310
| ACTS_BUILD_EXAMPLES_ROOT | Build modules based on ROOT I/O<br> type: `bool`, default: `OFF` |

docs/pages/contributing/building_acts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,10 @@ components.
295295
| ACTS_BUILD_EXAMPLES_DD4HEP | Build DD4hep-based code in the examples<br> type: `bool`, default: `OFF` |
296296
| ACTS_BUILD_EXAMPLES_EDM4HEP | Build EDM4hep-based code in the examples<br> type: `bool`, default: `OFF` |
297297
| ACTS_BUILD_EXAMPLES_FASTJET | Build FastJet plugin<br> type: `bool`, default: `OFF` |
298-
| ACTS_BUILD_EXAMPLES_PODIO | Build Podio-based code in the examples<br> type: `bool`, default: `OFF` |
299-
| ACTS_BUILD_EXAMPLES_GNN | Build the GNN example code<br> type: `bool`, default: `OFF` |
300298
| ACTS_BUILD_EXAMPLES_GEANT4 | Build Geant4-based code in the examples<br> type: `bool`, default: `OFF` |
299+
| ACTS_BUILD_EXAMPLES_GNN | Build the GNN example code<br> type: `bool`, default: `OFF` |
301300
| ACTS_BUILD_EXAMPLES_HASHING | Build Hashing-based code in the examples<br> type: `bool`, default: `OFF` |
301+
| ACTS_BUILD_EXAMPLES_PODIO | Build Podio-based code in the examples<br> type: `bool`, default: `OFF` |
302302
| ACTS_BUILD_EXAMPLES_PYTHIA8 | Build Pythia8-based code in the examples<br> type: `bool`, default: `OFF` |
303303
| ACTS_BUILD_EXAMPLES_PYTHON_BINDINGS | [Deprecated] Build python bindings and<br>enables the examples<br> type: `bool`, default: `OFF` |
304304
| ACTS_BUILD_EXAMPLES_ROOT | Build modules based on ROOT I/O<br> type: `bool`, default: `OFF` |

0 commit comments

Comments
 (0)