###
#
# @file          : CMakeLists.txt
#
# @description   : Project MORSE
#
# @version       :
# @created by    : Cedric Castagnede
# @creation date : 24-01-2012
# @last modified : mar. 29 mai 2012 10:25:55 CEST
#
###

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)


#############################################
#                                           #
#        Compilation of the MORSE           #
#                                           #
#############################################

# Generate documentation
# ----------------------
ADD_SUBDIRECTORY(docs)

# Calling tests
# -------------
IF(SCALFMM)
    INCLUDE(testingSCALFMM)
    ADD_TESTING_SCALFMM()
ENDIF(SCALFMM)

IF(SCALFMM_MORSE)
    INCLUDE(testingSCALFMM_MORSE)
    ADD_TESTING_SCALFMM_MORSE()
ENDIF(SCALFMM_MORSE)

# installation
# ------------
INSTALL(FILES include/scalfmm_morse.h
        DESTINATION include)

###
### END CMakeLists.txt
###
