29 lines
496 B
CMake
29 lines
496 B
CMake
SET (_SRCS MICBase.cpp MICFFT.cpp)
|
|
SET (_HDRS MICBase.h MICFFT.h)
|
|
|
|
IF (ENABLE_OPAL)
|
|
SET (_SRCS
|
|
${_SRCS}
|
|
MICChiSquare.cpp
|
|
MICGreensFunction.cpp
|
|
MICCollimatorPhysics.cpp
|
|
)
|
|
|
|
SET (_HDRS
|
|
${_HDRS}
|
|
MICChiSquare.h
|
|
MICCollimatorPhysics.h
|
|
MICGreensFunction.hpp
|
|
MICMergeSort.h
|
|
)
|
|
ENDIF (ENABLE_OPAL)
|
|
|
|
#INCLUDE_DIRECTORIES (
|
|
# ${CMAKE_CURRENT_SOURCE_DIR}
|
|
#)
|
|
|
|
ADD_SOURCES (${_SRCS})
|
|
ADD_HEADERS (${_HDRS})
|
|
|
|
INSTALL(FILES ${_HDRS} DESTINATION include/MIC)
|