File: SuiteSparseReport.cmake

package info (click to toggle)
suitesparse 1%3A7.10.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 254,920 kB
  • sloc: ansic: 1,134,743; cpp: 46,133; makefile: 4,875; fortran: 2,087; java: 1,826; sh: 996; ruby: 725; python: 495; asm: 371; sed: 166; awk: 44
file content (46 lines) | stat: -rw-r--r-- 2,440 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#-------------------------------------------------------------------------------
# SuiteSparse/SuiteSparse_config/SuiteSparseReport.cmake
#-------------------------------------------------------------------------------

# Copyright (c) 2012-2023, Timothy A. Davis.  All Rights Reserved.
# SPDX-License-Identifier: BSD-3-clause

#-------------------------------------------------------------------------------
# report status and compile flags
#-------------------------------------------------------------------------------

message ( STATUS "------------------------------------------------------------------------" )
message ( STATUS "SuiteSparse CMAKE report for: ${PROJECT_NAME}" )
message ( STATUS "------------------------------------------------------------------------" )
if ( NOT SUITESPARSE_ROOT_CMAKELISTS )
    message ( STATUS "inside common SuiteSparse root:  ${INSIDE_SUITESPARSE}" )
    message ( STATUS "install in SuiteSparse/lib and SuiteSparse/include: ${SUITESPARSE_LOCAL_INSTALL}" )
endif ( )
message ( STATUS "build type:           ${CMAKE_BUILD_TYPE}" )
message ( STATUS "BUILD_SHARED_LIBS:    ${BUILD_SHARED_LIBS}" )
message ( STATUS "BUILD_STATIC_LIBS:    ${BUILD_STATIC_LIBS}" )
message ( STATUS "C compiler:           ${CMAKE_C_COMPILER} ")
message ( STATUS "C flags:              ${CMAKE_C_FLAGS}" )
message ( STATUS "C++ compiler:         ${CMAKE_CXX_COMPILER}" )
message ( STATUS "C++ flags:            ${CMAKE_CXX_FLAGS}" )
if ( ${CMAKE_BUILD_TYPE} STREQUAL "Debug" )
    message ( STATUS "C Flags debug:        ${CMAKE_C_FLAGS_DEBUG} ")
    message ( STATUS "C++ Flags debug:      ${CMAKE_CXX_FLAGS_DEBUG} ")
else ( )
    message ( STATUS "C Flags release:      ${CMAKE_C_FLAGS_RELEASE} ")
    message ( STATUS "C++ Flags release:    ${CMAKE_CXX_FLAGS_RELEASE} ")
endif ( )
if ( SUITESPARSE_HAS_FORTRAN )
    message ( STATUS "Fortran compiler:     ${CMAKE_Fortran_COMPILER} " )
else ( )
    message ( STATUS "Fortran compiler:     none" )
endif ( )
get_property ( CDEFN DIRECTORY PROPERTY COMPILE_DEFINITIONS )
message ( STATUS "compile definitions:  ${CDEFN}")
if ( DEFINED SuiteSparse_BLAS_integer )
    message ( STATUS "BLAS integer:         ${SuiteSparse_BLAS_integer}" )
endif ( )
if ( DEFINED CMAKE_CUDA_ARCHITECTURES )
    message ( STATUS "CUDA architectures:   ${CMAKE_CUDA_ARCHITECTURES}" )
endif ( )
message ( STATUS "------------------------------------------------------------------------" )