forked from njoy/ENDFtk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
347 lines (319 loc) · 22 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
########################################################################
# Preamble
########################################################################
cmake_minimum_required( VERSION 3.14 )
set( subproject OFF )
if( DEFINED PROJECT_NAME )
set( subproject ON )
endif()
project( ENDFtk
VERSION 1.1.0
LANGUAGES CXX
)
include( CTest )
include( CMakeDependentOption )
include( GNUInstallDirs )
########################################################################
# Project-wide setup
########################################################################
set( CMAKE_CXX_STANDARD 17 )
set( CMAKE_CXX_STANDARD_REQUIRED YES )
cmake_dependent_option(
ENDFtk.tests
"Build the ENDFtk unit tests and integrate with ctest" ON
"BUILD_TESTING AND NOT ${subproject}" OFF
)
cmake_dependent_option(
ENDFtk.python
"Build ENDFtk python bindings" ON
"NOT ${subproject} OR DEFINED require.ENDFtk.python " OFF
)
########################################################################
# Dependencies
########################################################################
set( REPOSITORIES "release"
CACHE STRING
"Options for where to fetch repositories: develop, release, local"
)
message( STATUS "Using ${REPOSITORIES} repositories" )
if( REPOSITORIES STREQUAL "develop" )
include( cmake/develop_dependencies.cmake )
elseif( REPOSITORIES STREQUAL "release" )
include( cmake/release_dependencies.cmake )
elseif( REPOSITORIES STREQUAL "local" )
include( cmake/local_dependencies.cmake )
endif()
########################################################################
# Project targets
########################################################################
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# ENDFtk : library
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
add_library( ENDFtk INTERFACE )
add_library( njoy::ENDFtk ALIAS ENDFtk )
target_include_directories( ENDFtk
INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/src>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
target_link_libraries( ENDFtk
INTERFACE
njoy::tools
range-v3
)
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# ENDFtk : python bindings
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if( ENDFtk.python )
FetchContent_MakeAvailable( pybind11 )
pybind11_add_module( ENDFtk.python
${CMAKE_CURRENT_SOURCE_DIR}/python/src/ENDFtk.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/record/ControlRecord.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/record/ListRecord.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/record/TabulationRecord.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/record/InterpolationRecord.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/record/DirectoryRecord.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/record/TapeIdentification.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/CovariancePairs.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/SquareMatrix.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/RectangularMatrix.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/DerivedRedundant.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/DerivedRatioToStandard.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/ReactionBlock.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/covariance.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/TabulatedMultiplicity.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/PolynomialMultiplicity.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/451.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/452.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/455.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/455/DecayConstants.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/455/EnergyIndependentConstants.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/455/EnergyDependentConstants.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/456.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/458.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/458/EnergyReleaseComponent.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/458/ThermalPointComponents.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/458/PolynomialComponents.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/458/TabulatedComponents.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/460.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/460/DiscretePhotonMultiplicity.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/460/DiscretePhotons.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/1/460/ContinuousPhotons.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/Isotope.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/ScatteringRadius.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/ResonanceRange.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/SpecialCase.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/BreitWignerLValue.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/ReichMooreLValue.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/SingleLevelBreitWigner.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/MultiLevelBreitWigner.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/ReichMoore.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/ParticlePairs.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/ResonanceChannels.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/ResonanceParameters.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/NoBackgroundRMatrix.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/SammyBackgroundRMatrix.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/FrohnerBackgroundRMatrix.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/TabulatedBackgroundRMatrix.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/BackgroundChannels.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/SpinGroup.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/RMatrixLimited.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/UnresolvedEnergyDependentFissionWidthsJValue.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/UnresolvedEnergyDependentJValue.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/UnresolvedEnergyIndependentLValue.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/UnresolvedEnergyDependentFissionWidthsLValue.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/UnresolvedEnergyDependentLValue.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/UnresolvedEnergyDependent.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/UnresolvedEnergyDependentFissionWidths.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/151/UnresolvedEnergyIndependent.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/2/152.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/23.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/26.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/26/Multiplicity.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/26/EnergyTransfer.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/26/LAW1/LegendreCoefficients.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/26/LAW2/TabulatedDistribution.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/26/ContinuumEnergyAngle.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/26/DiscreteTwoBodyScattering.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/26/ReactionProduct.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/27.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/28/SubshellData.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/28.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/3.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/ScatteringRadiusCovariances.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/LimitedBreitWignerLValue.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/LimitedSingleLevelBreitWigner.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/LimitedMultiLevelBreitWigner.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/ShortRangeBreitWignerBlock.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/ShortRangeReichMooreBlock.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/ShortRangeRMatrixLimitedBlock.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/ReichMooreScatteringRadiusUncertainties.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/LCOMP1/ResonanceParameters.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/LCOMP1/CovarianceMatrix.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/GeneralSingleLevelBreitWigner.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/GeneralMultiLevelBreitWigner.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/GeneralReichMoore.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/GeneralRMatrixLimited.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/CompactCorrelationMatrix.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/CompactBreitWignerUncertainties.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/CompactReichMooreUncertainties.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/CompactSingleLevelBreitWigner.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/CompactMultiLevelBreitWigner.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/CompactReichMoore.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/LCOMP2/ParticlePairs.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/LCOMP2/ResonanceChannels.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/LCOMP2/ResonanceParameters.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/LCOMP2/SpinGroup.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/CompactRMatrixLimitedUncertainties.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/CompactRMatrixLimited.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/UnresolvedCovarianceMatrix.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/UnresolvedLValue.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/UnresolvedRelativeCovariances.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/ResonanceRange.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/32/151/Isotope.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/4.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/4/Isotropic.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/4/LegendreCoefficients.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/4/TabulatedDistribution.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/4/LegendreDistributions.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/4/TabulatedDistributions.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/4/MixedDistributions.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/Parameter.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/OutgoingEnergyDistribution.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/TabulatedSpectrum.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/DistributionFunction.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/EffectiveTemperature.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/GeneralEvaporationSpectrum.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/EvaporationSpectrum.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/MaxwellianFissionSpectrum.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/WattSpectrum.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/MadlandNixSpectrum.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/Probability.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/5/PartialDistribution.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/Multiplicity.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/DefinedElsewhere.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/Unknown.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LAW1/LegendreCoefficients.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LAW1/TabulatedDistribution.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LAW1/KalbachMann.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LAW1/ThermalScatteringData.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/ContinuumEnergyAngle.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LAW2/LegendreCoefficients.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LAW2/TabulatedDistribution.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/DiscreteTwoBodyScattering.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/IsotropicDiscreteEmission.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/DiscreteTwoBodyRecoils.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/ChargedParticleElasticScattering.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LAW5/LegendreCoefficients.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LAW5/NuclearAmplitudeExpansion.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LAW5/NuclearPlusInterference.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/NBodyPhaseSpace.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LAW7/EnergyDistribution.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LAW7/AngularDistribution.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/LaboratoryAngleEnergy.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/6/ReactionProduct.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/2.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/2/CoherentElastic.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/2/IncoherentElastic.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/2/MixedElastic.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/4.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/4/EffectiveTemperature.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/4/ScatteringLawConstants.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/4/AnalyticalFunctions.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/4/TabulatedFunctions.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/4/ScatteringFunction.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/451.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/7/451/ElementInformation.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/8/FissionYieldData.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/8/454.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/8/457.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/8/457/AverageDecayEnergies.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/8/457/DecayMode.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/8/457/DecayModes.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/8/457/DiscreteSpectrum.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/8/457/ContinuousSpectrum.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/8/457/DecaySpectrum.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/8/459.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/9.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/9/ReactionProduct.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/10.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/10/ReactionProduct.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/12.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/12/TotalMultiplicity.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/12/PartialMultiplicity.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/12/Multiplicities.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/12/TransitionProbabilities.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/13.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/13/TotalCrossSection.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/13/PartialCrossSection.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/14.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/14/IsotropicDiscretePhoton.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/14/LegendreCoefficients.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/14/TabulatedDistribution.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/14/LegendreDistributions.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/14/TabulatedDistributions.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/15.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/15/OutgoingEnergyDistribution.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/15/TabulatedSpectrum.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/15/Probability.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/15/PartialDistribution.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/31.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/33.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/34.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/34/LegendreBlock.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/34/ReactionBlock.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/35.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/35/SquareMatrix.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/40.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/section/40/LevelBlock.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/1.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/2.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/3.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/4.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/5.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/6.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/7.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/8.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/9.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/10.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/12.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/13.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/14.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/15.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/23.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/26.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/27.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/28.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/31.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/32.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/33.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/34.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/35.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/file/40.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/Material.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/tree/Section.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/tree/File.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/tree/Material.python.cpp
${CMAKE_CURRENT_SOURCE_DIR}/python/src/tree/Tape.python.cpp
)
target_link_libraries( ENDFtk.python PRIVATE ENDFtk )
target_include_directories( ENDFtk.python PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/python/src )
target_compile_options( ENDFtk.python PRIVATE -fvisibility=hidden )
set_target_properties( ENDFtk.python PROPERTIES OUTPUT_NAME ENDFtk )
set_target_properties( ENDFtk.python PROPERTIES COMPILE_DEFINITIONS "PYBIND11" )
set_target_properties( ENDFtk.python PROPERTIES POSITION_INDEPENDENT_CODE ON )
message( STATUS "Building ENDFtk's python API" )
list( APPEND ENDFtk_PYTHONPATH ${CMAKE_CURRENT_BINARY_DIR} )
if( ENDFtk.tests )
include( cmake/unit_testing_python.cmake )
endif()
endif()
if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
if( ENDFtk.tests )
include( cmake/unit_testing.cmake )
endif()
endif()