CMakeLists.txt 16 KB
Newer Older
1
set ( SRC_FILES
Michael Wedel's avatar
Michael Wedel committed
2
	src/ComponentParser.cpp
3
	src/Crystal/BasicHKLFilters.cpp
4
5
	src/Crystal/BraggScatterer.cpp
	src/Crystal/BraggScattererFactory.cpp
6
	src/Crystal/BraggScattererInCrystalStructure.cpp
Michael Wedel's avatar
Michael Wedel committed
7
	src/Crystal/CenteringGroup.cpp
8
	src/Crystal/CompositeBraggScatterer.cpp
Michael Wedel's avatar
Michael Wedel committed
9
10
11
	src/Crystal/ConventionalCell.cpp
	src/Crystal/CrystalStructure.cpp
	src/Crystal/CyclicGroup.cpp
Lynch, Vickie's avatar
Lynch, Vickie committed
12
	src/Crystal/EdgePixel.cpp
Michael Wedel's avatar
Michael Wedel committed
13
	src/Crystal/Group.cpp
14
	src/Crystal/GroupTransformation.cpp
15
	src/Crystal/HKLFilter.cpp
16
	src/Crystal/HKLFilterWavelength.cpp
17
	src/Crystal/HKLGenerator.cpp
Michael Wedel's avatar
Michael Wedel committed
18
	src/Crystal/IndexingUtils.cpp
19
	src/Crystal/IsotropicAtomBraggScatterer.cpp
Michael Wedel's avatar
Michael Wedel committed
20
21
	src/Crystal/NiggliCell.cpp
	src/Crystal/OrientedLattice.cpp
22
23
24
25
26
	src/Crystal/PeakTransform.cpp
	src/Crystal/PeakTransformHKL.cpp
	src/Crystal/PeakTransformQLab.cpp
	src/Crystal/PeakTransformQSample.cpp
	src/Crystal/PeakTransformSelector.cpp
Michael Wedel's avatar
Michael Wedel committed
27
28
29
30
31
	src/Crystal/PointGroup.cpp
	src/Crystal/PointGroupFactory.cpp
	src/Crystal/ProductOfCyclicGroups.cpp
	src/Crystal/ReducedCell.cpp
	src/Crystal/ReflectionCondition.cpp
32
	src/Crystal/ReflectionGenerator.cpp
Michael Wedel's avatar
Michael Wedel committed
33
34
35
	src/Crystal/ScalarUtils.cpp
	src/Crystal/SpaceGroup.cpp
	src/Crystal/SpaceGroupFactory.cpp
36
	src/Crystal/StructureFactorCalculator.cpp
37
	src/Crystal/StructureFactorCalculatorSummation.cpp
38
	src/Crystal/SymmetryElement.cpp
39
	src/Crystal/SymmetryElementFactory.cpp
Michael Wedel's avatar
Michael Wedel committed
40
41
42
43
44
45
46
47
48
49
	src/Crystal/SymmetryOperation.cpp
	src/Crystal/SymmetryOperationFactory.cpp
	src/Crystal/SymmetryOperationSymbolParser.cpp
	src/Crystal/UnitCell.cpp
	src/Crystal/V3R.cpp
	src/IObjComponent.cpp
	src/Instrument.cpp
	src/Instrument/CompAssembly.cpp
	src/Instrument/Component.cpp
	src/Instrument/ComponentHelper.cpp
50
51
	src/Instrument/ComponentInfo.cpp
	src/Instrument/Container.cpp
Michael Wedel's avatar
Michael Wedel committed
52
53
	src/Instrument/Detector.cpp
	src/Instrument/DetectorGroup.cpp
54
	src/Instrument/DetectorInfo.cpp
Michael Wedel's avatar
Michael Wedel committed
55
56
57
	src/Instrument/FitParameter.cpp
	src/Instrument/Goniometer.cpp
	src/Instrument/IDFObject.cpp
58
59
	src/Instrument/InstrumentDefinitionParser.cpp
	src/Instrument/InstrumentVisitor.cpp
Michael Wedel's avatar
Michael Wedel committed
60
61
62
63
64
65
66
67
	src/Instrument/ObjCompAssembly.cpp
	src/Instrument/ObjComponent.cpp
	src/Instrument/ParComponentFactory.cpp
	src/Instrument/Parameter.cpp
	src/Instrument/ParameterMap.cpp
	src/Instrument/RectangularDetector.cpp
	src/Instrument/RectangularDetectorPixel.cpp
	src/Instrument/ReferenceFrame.cpp
68
	src/Instrument/SampleEnvironment.cpp
Martyn Gigg's avatar
Martyn Gigg committed
69
	src/Instrument/SampleEnvironmentFactory.cpp
70
	src/Instrument/SampleEnvironmentSpec.cpp
Martyn Gigg's avatar
Martyn Gigg committed
71
	src/Instrument/SampleEnvironmentSpecParser.cpp
72
	src/Instrument/StructuredDetector.cpp
Michael Wedel's avatar
Michael Wedel committed
73
74
	src/Instrument/XMLInstrumentParameter.cpp
	src/MDGeometry/CompositeImplicitFunction.cpp
75
	src/MDGeometry/GeneralFrame.cpp
Owen Arnold's avatar
Owen Arnold committed
76
	src/MDGeometry/HKL.cpp
Michael Wedel's avatar
Michael Wedel committed
77
78
79
	src/MDGeometry/IMDDimension.cpp
	src/MDGeometry/IMDDimensionFactory.cpp
	src/MDGeometry/MDBoxImplicitFunction.cpp
80
	src/MDGeometry/MDFrameFactory.cpp
Michael Wedel's avatar
Michael Wedel committed
81
82
83
84
85
86
87
88
	src/MDGeometry/MDGeometryXMLBuilder.cpp
	src/MDGeometry/MDGeometryXMLParser.cpp
	src/MDGeometry/MDHistoDimension.cpp
	src/MDGeometry/MDHistoDimensionBuilder.cpp
	src/MDGeometry/MDImplicitFunction.cpp
	src/MDGeometry/MDPlane.cpp
	src/MDGeometry/MDPlaneImplicitFunction.cpp
	src/MDGeometry/NullImplicitFunction.cpp
Owen Arnold's avatar
Owen Arnold committed
89
	src/MDGeometry/QLab.cpp
90
	src/MDGeometry/QSample.cpp
91
	src/MDGeometry/UnknownFrame.cpp
Michael Wedel's avatar
Michael Wedel committed
92
93
94
95
	src/Math/Acomp.cpp
	src/Math/Algebra.cpp
	src/Math/BnId.cpp
	src/Math/ConvexPolygon.cpp
96
	src/Math/ConvexPolygonIterator.cpp
Michael Wedel's avatar
Michael Wedel committed
97
98
	src/Math/PolyBase.cpp
	src/Math/PolygonEdge.cpp
99
	src/Math/PolygonIntersection.cpp
Michael Wedel's avatar
Michael Wedel committed
100
101
102
103
104
	src/Math/Quadrilateral.cpp
	src/Math/RotCounter.cpp
	src/Math/Triple.cpp
	src/Math/mathSupport.cpp
	src/Objects/BoundingBox.cpp
105
	src/Objects/CSGObject.cpp
Michael Wedel's avatar
Michael Wedel committed
106
	src/Objects/InstrumentRayTracer.cpp
107
	src/Objects/MeshObject.cpp
Michael Wedel's avatar
Michael Wedel committed
108
109
110
111
112
	src/Objects/RuleItems.cpp
	src/Objects/Rules.cpp
	src/Objects/ShapeFactory.cpp
	src/Objects/Track.cpp
	src/Rendering/GeometryHandler.cpp
113
        src/Rendering/RenderingHelpers.cpp
Lamar Moore's avatar
Lamar Moore committed
114
        src/Rendering/ShapeInfo.cpp
Michael Wedel's avatar
Michael Wedel committed
115
116
	src/Rendering/vtkGeometryCacheReader.cpp
	src/Rendering/vtkGeometryCacheWriter.cpp
117
	src/Rendering/GeometryTriangulator.cpp
Michael Wedel's avatar
Michael Wedel committed
118
119
120
121
122
123
124
125
126
127
128
	src/Surfaces/Cone.cpp
	src/Surfaces/Cylinder.cpp
	src/Surfaces/General.cpp
	src/Surfaces/Line.cpp
	src/Surfaces/LineIntersectVisit.cpp
	src/Surfaces/Plane.cpp
	src/Surfaces/Quadratic.cpp
	src/Surfaces/Sphere.cpp
	src/Surfaces/Surface.cpp
	src/Surfaces/SurfaceFactory.cpp
	src/Surfaces/Torus.cpp
129
)
130

131
set ( SRC_UNITY_IGNORE_FILES src/Instrument/CompAssembly.cpp
Martyn Gigg's avatar
Martyn Gigg committed
132
  src/Instrument/ObjCompAssembly.cpp
133
)
Martyn Gigg's avatar
Martyn Gigg committed
134

135
set ( INC_FILES
Michael Wedel's avatar
Michael Wedel committed
136
	inc/MantidGeometry/ComponentParser.h
137
	inc/MantidGeometry/Crystal/BasicHKLFilters.h
138
139
	inc/MantidGeometry/Crystal/BraggScatterer.h
	inc/MantidGeometry/Crystal/BraggScattererFactory.h
140
	inc/MantidGeometry/Crystal/BraggScattererInCrystalStructure.h
Michael Wedel's avatar
Michael Wedel committed
141
	inc/MantidGeometry/Crystal/CenteringGroup.h
142
	inc/MantidGeometry/Crystal/CompositeBraggScatterer.h
143
	inc/MantidGeometry/Crystal/ConcretePeakTransformFactory.h
Michael Wedel's avatar
Michael Wedel committed
144
145
146
	inc/MantidGeometry/Crystal/ConventionalCell.h
	inc/MantidGeometry/Crystal/CrystalStructure.h
	inc/MantidGeometry/Crystal/CyclicGroup.h
Lynch, Vickie's avatar
Lynch, Vickie committed
147
	inc/MantidGeometry/Crystal/EdgePixel.h
Michael Wedel's avatar
Michael Wedel committed
148
	inc/MantidGeometry/Crystal/Group.h
149
	inc/MantidGeometry/Crystal/GroupTransformation.h
150
	inc/MantidGeometry/Crystal/HKLFilter.h
151
	inc/MantidGeometry/Crystal/HKLFilterWavelength.h
152
	inc/MantidGeometry/Crystal/HKLGenerator.h
153
	inc/MantidGeometry/Crystal/IPeak.h
Michael Wedel's avatar
Michael Wedel committed
154
	inc/MantidGeometry/Crystal/IndexingUtils.h
155
	inc/MantidGeometry/Crystal/IsotropicAtomBraggScatterer.h
156
	inc/MantidGeometry/Crystal/MatrixVectorPair.h
157
	inc/MantidGeometry/Crystal/MatrixVectorPairParser.h
Michael Wedel's avatar
Michael Wedel committed
158
159
	inc/MantidGeometry/Crystal/NiggliCell.h
	inc/MantidGeometry/Crystal/OrientedLattice.h
160
	inc/MantidGeometry/Crystal/PeakShape.h
Owen Arnold's avatar
Owen Arnold committed
161
	inc/MantidGeometry/Crystal/PeakTransform.h
162
163
164
165
166
167
	inc/MantidGeometry/Crystal/PeakTransformFactory.h
	inc/MantidGeometry/Crystal/PeakTransformHKL.h
	inc/MantidGeometry/Crystal/PeakTransformQLab.h
	inc/MantidGeometry/Crystal/PeakTransformQSample.h
	inc/MantidGeometry/Crystal/PeakTransformSelector.h
	inc/MantidGeometry/Crystal/PointGroup.h
Michael Wedel's avatar
Michael Wedel committed
168
169
170
171
	inc/MantidGeometry/Crystal/PointGroupFactory.h
	inc/MantidGeometry/Crystal/ProductOfCyclicGroups.h
	inc/MantidGeometry/Crystal/ReducedCell.h
	inc/MantidGeometry/Crystal/ReflectionCondition.h
172
	inc/MantidGeometry/Crystal/ReflectionGenerator.h
Michael Wedel's avatar
Michael Wedel committed
173
174
175
	inc/MantidGeometry/Crystal/ScalarUtils.h
	inc/MantidGeometry/Crystal/SpaceGroup.h
	inc/MantidGeometry/Crystal/SpaceGroupFactory.h
176
	inc/MantidGeometry/Crystal/StructureFactorCalculator.h
177
	inc/MantidGeometry/Crystal/StructureFactorCalculatorSummation.h
178
	inc/MantidGeometry/Crystal/SymmetryElement.h
179
	inc/MantidGeometry/Crystal/SymmetryElementFactory.h
Michael Wedel's avatar
Michael Wedel committed
180
181
182
183
184
185
186
187
188
	inc/MantidGeometry/Crystal/SymmetryOperation.h
	inc/MantidGeometry/Crystal/SymmetryOperationFactory.h
	inc/MantidGeometry/Crystal/SymmetryOperationSymbolParser.h
	inc/MantidGeometry/Crystal/UnitCell.h
	inc/MantidGeometry/Crystal/V3R.h
	inc/MantidGeometry/DllConfig.h
	inc/MantidGeometry/ICompAssembly.h
	inc/MantidGeometry/IComponent.h
	inc/MantidGeometry/IDetector.h
189
	inc/MantidGeometry/IDetector_fwd.h
Michael Wedel's avatar
Michael Wedel committed
190
191
192
193
	inc/MantidGeometry/IObjComponent.h
	inc/MantidGeometry/Instrument.h
	inc/MantidGeometry/Instrument/CompAssembly.h
	inc/MantidGeometry/Instrument/Component.h
194
195
	inc/MantidGeometry/Instrument/ComponentHelper.h
	inc/MantidGeometry/Instrument/ComponentInfo.h
196
197
	inc/MantidGeometry/Instrument/ComponentVisitor.h
	inc/MantidGeometry/Instrument/Container.h
Michael Wedel's avatar
Michael Wedel committed
198
199
	inc/MantidGeometry/Instrument/Detector.h
	inc/MantidGeometry/Instrument/DetectorGroup.h
200
	inc/MantidGeometry/Instrument/DetectorInfo.h
Michael Wedel's avatar
Michael Wedel committed
201
202
203
	inc/MantidGeometry/Instrument/FitParameter.h
	inc/MantidGeometry/Instrument/Goniometer.h
	inc/MantidGeometry/Instrument/IDFObject.h
204
205
	inc/MantidGeometry/Instrument/InstrumentDefinitionParser.h
	inc/MantidGeometry/Instrument/InstrumentVisitor.h
Michael Wedel's avatar
Michael Wedel committed
206
207
208
209
210
211
212
213
214
	inc/MantidGeometry/Instrument/ObjCompAssembly.h
	inc/MantidGeometry/Instrument/ObjComponent.h
	inc/MantidGeometry/Instrument/ParComponentFactory.h
	inc/MantidGeometry/Instrument/Parameter.h
	inc/MantidGeometry/Instrument/ParameterFactory.h
	inc/MantidGeometry/Instrument/ParameterMap.h
	inc/MantidGeometry/Instrument/RectangularDetector.h
	inc/MantidGeometry/Instrument/RectangularDetectorPixel.h
	inc/MantidGeometry/Instrument/ReferenceFrame.h
215
	inc/MantidGeometry/Instrument/SampleEnvironment.h
Martyn Gigg's avatar
Martyn Gigg committed
216
	inc/MantidGeometry/Instrument/SampleEnvironmentFactory.h
217
	inc/MantidGeometry/Instrument/SampleEnvironmentSpec.h
Martyn Gigg's avatar
Martyn Gigg committed
218
	inc/MantidGeometry/Instrument/SampleEnvironmentSpecParser.h
219
	inc/MantidGeometry/Instrument/StructuredDetector.h
Michael Wedel's avatar
Michael Wedel committed
220
	inc/MantidGeometry/Instrument/XMLInstrumentParameter.h
221
	inc/MantidGeometry/Instrument_fwd.h
222
223
	inc/MantidGeometry/Instrument/DetectorInfoIterator.h
	inc/MantidGeometry/Instrument/DetectorInfoItem.h
Michael Wedel's avatar
Michael Wedel committed
224
	inc/MantidGeometry/MDGeometry/CompositeImplicitFunction.h
225
	inc/MantidGeometry/MDGeometry/GeneralFrame.h
Owen Arnold's avatar
Owen Arnold committed
226
	inc/MantidGeometry/MDGeometry/HKL.h
Michael Wedel's avatar
Michael Wedel committed
227
228
229
230
	inc/MantidGeometry/MDGeometry/IMDDimension.h
	inc/MantidGeometry/MDGeometry/IMDDimensionFactory.h
	inc/MantidGeometry/MDGeometry/MDBoxImplicitFunction.h
	inc/MantidGeometry/MDGeometry/MDDimensionExtents.h
Owen Arnold's avatar
Owen Arnold committed
231
	inc/MantidGeometry/MDGeometry/MDFrame.h
232
	inc/MantidGeometry/MDGeometry/MDFrameFactory.h
Michael Wedel's avatar
Michael Wedel committed
233
234
235
236
237
238
239
240
241
242
243
	inc/MantidGeometry/MDGeometry/MDGeometryXMLBuilder.h
	inc/MantidGeometry/MDGeometry/MDGeometryXMLDefinitions.h
	inc/MantidGeometry/MDGeometry/MDGeometryXMLParser.h
	inc/MantidGeometry/MDGeometry/MDHistoDimension.h
	inc/MantidGeometry/MDGeometry/MDHistoDimensionBuilder.h
	inc/MantidGeometry/MDGeometry/MDImplicitFunction.h
	inc/MantidGeometry/MDGeometry/MDPlane.h
	inc/MantidGeometry/MDGeometry/MDPlaneImplicitFunction.h
	inc/MantidGeometry/MDGeometry/MDTypes.h
	inc/MantidGeometry/MDGeometry/MDWorkspaceConstants.h
	inc/MantidGeometry/MDGeometry/NullImplicitFunction.h
Owen Arnold's avatar
Owen Arnold committed
244
	inc/MantidGeometry/MDGeometry/QLab.h
245
	inc/MantidGeometry/MDGeometry/QSample.h
246
	inc/MantidGeometry/MDGeometry/UnknownFrame.h
Michael Wedel's avatar
Michael Wedel committed
247
248
249
250
251
252
253
	inc/MantidGeometry/Math/Acomp.h
	inc/MantidGeometry/Math/Algebra.h
	inc/MantidGeometry/Math/BnId.h
	inc/MantidGeometry/Math/ConvexPolygon.h
	inc/MantidGeometry/Math/MapSupport.h
	inc/MantidGeometry/Math/PolyBase.h
	inc/MantidGeometry/Math/PolygonEdge.h
254
	inc/MantidGeometry/Math/PolygonIntersection.h
Michael Wedel's avatar
Michael Wedel committed
255
256
257
258
259
	inc/MantidGeometry/Math/Quadrilateral.h
	inc/MantidGeometry/Math/RotCounter.h
	inc/MantidGeometry/Math/Triple.h
	inc/MantidGeometry/Math/mathSupport.h
	inc/MantidGeometry/Objects/BoundingBox.h
260
	inc/MantidGeometry/Objects/CSGObject.h
Karl Palmen's avatar
Karl Palmen committed
261
	inc/MantidGeometry/Objects/IObject.h
Michael Wedel's avatar
Michael Wedel committed
262
	inc/MantidGeometry/Objects/InstrumentRayTracer.h
Lamar Moore's avatar
Lamar Moore committed
263
        inc/MantidGeometry/Objects/MeshObject.h
Michael Wedel's avatar
Michael Wedel committed
264
265
266
267
	inc/MantidGeometry/Objects/Rules.h
	inc/MantidGeometry/Objects/ShapeFactory.h
	inc/MantidGeometry/Objects/Track.h
	inc/MantidGeometry/Rendering/GeometryHandler.h
268
    	inc/MantidGeometry/Rendering/RenderingHelpers.h
Lamar Moore's avatar
Lamar Moore committed
269
    	inc/MantidGeometry/Rendering/ShapeInfo.h
Michael Wedel's avatar
Michael Wedel committed
270
271
272
	inc/MantidGeometry/Rendering/OpenGL_Headers.h
	inc/MantidGeometry/Rendering/vtkGeometryCacheReader.h
	inc/MantidGeometry/Rendering/vtkGeometryCacheWriter.h
273
	inc/MantidGeometry/Rendering/GeometryTriangulator.h
Michael Wedel's avatar
Michael Wedel committed
274
	inc/MantidGeometry/Surfaces/BaseVisit.h
275
276
277
278
279
280
281
282
283
284
285
	inc/MantidGeometry/Surfaces/Cone.h
	inc/MantidGeometry/Surfaces/Cylinder.h
	inc/MantidGeometry/Surfaces/General.h
	inc/MantidGeometry/Surfaces/Line.h
	inc/MantidGeometry/Surfaces/LineIntersectVisit.h
	inc/MantidGeometry/Surfaces/Plane.h
	inc/MantidGeometry/Surfaces/Quadratic.h
	inc/MantidGeometry/Surfaces/Sphere.h
	inc/MantidGeometry/Surfaces/Surface.h
	inc/MantidGeometry/Surfaces/SurfaceFactory.h
	inc/MantidGeometry/Surfaces/Torus.h
286
)
287

288
set ( TEST_FILES
Michael Wedel's avatar
Michael Wedel committed
289
290
	AcompTest.h
	AlgebraTest.h
291
	BasicHKLFiltersTest.h
Michael Wedel's avatar
Michael Wedel committed
292
293
	BnIdTest.h
	BoundingBoxTest.h
294
295
296
	BraggScattererFactoryTest.h
	BraggScattererInCrystalStructureTest.h
	BraggScattererTest.h
297
	CSGObjectTest.h
Michael Wedel's avatar
Michael Wedel committed
298
299
	CenteringGroupTest.h
	CompAssemblyTest.h
300
301
	ComponentInfoTest.h
	ComponentParserTest.h
Michael Wedel's avatar
Michael Wedel committed
302
	ComponentTest.h
303
	CompositeBraggScattererTest.h
Michael Wedel's avatar
Michael Wedel committed
304
305
	CompositeImplicitFunctionTest.h
	ConeTest.h
306
	ContainerTest.h
Michael Wedel's avatar
Michael Wedel committed
307
	ConventionalCellTest.h
308
	ConvexPolygonIteratorTest.h
Owen Arnold's avatar
Owen Arnold committed
309
	ConvexPolygonTest.h
Michael Wedel's avatar
Michael Wedel committed
310
311
312
313
314
315
	CrystalStructureTest.h
	CyclicGroupTest.h
	CylinderTest.h
	DetectorGroupTest.h
	DetectorTest.h
	FitParameterTest.h
316
	GeneralFrameTest.h
Michael Wedel's avatar
Michael Wedel committed
317
318
319
	GeneralTest.h
	GoniometerTest.h
	GroupTest.h
320
	GroupTransformationTest.h
321
	HKLFilterTest.h
322
	HKLFilterWavelengthTest.h
323
	HKLGeneratorTest.h
Owen Arnold's avatar
Owen Arnold committed
324
	HKLTest.h
Michael Wedel's avatar
Michael Wedel committed
325
326
327
328
329
330
331
	IDFObjectTest.h
	IMDDimensionFactoryTest.h
	IMDDimensionTest.h
	IndexingUtilsTest.h
	InstrumentDefinitionParserTest.h
	InstrumentRayTracerTest.h
	InstrumentTest.h
332
	InstrumentVisitorTest.h
333
	IsotropicAtomBraggScattererTest.h
Michael Wedel's avatar
Michael Wedel committed
334
335
336
	LineIntersectVisitTest.h
	LineTest.h
	MDBoxImplicitFunctionTest.h
337
	MDFrameFactoryTest.h
Michael Wedel's avatar
Michael Wedel committed
338
339
340
341
342
343
344
345
	MDGeometryXMLParserTest.h
	MDHistoDimensionBuilderTest.h
	MDHistoDimensionTest.h
	MDImplicitFunctionTest.h
	MDPlaneImplicitFunctionTest.h
	MDPlaneTest.h
	MapSupportTest.h
	MathSupportTest.h
346
	MatrixVectorPairParserTest.h
347
	MatrixVectorPairTest.h
Karl Palmen's avatar
Karl Palmen committed
348
	MeshObjectTest.h
Michael Wedel's avatar
Michael Wedel committed
349
350
351
352
353
354
355
356
357
358
359
360
361
	NiggliCellTest.h
	NullImplicitFunctionTest.h
	ObjCompAssemblyTest.h
	ObjComponentTest.h
	OrientedLatticeTest.h
	ParCompAssemblyTest.h
	ParComponentFactoryTest.h
	ParDetectorTest.h
	ParInstrumentTest.h
	ParObjCompAssemblyTest.h
	ParObjComponentTest.h
	ParameterMapTest.h
	ParametrizedComponentTest.h
362
363
364
365
366
	PeakTransformHKLTest.h
	PeakTransformQLabTest.h
	PeakTransformQSampleTest.h
	PeakTransformSelectorTest.h
	PlaneTest.h
Michael Wedel's avatar
Michael Wedel committed
367
368
369
	PointGroupFactoryTest.h
	PointGroupTest.h
	PolygonEdgeTest.h
370
	PolygonIntersectionTest.h
Michael Wedel's avatar
Michael Wedel committed
371
	ProductOfCyclicGroupsTest.h
Owen Arnold's avatar
Owen Arnold committed
372
	QLabTest.h
373
	QSampleTest.h
Michael Wedel's avatar
Michael Wedel committed
374
375
376
377
378
379
	QuadrilateralTest.h
	RectangularDetectorPixelTest.h
	RectangularDetectorTest.h
	ReducedCellTest.h
	ReferenceFrameTest.h
	ReflectionConditionTest.h
380
	ReflectionGeneratorTest.h
Michael Wedel's avatar
Michael Wedel committed
381
382
383
384
385
386
387
388
	RotCounterTest.h
	RulesBoolValueTest.h
	RulesCompGrpTest.h
	RulesCompObjTest.h
	RulesIntersectionTest.h
	RulesSurfPointTest.h
	RulesTest.h
	RulesUnionTest.h
Martyn Gigg's avatar
Martyn Gigg committed
389
	SampleEnvironmentFactoryTest.h
390
	SampleEnvironmentSpecFileFinderTest.h
Martyn Gigg's avatar
Martyn Gigg committed
391
	SampleEnvironmentSpecParserTest.h
Martyn Gigg's avatar
Martyn Gigg committed
392
	SampleEnvironmentSpecTest.h
393
	SampleEnvironmentTest.h
Michael Wedel's avatar
Michael Wedel committed
394
395
	ScalarUtilsTest.h
	ShapeFactoryTest.h
Lamar Moore's avatar
Lamar Moore committed
396
        ShapeInfoTest.h
Michael Wedel's avatar
Michael Wedel committed
397
398
399
	SpaceGroupFactoryTest.h
	SpaceGroupTest.h
	SphereTest.h
400
	StructureFactorCalculatorSummationTest.h
401
	StructureFactorCalculatorTest.h
402
	StructuredDetectorTest.h
Michael Wedel's avatar
Michael Wedel committed
403
404
	SurfaceFactoryTest.h
	SurfaceTest.h
405
	SymmetryElementFactoryTest.h
406
	SymmetryElementTest.h
Michael Wedel's avatar
Michael Wedel committed
407
408
409
410
411
412
413
414
415
	SymmetryOperationFactoryTest.h
	SymmetryOperationSymbolParserTest.h
	SymmetryOperationTest.h
	TorusTest.h
	TrackTest.h
	TripleTest.h
	UnitCellTest.h
	V3RTest.h
	XMLInstrumentParameterTest.h
416
	DetectorInfoIteratorTest.h
417
)
418

419
set ( GMOCK_TEST_FILES
420
  MDGeometryXMLBuilderTest.h
421
422
)

423
424
425
426
427
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)
endif()
428

429
430
if(UNITY_BUILD)
  include(UnityBuild)
431
  enable_unity_build(Geometry SRC_FILES SRC_UNITY_IGNORE_FILES 10)
432
433
endif(UNITY_BUILD)

434
435
436
437
438
# A few defines needed for OpenCascade on the Mac
if ( APPLE )
  add_definitions ( -DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_IOMANIP )
endif ()

439
include_directories ( ${OPENGL_INCLUDE_DIR} ${TBB_INCLUDE_DIRS} )
440
441
442
include_directories ( ${GSL_INCLUDE_DIR} )


443
# Add a precompiled header where they are supported
444
enable_precompiled_headers( inc/MantidGeometry/PrecompiledHeader.h SRC_FILES )
445
# Add the target for this directory
446
add_library ( Geometry ${SRC_FILES} ${INC_FILES} )
447
# Set the name of the generated library
Martyn Gigg's avatar
Martyn Gigg committed
448
set_target_properties ( Geometry PROPERTIES OUTPUT_NAME MantidGeometry
449
                                            COMPILE_DEFINITIONS IN_MANTID_GEOMETRY )
450
451

if (OSX_VERSION VERSION_GREATER 10.8)
452
453
454
  set_target_properties(Geometry PROPERTIES INSTALL_RPATH "@loader_path/../MacOS")
elseif ( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
  set_target_properties(Geometry PROPERTIES INSTALL_RPATH "\$ORIGIN/../${LIB_DIR}")
Martyn Gigg's avatar
Martyn Gigg committed
455
endif ()
456

457
458
459
460
461
if (ENABLE_OPENCASCADE)
  target_include_directories(Geometry SYSTEM PRIVATE ${OPENCASCADE_INCLUDE_DIR})
endif ()


462
# Add to the 'Framework' group in VS
463
set_property ( TARGET Geometry PROPERTY FOLDER "MantidFramework" )
464

465
target_link_libraries ( Geometry LINK_PRIVATE ${TCMALLOC_LIBRARIES_LINKTIME} ${MANTIDLIBS} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} ${GSL_LIBRARIES} ${NEXUS_LIBRARIES} ${JSONCPP_LIBRARIES} )
466

467
468
target_link_libraries ( Geometry LINK_PUBLIC ${TBB_LIBRARIES} ${TBB_MALLOC_LIBRARIES} )

469
if (ENABLE_OPENCASCADE)
470
  target_link_libraries ( Geometry LINK_PRIVATE ${OPENCASCADE_LIBRARIES} )
471
endif ()
472

473
474
# Add the unit tests directory
add_subdirectory ( test )
475
476
477
478
479

###########################################################################
# Installation settings
###########################################################################

480
install ( TARGETS Geometry  ${SYSTEM_PACKAGE_TARGET} DESTINATION ${LIB_DIR} )