CMakeLists.txt 15.9 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
114
        src/Rendering/RenderingHelpers.cpp
        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
Michael Wedel's avatar
Michael Wedel committed
222
	inc/MantidGeometry/MDGeometry/CompositeImplicitFunction.h
223
	inc/MantidGeometry/MDGeometry/GeneralFrame.h
Owen Arnold's avatar
Owen Arnold committed
224
	inc/MantidGeometry/MDGeometry/HKL.h
Michael Wedel's avatar
Michael Wedel committed
225
226
227
228
	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
229
	inc/MantidGeometry/MDGeometry/MDFrame.h
230
	inc/MantidGeometry/MDGeometry/MDFrameFactory.h
Michael Wedel's avatar
Michael Wedel committed
231
232
233
234
235
236
237
238
239
240
241
	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
242
	inc/MantidGeometry/MDGeometry/QLab.h
243
	inc/MantidGeometry/MDGeometry/QSample.h
244
	inc/MantidGeometry/MDGeometry/UnknownFrame.h
Michael Wedel's avatar
Michael Wedel committed
245
246
247
248
249
250
251
	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
252
	inc/MantidGeometry/Math/PolygonIntersection.h
Michael Wedel's avatar
Michael Wedel committed
253
254
255
256
257
	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
258
	inc/MantidGeometry/Objects/CSGObject.h
Karl Palmen's avatar
Karl Palmen committed
259
	inc/MantidGeometry/Objects/IObject.h
Michael Wedel's avatar
Michael Wedel committed
260
	inc/MantidGeometry/Objects/InstrumentRayTracer.h
261
        inc/MantidGeometry/Objects/MeshObject.h
Michael Wedel's avatar
Michael Wedel committed
262
263
264
265
	inc/MantidGeometry/Objects/Rules.h
	inc/MantidGeometry/Objects/ShapeFactory.h
	inc/MantidGeometry/Objects/Track.h
	inc/MantidGeometry/Rendering/GeometryHandler.h
266
267
    	inc/MantidGeometry/Rendering/RenderingHelpers.h
    	inc/MantidGeometry/Rendering/ShapeInfo.h
Michael Wedel's avatar
Michael Wedel committed
268
269
270
	inc/MantidGeometry/Rendering/OpenGL_Headers.h
	inc/MantidGeometry/Rendering/vtkGeometryCacheReader.h
	inc/MantidGeometry/Rendering/vtkGeometryCacheWriter.h
271
	inc/MantidGeometry/Rendering/GeometryTriangulator.h
Michael Wedel's avatar
Michael Wedel committed
272
	inc/MantidGeometry/Surfaces/BaseVisit.h
273
274
275
276
277
278
279
280
281
282
283
	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
284
)
285

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

416
set ( GMOCK_TEST_FILES
417
  MDGeometryXMLBuilderTest.h
418
419
)

420
421
422
423
424
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()
425

426
427
if(UNITY_BUILD)
  include(UnityBuild)
428
  enable_unity_build(Geometry SRC_FILES SRC_UNITY_IGNORE_FILES 10)
429
430
endif(UNITY_BUILD)

431
432
433
434
435
# A few defines needed for OpenCascade on the Mac
if ( APPLE )
  add_definitions ( -DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_IOMANIP )
endif ()

436
include_directories ( ${OPENGL_INCLUDE_DIR} ${TBB_INCLUDE_DIRS} )
437
438
439
include_directories ( ${GSL_INCLUDE_DIR} )


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

if (OSX_VERSION VERSION_GREATER 10.8)
449
450
451
  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
452
endif ()
453

454
455
456
457
458
if (ENABLE_OPENCASCADE)
  target_include_directories(Geometry SYSTEM PRIVATE ${OPENCASCADE_INCLUDE_DIR})
endif ()


459
# Add to the 'Framework' group in VS
460
set_property ( TARGET Geometry PROPERTY FOLDER "MantidFramework" )
461

462
target_link_libraries ( Geometry LINK_PRIVATE ${TCMALLOC_LIBRARIES_LINKTIME} ${MANTIDLIBS}  ${OPENGL_LIBRARIES} ${GSL_LIBRARIES} ${NEXUS_LIBRARIES} ${JSONCPP_LIBRARIES} )
463

464
465
target_link_libraries ( Geometry LINK_PUBLIC ${TBB_LIBRARIES} ${TBB_MALLOC_LIBRARIES} )

466
if (ENABLE_OPENCASCADE)
467
  target_link_libraries ( Geometry LINK_PRIVATE ${OPENCASCADE_LIBRARIES} )
468
endif ()
469

470
471
# Add the unit tests directory
add_subdirectory ( test )
472
473
474
475
476

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

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