allow to enalbe wich parts of DKS to compile trough cmake flags

This commit is contained in:
Uldis Locans
2017-02-28 15:07:22 +01:00
parent eee9dfd89e
commit 47fe8e8e52
6 changed files with 106 additions and 86 deletions

View File

@@ -1,19 +1,24 @@
SET (_SRCS
MICBase.cpp
MICChiSquare.cpp
MICFFT.cpp
MICGreensFunction.cpp
MICCollimatorPhysics.cpp
)
SET (_SRCS MICBase.cpp)
SET (_HDRS MICBase.h)
SET (_HDRS
MICBase.h
MICChiSquare.h
MICFFT.h
MICCollimatorPhysics.h
MICGreensFunction.hpp
MICMergeSort.h
)
IF (ENABLE_OPAL)
SET (_SRCS
${_SRCS}
MICChiSquare.cpp
MICFFT.cpp
MICGreensFunction.cpp
MICCollimatorPhysics.cpp
)
SET (_HDRS
${_HDRS}
MICChiSquare.h
MICFFT.h
MICCollimatorPhysics.h
MICGreensFunction.hpp
MICMergeSort.h
)
ENDIF (ENABLE_OPAL)
#INCLUDE_DIRECTORIES (
# ${CMAKE_CURRENT_SOURCE_DIR}