CMakeLists.txt 1.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
###
#
# @copyright (c) 2009-2014 The University of Tennessee and The University 
#                          of Tennessee Research Foundation. 
#                          All rights reserved.
# @copyright (c) 2012-2014 Inria. All rights reserved.
# @copyright (c) 2012-2014 IPB. All rights reserved. 
#
###
#
#  @file CMakeLists.txt
#
#  @project MORSE
#  MORSE is a software package provided by:
#     Inria Bordeaux - Sud-Ouest,
#     Univ. of Tennessee,
#     King Abdullah Univesity of Science and Technology
#     Univ. of California Berkeley,
#     Univ. of Colorado Denver. 
# 
21
#  @version 0.9.0
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
#  @author Cedric Castagnede
#  @author Emmanuel Agullo
#  @author Mathieu Faverge
#  @date 13-07-2012
#   
###

cmake_minimum_required(VERSION 2.8)

# Generate the morse headers for all possible precisions
# ------------------------------------------------------
set(QUARKBLAS_HEADERS_GENERATED "")
set(ZHDR 
    quark_zblas.h
    quark_zcblas.h
)

precisions_rules_py(QUARKBLAS_HEADERS_GENERATED "${ZHDR}"
40
                    PRECISIONS "${CHAMELEON_PRECISION}"
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
                    DICTIONARY "MORSE")

# Define the list of headers
# --------------------------
set(QUARKBLAS_HEADERS
    core_blas_dag.h
    morse_quark.h
    quark_blas.h
    ${QUARKBLAS_HEADERS_GENERATED}
    )

# Force generation of headers
# ---------------------------
add_custom_target(quarkblas_include ALL SOURCES ${QUARKBLAS_HEADERS})

# installation
# ------------
install(FILES ${MORSE_HEADERS} 
        DESTINATION include)

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