allow to enalbe wich parts of DKS to compile trough cmake flags
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user