CMakeLists.txt 22.9 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
    src/LoadHelper.cpp
    src/LoadIDFFromNexus.cpp
    src/LoadILLDiffraction.cpp
    src/LoadILLIndirect2.cpp
    src/LoadILLPolarizationFactors.cpp
69
    src/LoadILLPolarizedDiffraction.cpp
70
71
72
73
    src/LoadILLReflectometry.cpp
    src/LoadILLSANS.cpp
    src/LoadILLTOF2.cpp
    src/LoadISISNexus2.cpp
74
    src/LoadISISNexusHelper.cpp
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
    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
91
    src/LoadMuonNexusV2.cpp
Stephen's avatar
Stephen committed
92
    src/LoadMuonNexusV2NexusHelper.cpp
Stephen Smith's avatar
Stephen Smith committed
93
    src/LoadMuonStrategy.cpp
94
    src/SinglePeriodLoadMuonStrategy.cpp
95
    src/MultiPeriodLoadMuonStrategy.cpp
96
97
98
99
100
101
102
    src/LoadNXSPE.cpp
    src/LoadNXcanSAS.cpp
    src/LoadNexus.cpp
    src/LoadNexusLogs.cpp
    src/LoadNexusMonitors.cpp
    src/LoadNexusMonitors2.cpp
    src/LoadNexusProcessed.cpp
103
    src/LoadNexusProcessed2.cpp
104
    src/LoadOff.cpp
Conor Finn's avatar
Conor Finn committed
105
    src/LoadNGEM.cpp
106
    src/LoadPDFgetNFile.cpp
107
108
    src/LoadPLN.cpp
    src/LoadPSIMuonBin.cpp
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
    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
128
129
    src/LoadSampleEnvironment.cpp
    src/LoadSampleShape.cpp
130
    src/LoadSassena.cpp
131
    src/LoadSingleMesh.cpp
132
133
134
135
136
    src/LoadSpec.cpp
    src/LoadSpice2D.cpp
    src/LoadSpiceAscii.cpp
    src/LoadSpiceXML2DDet.cpp
    src/LoadStl.cpp
137
    src/LoadSwans.cpp
138
139
140
141
142
    src/LoadTBL.cpp
    src/LoadTOFRawNexus.cpp
    src/MaskDetectors.cpp
    src/MaskDetectorsInShape.cpp
    src/MaskSpectra.cpp
143
    src/MeshFileIO.cpp
144
145
146
147
148
149
150
151
152
153
154
155
156
157
    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
158
159
160
    src/SampleEnvironmentFactory.cpp
    src/SampleEnvironmentSpec.cpp
    src/SampleEnvironmentSpecParser.cpp
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
    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
189
    src/SaveNexusESS.cpp
190
    src/SaveNexusGeometry.cpp
191
192
193
194
195
196
197
198
199
    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
200
    src/SaveReflectometryAscii.cpp
201
    src/SaveRMCProfile.cpp
202
203
    src/SaveSESANS.cpp
    src/SaveSPE.cpp
204
    src/SaveSampleEnvironmentAndShape.cpp
Sam Jenkins's avatar
Sam Jenkins committed
205
    src/SaveStl.cpp
206
207
208
209
210
211
212
213
214
215
216
    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)
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
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
249
    inc/MantidDataHandling/ISISJournal.h
250
    inc/MantidDataHandling/ISISJournalGetExperimentRuns.h
251
252
253
254
255
256
257
258
259
260
261
262
263
264
    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
265
    inc/MantidDataHandling/LoadCSNSNexus.h
266
267
268
269
270
271
    inc/MantidDataHandling/LoadDaveGrp.h
    inc/MantidDataHandling/LoadDetectorInfo.h
    inc/MantidDataHandling/LoadDetectorsGroupingFile.h
    inc/MantidDataHandling/LoadDiffCal.h
    inc/MantidDataHandling/LoadDspacemap.h
    inc/MantidDataHandling/LoadEMU.h
272
    inc/MantidDataHandling/LoadEmptyInstrument.h
273
274
275
276
277
278
279
    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
280
281
    inc/MantidDataHandling/LoadGeometry.h
    inc/MantidDataHandling/LoadHFIRSANS.h
282
283
284
285
286
    inc/MantidDataHandling/LoadHelper.h
    inc/MantidDataHandling/LoadIDFFromNexus.h
    inc/MantidDataHandling/LoadILLDiffraction.h
    inc/MantidDataHandling/LoadILLIndirect2.h
    inc/MantidDataHandling/LoadILLPolarizationFactors.h
287
    inc/MantidDataHandling/LoadILLPolarizedDiffraction.h
288
289
290
291
    inc/MantidDataHandling/LoadILLReflectometry.h
    inc/MantidDataHandling/LoadILLSANS.h
    inc/MantidDataHandling/LoadILLTOF2.h
    inc/MantidDataHandling/LoadISISNexus2.h
292
    inc/MantidDataHandling/LoadISISNexusHelper.h
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
    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
309
    inc/MantidDataHandling/LoadMuonNexusV2.h
Stephen's avatar
Stephen committed
310
    inc/MantidDataHandling/LoadMuonNexusV2NexusHelper.h
311
312
    inc/MantidDataHandling/LoadMuonStrategy.h
    inc/MantidDataHandling/SinglePeriodLoadMuonStrategy.h
313
    inc/MantidDataHandling/MultiPeriodLoadMuonStrategy.h
314
315
316
317
318
319
320
    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
321
    inc/MantidDataHandling/LoadNexusProcessed2.h
322
    inc/MantidDataHandling/LoadOff.h
Conor Finn's avatar
Conor Finn committed
323
    inc/MantidDataHandling/LoadNGEM.h
324
    inc/MantidDataHandling/LoadPDFgetNFile.h
325
326
    inc/MantidDataHandling/LoadPLN.h
    inc/MantidDataHandling/LoadPSIMuonBin.h
327
328
329
330
331
332
333
334
335
336
337
338
339
340
    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
341
342
    inc/MantidDataHandling/LoadSampleEnvironment.h
    inc/MantidDataHandling/LoadSampleShape.h
343
    inc/MantidDataHandling/LoadSassena.h
344
    inc/MantidDataHandling/LoadSingleMesh.h
345
346
347
348
349
    inc/MantidDataHandling/LoadSpec.h
    inc/MantidDataHandling/LoadSpice2D.h
    inc/MantidDataHandling/LoadSpiceAscii.h
    inc/MantidDataHandling/LoadSpiceXML2DDet.h
    inc/MantidDataHandling/LoadStl.h
350
    inc/MantidDataHandling/LoadStlFactory.h
351
352
353
354
355
356
    inc/MantidDataHandling/LoadSwans.h
    inc/MantidDataHandling/LoadTBL.h
    inc/MantidDataHandling/LoadTOFRawNexus.h
    inc/MantidDataHandling/MaskDetectors.h
    inc/MantidDataHandling/MaskDetectorsInShape.h
    inc/MantidDataHandling/MaskSpectra.h
357
    inc/MantidDataHandling/MeshFileIO.h
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
    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
373
374
375
    inc/MantidDataHandling/SampleEnvironmentFactory.h
    inc/MantidDataHandling/SampleEnvironmentSpec.h
    inc/MantidDataHandling/SampleEnvironmentSpecParser.h
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
    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
404
    inc/MantidDataHandling/SaveNexusESS.h
405
    inc/MantidDataHandling/SaveNexusGeometry.h
406
407
408
409
410
411
412
413
414
    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
415
    inc/MantidDataHandling/SaveReflectometryAscii.h
416
    inc/MantidDataHandling/SaveRMCProfile.h
417
418
    inc/MantidDataHandling/SaveSESANS.h
    inc/MantidDataHandling/SaveSPE.h
419
    inc/MantidDataHandling/SaveSampleEnvironmentAndShape.h
Sam Jenkins's avatar
Sam Jenkins committed
420
    inc/MantidDataHandling/SaveStl.h
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
    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)
437

438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
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
465
    ISISJournalTest.h
466
    ISISJournalGetExperimentRunsTest.h
467
468
469
470
    InstrumentRayTracerTest.h
    JoinISISPolarizationEfficienciesTest.h
    LoadAscii2Test.h
    LoadAsciiStlTest.h
471
    LoadAsciiTest.h
472
473
474
475
    LoadBBYTest.h
    LoadBinaryStlTest.h
    LoadCalFileTest.h
    LoadCanSAS1dTest.h
durong24's avatar
durong24 committed
476
    LoadCSNSNexusTest.h
477
478
479
480
481
482
    LoadDaveGrpTest.h
    LoadDetectorInfoTest.h
    LoadDetectorsGroupingFileTest.h
    LoadDiffCalTest.h
    LoadDspacemapTest.h
    LoadEMUauTest.h
483
    LoadEmptyInstrumentTest.h
484
485
486
487
488
489
490
    LoadEventNexusIndexSetupTest.h
    LoadEventNexusTest.h
    LoadEventPreNexus2Test.h
    LoadFITSTest.h
    LoadFullprofResolutionTest.h
    LoadGSASInstrumentFileTest.h
    LoadGSSTest.h
491
    LoadHFIRSANSTest.h
492
493
494
495
    LoadIDFFromNexusTest.h
    LoadILLDiffractionTest.h
    LoadILLIndirect2Test.h
    LoadILLPolarizationFactorsTest.h
496
    LoadILLPolarizedDiffractionTest.h
497
498
499
    LoadILLReflectometryTest.h
    LoadILLSANSTest.h
    LoadILLTOF2Test.h
500
    LoadILLTest.h
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
    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
517
    LoadMuonNexusV2Test.h
518
    LoadNGEMTest.h
519
520
521
522
    LoadNXSPETest.h
    LoadNXcanSASTest.h
    LoadNexusLogsTest.h
    LoadNexusMonitorsTest.h
523
    LoadNexusProcessed2Test.h
524
525
526
527
    LoadNexusProcessedTest.h
    LoadNexusTest.h
    LoadPDFgetNFileTest.h
    LoadPLNTest.h
528
529
    LoadPSIMuonBinTest.h
    LoadParameterFileTest.h
530
531
532
533
534
535
536
537
538
539
540
541
542
    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
543
544
    LoadSampleEnvironmentTest.h
    LoadSampleShapeTest.h
545
546
547
548
549
550
    LoadSassenaTest.h
    LoadSaveAsciiTest.h
    LoadSpecTest.h
    LoadSpice2dTest.h
    LoadSpiceAsciiTest.h
    LoadSpiceXML2DDetTest.h
551
    LoadStlTest.h
552
553
554
555
556
557
558
    LoadSwansTest.h
    LoadTBLTest.h
    LoadTOFRawNexusTest.h
    LoadTest.h
    MaskDetectorsInShapeTest.h
    MaskDetectorsTest.h
    MaskSpectraTest.h
559
    MeshFileIOTest.h
560
561
562
563
564
565
566
567
568
569
570
    ModifyDetectorDotDatFileTest.h
    MoveInstrumentComponentTest.h
    NexusTesterTest.h
    ORNLDataArchiveTest.h
    PDLoadCharacterizationsTest.h
    RawFileInfoTest.h
    ReadMaterialTest.h
    RemoveLogsTest.h
    RenameLogTest.h
    RotateInstrumentComponentTest.h
    RotateSourceTest.h
571
572
573
574
    SampleEnvironmentFactoryTest.h
    SampleEnvironmentSpecFileFinderTest.h
    SampleEnvironmentSpecParserTest.h
    SampleEnvironmentSpecTest.h
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
    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
600
    SaveNexusESSTest.h
601
    SaveNexusGeometryTest.h
602
603
604
605
606
607
608
609
610
611
    SaveNexusProcessedTest.h
    SaveNexusTest.h
    SaveOpenGenieAsciiTest.h
    SavePARTest.h
    SavePDFGuiTest.h
    SavePHXTest.h
    SaveParameterFileTest.h
    SaveRKHTest.h
    SaveReflCustomAsciiTest.h
    SaveReflThreeColumnAsciiTest.h
612
    SaveReflectometryAsciiTest.h
613
    SaveRMCProfileTest.h
614
615
    SaveSESANSTest.h
    SaveSPETest.h
616
    SaveSampleEnvironmentAndShapeTest.h
617
    SaveStlTest.h
618
619
620
621
622
623
624
625
626
627
    SaveTBLTest.h
    SaveToSNSHistogramNexusTest.h
    SetBeamTest.h
    SetSampleMaterialTest.h
    SetSampleTest.h
    SetScalingPSDTest.h
    SortTableWorkspaceTest.h
    StartAndEndTimeFromNexusFileExtractorTest.h
    UpdateInstrumentFromFileTest.h
    XMLInstrumentParameterTest.h)
628

629
630
631
632
633
634
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)
635
endif()
636

637
638
if(UNITY_BUILD)
  include(UnityBuild)
639
  enable_unity_build(DataHandling SRC_FILES SRC_UNITY_IGNORE_FILES 10)
640
641
endif(UNITY_BUILD)

642
643
644
645
646
647
648
649
650
651
652
653
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)
654
655
656
  list(APPEND
    TEST_FILES
    Mantid3MFFileIOTest.h)
657
658
659
  find_package(Lib3mf REQUIRED)
endif()

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

671
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
672
673
674
675
676
677
678
679
680
  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()
681

682
# Add to the 'Framework' group in VS
683
set_property(TARGET DataHandling PROPERTY FOLDER "MantidFramework")
684

685
target_include_directories(DataHandling PUBLIC inc ../Nexus/inc)
Gagik Vardanyan's avatar
Gagik Vardanyan committed
686
target_include_directories(DataHandling SYSTEM PRIVATE ${HDF5_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
687

688
689
690
691
692
target_link_libraries(DataHandling
                      LINK_PRIVATE
                      ${TCMALLOC_LIBRARIES_LINKTIME}
                      ${MANTIDLIBS}
                      Nexus
693
694
                      HistogramData
                      DataObjects
695
696
697
698
                      ${NEXUS_LIBRARIES}
                      ${HDF5_LIBRARIES}
                      ${HDF5_HL_LIBRARIES}
                      ${JSONCPP_LIBRARIES}
699
700
701
702
703
704
                      Catalog)

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

706
# Add the unit tests directory
707
add_subdirectory(test)
708
709
710

# Installation settings

711
712
713
714
715
mtd_install_targets(TARGETS
                    DataHandling
                    INSTALL_DIRS
                    ${PLUGINS_DIR}
                    ${WORKBENCH_PLUGINS_DIR})