-
Notifications
You must be signed in to change notification settings - Fork 122
/
CMakeLists.txt
108 lines (97 loc) · 3.72 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
set ( SRC_FILES
src/AlignAndFocusPowder.cpp
src/ComputeSensitivity.cpp
src/DgsAbsoluteUnitsReduction.cpp
src/DgsConvertToEnergyTransfer.cpp
src/DgsDiagnose.cpp
src/DgsPreprocessData.cpp
src/DgsProcessDetectorVanadium.cpp
src/DgsReduction.cpp
src/DgsRemap.cpp
src/EQSANSDarkCurrentSubtraction.cpp
src/EQSANSInstrument.cpp
src/EQSANSLoad.cpp
src/EQSANSMonitorTOF.cpp
src/EQSANSPatchSensitivity.cpp
src/EQSANSQ2D.cpp
src/HFIRDarkCurrentSubtraction.cpp
src/HFIRInstrument.cpp
src/HFIRLoad.cpp
src/HFIRSANSNormalise.cpp
src/MuonCalculateAsymmetry.cpp
src/MuonLoad.cpp
src/RefReduction.cpp
src/RefRoi.cpp
src/SANSBeamFinder.cpp
src/SANSBeamFluxCorrection.cpp
src/SANSSensitivityCorrection.cpp
src/SANSSolidAngleCorrection.cpp
src/SetupEQSANSReduction.cpp
src/SetupILLD33Reduction.cpp
src/SetupHFIRReduction.cpp
src/StepScan.cpp
src/WorkflowAlgorithmHelpers.cpp
)
set ( SRC_UNITY_IGNORE_FILES
)
set ( INC_FILES
inc/MantidWorkflowAlgorithms/AlignAndFocusPowder.h
inc/MantidWorkflowAlgorithms/ComputeSensitivity.h
inc/MantidWorkflowAlgorithms/DgsAbsoluteUnitsReduction.h
inc/MantidWorkflowAlgorithms/DgsConvertToEnergyTransfer.h
inc/MantidWorkflowAlgorithms/DgsDiagnose.h
inc/MantidWorkflowAlgorithms/DgsPreprocessData.h
inc/MantidWorkflowAlgorithms/DgsProcessDetectorVanadium.h
inc/MantidWorkflowAlgorithms/DgsReduction.h
inc/MantidWorkflowAlgorithms/DgsRemap.h
inc/MantidWorkflowAlgorithms/EQSANSDarkCurrentSubtraction.h
inc/MantidWorkflowAlgorithms/EQSANSInstrument.h
inc/MantidWorkflowAlgorithms/EQSANSLoad.h
inc/MantidWorkflowAlgorithms/EQSANSMonitorTOF.h
inc/MantidWorkflowAlgorithms/EQSANSPatchSensitivity.h
inc/MantidWorkflowAlgorithms/EQSANSQ2D.h
inc/MantidWorkflowAlgorithms/EQSANSReduce.h
inc/MantidWorkflowAlgorithms/HFIRDarkCurrentSubtraction.h
inc/MantidWorkflowAlgorithms/HFIRInstrument.h
inc/MantidWorkflowAlgorithms/HFIRLoad.h
inc/MantidWorkflowAlgorithms/HFIRSANSNormalise.h
inc/MantidWorkflowAlgorithms/MuonCalculateAsymmetry.h
inc/MantidWorkflowAlgorithms/MuonLoad.h
inc/MantidWorkflowAlgorithms/RefReduction.h
inc/MantidWorkflowAlgorithms/RefRoi.h
inc/MantidWorkflowAlgorithms/SANSBeamFinder.h
inc/MantidWorkflowAlgorithms/SANSBeamFluxCorrection.h
inc/MantidWorkflowAlgorithms/SANSSensitivityCorrection.h
inc/MantidWorkflowAlgorithms/SANSSolidAngleCorrection.h
inc/MantidWorkflowAlgorithms/SetupEQSANSReduction.h
inc/MantidWorkflowAlgorithms/SetupILLD33Reduction.h
inc/MantidWorkflowAlgorithms/SetupHFIRReduction.h
inc/MantidWorkflowAlgorithms/StepScan.h
inc/MantidWorkflowAlgorithms/WorkflowAlgorithmHelpers.h
)
set ( TEST_FILES
MuonCalculateAsymmetryTest.h
MuonLoadTest.h
SANSSolidAngleCorrectionTest.h
StepScanTest.h
)
if(UNITY_BUILD)
include(UnityBuild)
enable_unity_build(WorkflowAlgorithms SRC_FILES SRC_UNITY_IGNORE_FILES 10)
endif(UNITY_BUILD)
# Use a precompiled header where they are supported
enable_precompiled_headers( inc/MantidWorkflowAlgorithms/PrecompiledHeader.h SRC_FILES )
# Add the target for this directory
add_library ( WorkflowAlgorithms ${SRC_FILES} ${INC_FILES})
# Set the name of the generated library
set_target_properties ( WorkflowAlgorithms PROPERTIES OUTPUT_NAME MantidWorkflowAlgorithms )
# Add to the 'Framework' group in VS
set_property ( TARGET WorkflowAlgorithms PROPERTY FOLDER "MantidFramework" )
include_directories ( inc ../Nexus/inc )
target_link_libraries ( WorkflowAlgorithms ${MANTIDLIBS} Nexus ${GSL_LIBRARIES} )
# Add the unit tests directory
add_subdirectory ( test )
###########################################################################
# Installation settings
###########################################################################
install ( TARGETS WorkflowAlgorithms ${SYSTEM_PACKAGE_TARGET} DESTINATION ${PLUGINS_DIR} )