###
#
# @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(PASTIX)
    INCLUDE(testingPASTIX)
    ADD_TESTING_PASTIX()
ENDIF(PASTIX)

IF(PASTIX_MORSE)
    INCLUDE(testingPASTIX_MORSE)
    ADD_TESTING_PASTIX_MORSE()
ENDIF(PASTIX_MORSE)

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

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