CMakeLists.txt 22.7 KB
Newer Older
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
set(SRC_FILES
    src/AppendGeometryToSNSNexus.cpp
    src/AsciiPointBase.cpp
    src/BankPulseTimes.cpp
    src/CheckMantidVersion.cpp
    src/CompressEvents.cpp
    src/CreateChunkingFromInstrument.cpp
    src/CreatePolarizationEfficiencies.cpp
    src/CreatePolarizationEfficienciesBase.cpp
    src/CreateSampleShape.cpp
    src/CreateSimulationWorkspace.cpp
    src/DataBlock.cpp
    src/DataBlockComposite.cpp
    src/DataBlockGenerator.cpp
    src/DefaultEventLoader.cpp
    src/DefineGaugeVolume.cpp
    src/DeleteTableRows.cpp
    src/DetermineChunking.cpp
    src/DownloadFile.cpp
    src/DownloadInstrument.cpp
    src/EventWorkspaceCollection.cpp
    src/ExtractMonitorWorkspace.cpp
    src/ExtractPolarizationEfficiencies.cpp
    src/FilterEventsByLogValuePreNexus.cpp
    src/FindDetectorsInShape.cpp
    src/FindDetectorsPar.cpp
    src/GenerateGroupingPowder.cpp
    src/GroupDetectors.cpp
    src/GroupDetectors2.cpp
    src/H5Util.cpp
    src/ISISDataArchive.cpp
32
    src/ISISJournal.cpp
33
    src/ISISJournalGetExperimentRuns.cpp
34
35
36
37
38
39
40
41
42
43
44
45
46
    src/ISISRunLogs.cpp
    src/JoinISISPolarizationEfficiencies.cpp
    src/Load.cpp
    src/LoadANSTOHelper.cpp
    src/LoadAscii.cpp
    src/LoadAscii2.cpp
    src/LoadAsciiStl.cpp
    src/LoadBBY.cpp
    src/LoadBankFromDiskTask.cpp
    src/LoadBinaryStl.cpp
    src/LoadCalFile.cpp
    src/LoadCanSAS1D.cpp
    src/LoadCanSAS1D2.cpp
durong24's avatar
durong24 committed
47
    src/LoadCSNSNexus.cpp
48
49
50
51
52
53
    src/LoadDaveGrp.cpp
    src/LoadDetectorInfo.cpp
    src/LoadDetectorsGroupingFile.cpp
    src/LoadDiffCal.cpp
    src/LoadDspacemap.cpp
    src/LoadEMU.cpp
54
    src/LoadEmptyInstrument.cpp
55
56
57
58
59
60
61
    src/LoadEventNexus.cpp
    src/LoadEventNexusIndexSetup.cpp
    src/LoadEventPreNexus2.cpp
    src/LoadFITS.cpp
    src/LoadFullprofResolution.cpp
    src/LoadGSASInstrumentFile.cpp
    src/LoadGSS.cpp
62
63
    src/LoadGeometry.cpp
    src/LoadHFIRSANS.cpp
64
65
66
67
68
69
70
71
72
    src/LoadHelper.cpp
    src/LoadIDFFromNexus.cpp
    src/LoadILLDiffraction.cpp
    src/LoadILLIndirect2.cpp
    src/LoadILLPolarizationFactors.cpp
    src/LoadILLReflectometry.cpp
    src/LoadILLSANS.cpp
    src/LoadILLTOF2.cpp
    src/LoadISISNexus2.cpp
73
    src/LoadISISNexusHelper.cpp
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
    src/LoadISISPolarizationEfficiencies.cpp
    src/LoadInstrument.cpp
    src/LoadInstrumentFromNexus.cpp
    src/LoadInstrumentFromRaw.cpp
    src/LoadIsawDetCal.cpp
    src/LoadLLB.cpp
    src/LoadLog.cpp
    src/LoadMLZ.cpp
    src/LoadMappingTable.cpp
    src/LoadMask.cpp
    src/LoadMcStas.cpp
    src/LoadMcStasNexus.cpp
    src/LoadMuonLog.cpp
    src/LoadMuonNexus.cpp
    src/LoadMuonNexus1.cpp
    src/LoadMuonNexus2.cpp
Stephen's avatar
Stephen committed
90
91
    src/LoadMuonNexusV2.cpp
    src/LoadMuonNexusV2Helper.cpp
Stephen Smith's avatar
Stephen Smith committed
92
    src/LoadMuonStrategy.cpp
93
    src/SinglePeriodLoadMuonStrategy.cpp
94
95
96
97
98
99
100
    src/LoadNXSPE.cpp
    src/LoadNXcanSAS.cpp
    src/LoadNexus.cpp
    src/LoadNexusLogs.cpp
    src/LoadNexusMonitors.cpp
    src/LoadNexusMonitors2.cpp
    src/LoadNexusProcessed.cpp
101
    src/LoadNexusProcessed2.cpp
102
    src/LoadOff.cpp
Conor Finn's avatar
Conor Finn committed
103
    src/LoadNGEM.cpp
104
    src/LoadPDFgetNFile.cpp
105
106
    src/LoadPLN.cpp
    src/LoadPSIMuonBin.cpp
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
    src/LoadParameterFile.cpp
    src/LoadPreNexus.cpp
    src/LoadPreNexusMonitors.cpp
    src/LoadQKK.cpp
    src/LoadRKH.cpp
    src/LoadRaw/byte_rel_comp.cpp
    src/LoadRaw/isisraw.cpp
    src/LoadRaw/isisraw2.cpp
    src/LoadRaw/item_struct.cpp
    src/LoadRaw/vms_convert.cpp
    src/LoadRaw3.cpp
    src/LoadRawBin0.cpp
    src/LoadRawHelper.cpp
    src/LoadRawSpectrum0.cpp
    src/LoadSESANS.cpp
    src/LoadSINQFocus.cpp
    src/LoadSNSspec.cpp
    src/LoadSPE.cpp
    src/LoadSampleDetailsFromRaw.cpp
126
127
    src/LoadSampleEnvironment.cpp
    src/LoadSampleShape.cpp
128
    src/LoadSassena.cpp
129
    src/LoadSingleMesh.cpp
130
131
132
133
134
    src/LoadSpec.cpp
    src/LoadSpice2D.cpp
    src/LoadSpiceAscii.cpp
    src/LoadSpiceXML2DDet.cpp
    src/LoadStl.cpp
135
    src/LoadSwans.cpp
136
137
138
139
140
    src/LoadTBL.cpp
    src/LoadTOFRawNexus.cpp
    src/MaskDetectors.cpp
    src/MaskDetectorsInShape.cpp
    src/MaskSpectra.cpp
141
    src/MeshFileIO.cpp
142
143
144
145
146
147
148
149
150
151
152
153
154
155
    src/ModifyDetectorDotDatFile.cpp
    src/MoveInstrumentComponent.cpp
    src/NexusTester.cpp
    src/ORNLDataArchive.cpp
    src/PDLoadCharacterizations.cpp
    src/ParallelEventLoader.cpp
    src/PatchBBY.cpp
    src/ProcessBankData.cpp
    src/RawFileInfo.cpp
    src/ReadMaterial.cpp
    src/RemoveLogs.cpp
    src/RenameLog.cpp
    src/RotateInstrumentComponent.cpp
    src/RotateSource.cpp
156
157
158
    src/SampleEnvironmentFactory.cpp
    src/SampleEnvironmentSpec.cpp
    src/SampleEnvironmentSpecParser.cpp
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
    src/SaveANSTOAscii.cpp
    src/SaveAscii.cpp
    src/SaveAscii2.cpp
    src/SaveBankScatteringAngles.cpp
    src/SaveCSV.cpp
    src/SaveCalFile.cpp
    src/SaveCanSAS1D.cpp
    src/SaveCanSAS1D2.cpp
    src/SaveDaveGrp.cpp
    src/SaveDetectorsGrouping.cpp
    src/SaveDiffCal.cpp
    src/SaveDiffFittingAscii.cpp
    src/SaveDspacemap.cpp
    src/SaveFITS.cpp
    src/SaveFocusedXYE.cpp
    src/SaveFullprofResolution.cpp
    src/SaveGDA.cpp
    src/SaveGSASInstrumentFile.cpp
    src/SaveGSS.cpp
    src/SaveILLCosmosAscii.cpp
    src/SaveISISNexus.cpp
    src/SaveIsawDetCal.cpp
    src/SaveMask.cpp
    src/SaveNISTDAT.cpp
    src/SaveNXSPE.cpp
    src/SaveNXTomo.cpp
    src/SaveNXcanSAS.cpp
    src/SaveNexus.cpp
Owen Arnold's avatar
Owen Arnold committed
187
    src/SaveNexusESS.cpp
188
    src/SaveNexusGeometry.cpp
189
190
191
192
193
194
195
196
197
    src/SaveNexusProcessed.cpp
    src/SaveOpenGenieAscii.cpp
    src/SavePAR.cpp
    src/SavePDFGui.cpp
    src/SavePHX.cpp
    src/SaveParameterFile.cpp
    src/SaveRKH.cpp
    src/SaveReflCustomAscii.cpp
    src/SaveReflThreeColumnAscii.cpp
198
    src/SaveReflectometryAscii.cpp
199
    src/SaveRMCProfile.cpp
200
201
    src/SaveSESANS.cpp
    src/SaveSPE.cpp
202
    src/SaveSampleEnvironmentAndShape.cpp
Sam Jenkins's avatar
Sam Jenkins committed
203
    src/SaveStl.cpp
204
205
206
207
208
209
210
211
212
213
214
    src/SaveTBL.cpp
    src/SaveToSNSHistogramNexus.cpp
    src/SaveVTK.cpp
    src/SetBeam.cpp
    src/SetSample.cpp
    src/SetSampleMaterial.cpp
    src/SetScalingPSD.cpp
    src/SortTableWorkspace.cpp
    src/StartAndEndTimeFromNexusFileExtractor.cpp
    src/UpdateInstrumentFromFile.cpp
    src/XmlHandler.cpp)
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
set(INC_FILES
    inc/MantidDataHandling/AppendGeometryToSNSNexus.h
    inc/MantidDataHandling/AsciiPointBase.h
    inc/MantidDataHandling/BankPulseTimes.h
    inc/MantidDataHandling/CheckMantidVersion.h
    inc/MantidDataHandling/CompressEvents.h
    inc/MantidDataHandling/CreateChunkingFromInstrument.h
    inc/MantidDataHandling/CreatePolarizationEfficiencies.h
    inc/MantidDataHandling/CreatePolarizationEfficienciesBase.h
    inc/MantidDataHandling/CreateSampleShape.h
    inc/MantidDataHandling/CreateSimulationWorkspace.h
    inc/MantidDataHandling/DataBlock.h
    inc/MantidDataHandling/DataBlockComposite.h
    inc/MantidDataHandling/DataBlockGenerator.h
    inc/MantidDataHandling/DefaultEventLoader.h
    inc/MantidDataHandling/DefineGaugeVolume.h
    inc/MantidDataHandling/DeleteTableRows.h
    inc/MantidDataHandling/DetermineChunking.h
    inc/MantidDataHandling/DownloadFile.h
    inc/MantidDataHandling/DownloadInstrument.h
    inc/MantidDataHandling/EventWorkspaceCollection.h
    inc/MantidDataHandling/ExtractMonitorWorkspace.h
    inc/MantidDataHandling/ExtractPolarizationEfficiencies.h
    inc/MantidDataHandling/FilterEventsByLogValuePreNexus.h
    inc/MantidDataHandling/FindDetectorsInShape.h
    inc/MantidDataHandling/FindDetectorsPar.h
    inc/MantidDataHandling/GenerateGroupingPowder.h
    inc/MantidDataHandling/GroupDetectors.h
    inc/MantidDataHandling/GroupDetectors2.h
    inc/MantidDataHandling/H5Util.h
    inc/MantidDataHandling/ISISDataArchive.h
247
    inc/MantidDataHandling/ISISJournal.h
248
    inc/MantidDataHandling/ISISJournalGetExperimentRuns.h
249
250
251
252
253
254
255
256
257
258
259
260
261
262
    inc/MantidDataHandling/ISISRunLogs.h
    inc/MantidDataHandling/JoinISISPolarizationEfficiencies.h
    inc/MantidDataHandling/Load.h
    inc/MantidDataHandling/LoadANSTOEventFile.h
    inc/MantidDataHandling/LoadANSTOHelper.h
    inc/MantidDataHandling/LoadAscii.h
    inc/MantidDataHandling/LoadAscii2.h
    inc/MantidDataHandling/LoadAsciiStl.h
    inc/MantidDataHandling/LoadBBY.h
    inc/MantidDataHandling/LoadBankFromDiskTask.h
    inc/MantidDataHandling/LoadBinaryStl.h
    inc/MantidDataHandling/LoadCalFile.h
    inc/MantidDataHandling/LoadCanSAS1D.h
    inc/MantidDataHandling/LoadCanSAS1D2.h
durong24's avatar
durong24 committed
263
    inc/MantidDataHandling/LoadCSNSNexus.h
264
265
266
267
268
269
    inc/MantidDataHandling/LoadDaveGrp.h
    inc/MantidDataHandling/LoadDetectorInfo.h
    inc/MantidDataHandling/LoadDetectorsGroupingFile.h
    inc/MantidDataHandling/LoadDiffCal.h
    inc/MantidDataHandling/LoadDspacemap.h
    inc/MantidDataHandling/LoadEMU.h
270
    inc/MantidDataHandling/LoadEmptyInstrument.h
271
272
273
274
275
276
277
    inc/MantidDataHandling/LoadEventNexus.h
    inc/MantidDataHandling/LoadEventNexusIndexSetup.h
    inc/MantidDataHandling/LoadEventPreNexus2.h
    inc/MantidDataHandling/LoadFITS.h
    inc/MantidDataHandling/LoadFullprofResolution.h
    inc/MantidDataHandling/LoadGSASInstrumentFile.h
    inc/MantidDataHandling/LoadGSS.h
278
279
    inc/MantidDataHandling/LoadGeometry.h
    inc/MantidDataHandling/LoadHFIRSANS.h
280
281
282
283
284
285
286
287
288
    inc/MantidDataHandling/LoadHelper.h
    inc/MantidDataHandling/LoadIDFFromNexus.h
    inc/MantidDataHandling/LoadILLDiffraction.h
    inc/MantidDataHandling/LoadILLIndirect2.h
    inc/MantidDataHandling/LoadILLPolarizationFactors.h
    inc/MantidDataHandling/LoadILLReflectometry.h
    inc/MantidDataHandling/LoadILLSANS.h
    inc/MantidDataHandling/LoadILLTOF2.h
    inc/MantidDataHandling/LoadISISNexus2.h
289
    inc/MantidDataHandling/LoadISISNexusHelper.h
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
    inc/MantidDataHandling/LoadISISPolarizationEfficiencies.h
    inc/MantidDataHandling/LoadInstrument.h
    inc/MantidDataHandling/LoadInstrumentFromNexus.h
    inc/MantidDataHandling/LoadInstrumentFromRaw.h
    inc/MantidDataHandling/LoadIsawDetCal.h
    inc/MantidDataHandling/LoadLLB.h
    inc/MantidDataHandling/LoadLog.h
    inc/MantidDataHandling/LoadMLZ.h
    inc/MantidDataHandling/LoadMappingTable.h
    inc/MantidDataHandling/LoadMask.h
    inc/MantidDataHandling/LoadMcStas.h
    inc/MantidDataHandling/LoadMcStasNexus.h
    inc/MantidDataHandling/LoadMuonLog.h
    inc/MantidDataHandling/LoadMuonNexus.h
    inc/MantidDataHandling/LoadMuonNexus1.h
    inc/MantidDataHandling/LoadMuonNexus2.h
Stephen's avatar
Stephen committed
306
307
    inc/MantidDataHandling/LoadMuonNexusV2.h
    inc/MantidDataHandling/LoadMuonNexusV2Helper.h
308
309
    inc/MantidDataHandling/LoadMuonStrategy.h
    inc/MantidDataHandling/SinglePeriodLoadMuonStrategy.h
310
311
312
313
314
315
316
    inc/MantidDataHandling/LoadNXSPE.h
    inc/MantidDataHandling/LoadNXcanSAS.h
    inc/MantidDataHandling/LoadNexus.h
    inc/MantidDataHandling/LoadNexusLogs.h
    inc/MantidDataHandling/LoadNexusMonitors.h
    inc/MantidDataHandling/LoadNexusMonitors2.h
    inc/MantidDataHandling/LoadNexusProcessed.h
317
    inc/MantidDataHandling/LoadNexusProcessed2.h
318
    inc/MantidDataHandling/LoadOff.h
Conor Finn's avatar
Conor Finn committed
319
    inc/MantidDataHandling/LoadNGEM.h
320
    inc/MantidDataHandling/LoadPDFgetNFile.h
321
322
    inc/MantidDataHandling/LoadPLN.h
    inc/MantidDataHandling/LoadPSIMuonBin.h
323
324
325
326
327
328
329
330
331
332
333
334
335
336
    inc/MantidDataHandling/LoadParameterFile.h
    inc/MantidDataHandling/LoadPreNexus.h
    inc/MantidDataHandling/LoadPreNexusMonitors.h
    inc/MantidDataHandling/LoadQKK.h
    inc/MantidDataHandling/LoadRKH.h
    inc/MantidDataHandling/LoadRaw3.h
    inc/MantidDataHandling/LoadRawBin0.h
    inc/MantidDataHandling/LoadRawHelper.h
    inc/MantidDataHandling/LoadRawSpectrum0.h
    inc/MantidDataHandling/LoadSESANS.h
    inc/MantidDataHandling/LoadSINQFocus.h
    inc/MantidDataHandling/LoadSNSspec.h
    inc/MantidDataHandling/LoadSPE.h
    inc/MantidDataHandling/LoadSampleDetailsFromRaw.h
337
338
    inc/MantidDataHandling/LoadSampleEnvironment.h
    inc/MantidDataHandling/LoadSampleShape.h
339
    inc/MantidDataHandling/LoadSassena.h
340
    inc/MantidDataHandling/LoadSingleMesh.h
341
342
343
344
345
    inc/MantidDataHandling/LoadSpec.h
    inc/MantidDataHandling/LoadSpice2D.h
    inc/MantidDataHandling/LoadSpiceAscii.h
    inc/MantidDataHandling/LoadSpiceXML2DDet.h
    inc/MantidDataHandling/LoadStl.h
346
    inc/MantidDataHandling/LoadStlFactory.h
347
348
349
350
351
352
    inc/MantidDataHandling/LoadSwans.h
    inc/MantidDataHandling/LoadTBL.h
    inc/MantidDataHandling/LoadTOFRawNexus.h
    inc/MantidDataHandling/MaskDetectors.h
    inc/MantidDataHandling/MaskDetectorsInShape.h
    inc/MantidDataHandling/MaskSpectra.h
353
    inc/MantidDataHandling/MeshFileIO.h
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
    inc/MantidDataHandling/ModifyDetectorDotDatFile.h
    inc/MantidDataHandling/MoveInstrumentComponent.h
    inc/MantidDataHandling/NXcanSASDefinitions.h
    inc/MantidDataHandling/NexusTester.h
    inc/MantidDataHandling/ORNLDataArchive.h
    inc/MantidDataHandling/PDLoadCharacterizations.h
    inc/MantidDataHandling/ParallelEventLoader.h
    inc/MantidDataHandling/PatchBBY.h
    inc/MantidDataHandling/ProcessBankData.h
    inc/MantidDataHandling/RawFileInfo.h
    inc/MantidDataHandling/ReadMaterial.h
    inc/MantidDataHandling/RemoveLogs.h
    inc/MantidDataHandling/RenameLog.h
    inc/MantidDataHandling/RotateInstrumentComponent.h
    inc/MantidDataHandling/RotateSource.h
369
370
371
    inc/MantidDataHandling/SampleEnvironmentFactory.h
    inc/MantidDataHandling/SampleEnvironmentSpec.h
    inc/MantidDataHandling/SampleEnvironmentSpecParser.h
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
    inc/MantidDataHandling/SaveANSTOAscii.h
    inc/MantidDataHandling/SaveAscii.h
    inc/MantidDataHandling/SaveAscii2.h
    inc/MantidDataHandling/SaveBankScatteringAngles.h
    inc/MantidDataHandling/SaveCSV.h
    inc/MantidDataHandling/SaveCalFile.h
    inc/MantidDataHandling/SaveCanSAS1D.h
    inc/MantidDataHandling/SaveCanSAS1D2.h
    inc/MantidDataHandling/SaveDaveGrp.h
    inc/MantidDataHandling/SaveDetectorsGrouping.h
    inc/MantidDataHandling/SaveDiffCal.h
    inc/MantidDataHandling/SaveDiffFittingAscii.h
    inc/MantidDataHandling/SaveDspacemap.h
    inc/MantidDataHandling/SaveFITS.h
    inc/MantidDataHandling/SaveFocusedXYE.h
    inc/MantidDataHandling/SaveFullprofResolution.h
    inc/MantidDataHandling/SaveGDA.h
    inc/MantidDataHandling/SaveGSASInstrumentFile.h
    inc/MantidDataHandling/SaveGSS.h
    inc/MantidDataHandling/SaveILLCosmosAscii.h
    inc/MantidDataHandling/SaveISISNexus.h
    inc/MantidDataHandling/SaveIsawDetCal.h
    inc/MantidDataHandling/SaveMask.h
    inc/MantidDataHandling/SaveNISTDAT.h
    inc/MantidDataHandling/SaveNXSPE.h
    inc/MantidDataHandling/SaveNXTomo.h
    inc/MantidDataHandling/SaveNXcanSAS.h
    inc/MantidDataHandling/SaveNexus.h
Owen Arnold's avatar
Owen Arnold committed
400
    inc/MantidDataHandling/SaveNexusESS.h
401
    inc/MantidDataHandling/SaveNexusGeometry.h
402
403
404
405
406
407
408
409
410
    inc/MantidDataHandling/SaveNexusProcessed.h
    inc/MantidDataHandling/SaveOpenGenieAscii.h
    inc/MantidDataHandling/SavePAR.h
    inc/MantidDataHandling/SavePDFGui.h
    inc/MantidDataHandling/SavePHX.h
    inc/MantidDataHandling/SaveParameterFile.h
    inc/MantidDataHandling/SaveRKH.h
    inc/MantidDataHandling/SaveReflCustomAscii.h
    inc/MantidDataHandling/SaveReflThreeColumnAscii.h
411
    inc/MantidDataHandling/SaveReflectometryAscii.h
412
    inc/MantidDataHandling/SaveRMCProfile.h
413
414
    inc/MantidDataHandling/SaveSESANS.h
    inc/MantidDataHandling/SaveSPE.h
415
    inc/MantidDataHandling/SaveSampleEnvironmentAndShape.h
Sam Jenkins's avatar
Sam Jenkins committed
416
    inc/MantidDataHandling/SaveStl.h
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
    inc/MantidDataHandling/SaveTBL.h
    inc/MantidDataHandling/SaveToSNSHistogramNexus.h
    inc/MantidDataHandling/SaveVTK.h
    inc/MantidDataHandling/SetBeam.h
    inc/MantidDataHandling/SetSample.h
    inc/MantidDataHandling/SetSampleMaterial.h
    inc/MantidDataHandling/SetScalingPSD.h
    inc/MantidDataHandling/SortTableWorkspace.h
    inc/MantidDataHandling/StartAndEndTimeFromNexusFileExtractor.h
    inc/MantidDataHandling/UpdateInstrumentFromFile.h
    inc/MantidDataHandling/XmlHandler.h
    src/LoadRaw/byte_rel_comp.h
    src/LoadRaw/isisraw.h
    src/LoadRaw/isisraw2.h
    src/LoadRaw/item_struct.h
    src/LoadRaw/vms_convert.h)
433

434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
set(TEST_FILES
    AppendGeometryToSNSNexusTest.h
    CheckMantidVersionTest.h
    CompressEventsTest.h
    CreateChunkingFromInstrumentTest.h
    CreatePolarizationEfficienciesTest.h
    CreateSampleShapeTest.h
    CreateSimulationWorkspaceTest.h
    DataBlockCompositeTest.h
    DataBlockGeneratorTest.h
    DataBlockTest.h
    DefineGaugeVolumeTest.h
    DeleteTableRowsTest.h
    DetermineChunkingTest.h
    DownloadFileTest.h
    DownloadInstrumentTest.h
    EventWorkspaceCollectionTest.h
    ExtractMonitorWorkspaceTest.h
    ExtractPolarizationEfficienciesTest.h
    FilterEventsByLogValuePreNexusTest.h
    FindDetectorsInShapeTest.h
    FindDetectorsParTest.h
    GenerateGroupingPowderTest.h
    GroupDetectors2Test.h
    GroupDetectorsTest.h
    H5UtilTest.h
    ISISDataArchiveTest.h
461
    ISISJournalTest.h
462
    ISISJournalGetExperimentRunsTest.h
463
464
465
466
    InstrumentRayTracerTest.h
    JoinISISPolarizationEfficienciesTest.h
    LoadAscii2Test.h
    LoadAsciiStlTest.h
467
    LoadAsciiTest.h
468
469
470
471
    LoadBBYTest.h
    LoadBinaryStlTest.h
    LoadCalFileTest.h
    LoadCanSAS1dTest.h
durong24's avatar
durong24 committed
472
    LoadCSNSNexusTest.h
473
474
475
476
477
478
    LoadDaveGrpTest.h
    LoadDetectorInfoTest.h
    LoadDetectorsGroupingFileTest.h
    LoadDiffCalTest.h
    LoadDspacemapTest.h
    LoadEMUauTest.h
479
    LoadEmptyInstrumentTest.h
480
481
482
483
484
485
486
    LoadEventNexusIndexSetupTest.h
    LoadEventNexusTest.h
    LoadEventPreNexus2Test.h
    LoadFITSTest.h
    LoadFullprofResolutionTest.h
    LoadGSASInstrumentFileTest.h
    LoadGSSTest.h
487
    LoadHFIRSANSTest.h
488
489
490
491
492
493
494
    LoadIDFFromNexusTest.h
    LoadILLDiffractionTest.h
    LoadILLIndirect2Test.h
    LoadILLPolarizationFactorsTest.h
    LoadILLReflectometryTest.h
    LoadILLSANSTest.h
    LoadILLTOF2Test.h
495
    LoadILLTest.h
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
    LoadISISNexusTest.h
    LoadISISPolarizationEfficienciesTest.h
    LoadInstrumentFromNexusTest.h
    LoadInstrumentFromRawTest.h
    LoadInstrumentTest.h
    LoadIsawDetCalTest.h
    LoadLLBTest.h
    LoadLogTest.h
    LoadMLZTest.h
    LoadMappingTableTest.h
    LoadMaskTest.h
    LoadMcStasNexusTest.h
    LoadMcStasTest.h
    LoadMuonLogTest.h
    LoadMuonNexus1Test.h
    LoadMuonNexus2Test.h
Stephen's avatar
Stephen committed
512
    LoadMuonNexusV2Test.h
513
    LoadNGEMTest.h
514
515
516
517
    LoadNXSPETest.h
    LoadNXcanSASTest.h
    LoadNexusLogsTest.h
    LoadNexusMonitorsTest.h
518
    LoadNexusProcessed2Test.h
519
520
521
522
    LoadNexusProcessedTest.h
    LoadNexusTest.h
    LoadPDFgetNFileTest.h
    LoadPLNTest.h
523
524
    LoadPSIMuonBinTest.h
    LoadParameterFileTest.h
525
526
527
528
529
530
531
532
533
534
535
536
537
    LoadPreNexusMonitorsTest.h
    LoadPreNexusTest.h
    LoadQKKTest.h
    LoadRKHTest.h
    LoadRaw3Test.h
    LoadRawBin0Test.h
    LoadRawSaveNxsLoadNxsTest.h
    LoadRawSpectrum0Test.h
    LoadSESANSTest.h
    LoadSINQFocusTest.h
    LoadSNSspecTest.h
    LoadSPETest.h
    LoadSampleDetailsFromRawTest.h
538
539
    LoadSampleEnvironmentTest.h
    LoadSampleShapeTest.h
540
541
542
543
544
545
    LoadSassenaTest.h
    LoadSaveAsciiTest.h
    LoadSpecTest.h
    LoadSpice2dTest.h
    LoadSpiceAsciiTest.h
    LoadSpiceXML2DDetTest.h
546
    LoadStlTest.h
547
548
549
550
551
552
553
    LoadSwansTest.h
    LoadTBLTest.h
    LoadTOFRawNexusTest.h
    LoadTest.h
    MaskDetectorsInShapeTest.h
    MaskDetectorsTest.h
    MaskSpectraTest.h
554
    MeshFileIOTest.h
555
556
557
558
559
560
561
562
563
564
565
    ModifyDetectorDotDatFileTest.h
    MoveInstrumentComponentTest.h
    NexusTesterTest.h
    ORNLDataArchiveTest.h
    PDLoadCharacterizationsTest.h
    RawFileInfoTest.h
    ReadMaterialTest.h
    RemoveLogsTest.h
    RenameLogTest.h
    RotateInstrumentComponentTest.h
    RotateSourceTest.h
566
567
568
569
    SampleEnvironmentFactoryTest.h
    SampleEnvironmentSpecFileFinderTest.h
    SampleEnvironmentSpecParserTest.h
    SampleEnvironmentSpecTest.h
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
    SaveANSTOAsciiTest.h
    SaveAscii2Test.h
    SaveAsciiTest.h
    SaveBankScatteringAnglesTest.h
    SaveCSVTest.h
    SaveCalFileTest.h
    SaveCanSAS1dTest.h
    SaveCanSAS1dTest2.h
    SaveDaveGrpTest.h
    SaveDetectorsGroupingTest.h
    SaveDiffCalTest.h
    SaveDspacemapTest.h
    SaveFITSTest.h
    SaveFocusedXYETest.h
    SaveFullprofResolutionTest.h
    SaveGDATest.h
    SaveGSASInstrumentFileTest.h
    SaveGSSTest.h
    SaveILLCosmosAsciiTest.h
    SaveIsawDetCalTest.h
    SaveMaskTest.h
    SaveNISTDATTest.h
    SaveNXSPETest.h
    SaveNXTomoTest.h
    SaveNXcanSASTest.h
Owen Arnold's avatar
Owen Arnold committed
595
    SaveNexusESSTest.h
596
    SaveNexusGeometryTest.h
597
598
599
600
601
602
603
604
605
606
    SaveNexusProcessedTest.h
    SaveNexusTest.h
    SaveOpenGenieAsciiTest.h
    SavePARTest.h
    SavePDFGuiTest.h
    SavePHXTest.h
    SaveParameterFileTest.h
    SaveRKHTest.h
    SaveReflCustomAsciiTest.h
    SaveReflThreeColumnAsciiTest.h
607
    SaveReflectometryAsciiTest.h
608
    SaveRMCProfileTest.h
609
610
    SaveSESANSTest.h
    SaveSPETest.h
611
    SaveSampleEnvironmentAndShapeTest.h
612
    SaveStlTest.h
613
614
615
616
617
618
619
620
621
622
    SaveTBLTest.h
    SaveToSNSHistogramNexusTest.h
    SetBeamTest.h
    SetSampleMaterialTest.h
    SetSampleTest.h
    SetScalingPSDTest.h
    SortTableWorkspaceTest.h
    StartAndEndTimeFromNexusFileExtractorTest.h
    UpdateInstrumentFromFileTest.h
    XMLInstrumentParameterTest.h)
623

624
625
626
627
628
629
if(COVERALLS)
  foreach(loop_var ${SRC_FILES} ${INC_FILES})
    set_property(GLOBAL APPEND
                 PROPERTY COVERAGE_SRCS
                          "${CMAKE_CURRENT_SOURCE_DIR}/${loop_var}")
  endforeach(loop_var)
630
endif()
631

632
633
if(UNITY_BUILD)
  include(UnityBuild)
634
  enable_unity_build(DataHandling SRC_FILES SRC_UNITY_IGNORE_FILES 10)
635
636
endif(UNITY_BUILD)

637
638
639
640
641
642
643
644
645
646
647
648
if(WIN32)
  set(ENABLE_LIB3MF ON)
endif()

if(ENABLE_LIB3MF)
  add_definitions(-DENABLE_LIB3MF)
  list(APPEND
    INC_FILES
    inc/MantidDataHandling/Mantid3MFFileIO.h)
  list(APPEND
    SRC_FILES
    src/Mantid3MFFileIO.cpp)
649
650
651
  list(APPEND
    TEST_FILES
    Mantid3MFFileIOTest.h)
652
653
654
  find_package(Lib3mf REQUIRED)
endif()

655
# Use a precompiled header where they are supported
656
enable_precompiled_headers(inc/MantidDataHandling/PrecompiledHeader.h SRC_FILES)
657
# Add the target for this directory
658
add_library(DataHandling ${SRC_FILES} ${INC_FILES})
659
# Set the name of the generated library
660
661
662
663
664
set_target_properties(DataHandling
                      PROPERTIES OUTPUT_NAME
                                 MantidDataHandling
                                 COMPILE_DEFINITIONS
                                 "IN_MANTID_DATAHANDLING")
665

666
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
667
668
669
670
671
672
673
674
675
  set_target_properties(DataHandling
                        PROPERTIES INSTALL_RPATH
                                   "@loader_path/../Contents/MacOS")
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
  set_target_properties(
    DataHandling
    PROPERTIES INSTALL_RPATH "\$ORIGIN/../${LIB_DIR};\$ORIGIN/../${PLUGINS_DIR}"
    )
endif()
676

677
# Add to the 'Framework' group in VS
678
set_property(TARGET DataHandling PROPERTY FOLDER "MantidFramework")
679

680
target_include_directories(DataHandling PUBLIC inc ../Nexus/inc)
Gagik Vardanyan's avatar
Gagik Vardanyan committed
681
target_include_directories(DataHandling SYSTEM PRIVATE ${HDF5_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
682

683
684
685
686
687
target_link_libraries(DataHandling
                      LINK_PRIVATE
                      ${TCMALLOC_LIBRARIES_LINKTIME}
                      ${MANTIDLIBS}
                      Nexus
688
689
                      HistogramData
                      DataObjects
690
691
692
693
                      ${NEXUS_LIBRARIES}
                      ${HDF5_LIBRARIES}
                      ${HDF5_HL_LIBRARIES}
                      ${JSONCPP_LIBRARIES}
694
695
696
697
698
699
                      Catalog)

if(ENABLE_LIB3MF)
  target_link_libraries(DataHandling LINK_PRIVATE 
                        ${LIB3MF_LIBRARIES})
endif()
700

701
# Add the unit tests directory
702
add_subdirectory(test)
703
704
705

# Installation settings

706
707
708
709
710
mtd_install_targets(TARGETS
                    DataHandling
                    INSTALL_DIRS
                    ${PLUGINS_DIR}
                    ${WORKBENCH_PLUGINS_DIR})