Skip to content

Commit

Permalink
remove debug output from cmake scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Dec 3, 2023
1 parent 8d00348 commit be2affd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 86 deletions.
51 changes: 0 additions & 51 deletions CHOLMOD/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,6 @@ file ( GLOB CHOLMOD_SOURCES "Check/cholmod_*.c" "Cholesky/cholmod_*.c"
if ( BUILD_SHARED_LIBS )
add_library ( CHOLMOD SHARED ${CHOLMOD_SOURCES} )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 1: ${dirs}" )
get_target_property(dirs CHOLMOD INCLUDE_DIRECTORIES)
message ( STATUS "target 1: ${dirs}" )

set_target_properties ( CHOLMOD PROPERTIES
VERSION ${CHOLMOD_VERSION_MAJOR}.${CHOLMOD_VERSION_MINOR}.${CHOLMOD_VERSION_SUB}
C_STANDARD 11
Expand All @@ -315,11 +310,6 @@ message ( STATUS "target 1: ${dirs}" )
$<INSTALL_INTERFACE:${SUITESPARSE_INCLUDEDIR}> )
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 2: ${dirs}" )
get_target_property(dirs CHOLMOD INCLUDE_DIRECTORIES)
message ( STATUS "target 2: ${dirs}" )

#-------------------------------------------------------------------------------
# static cholmod library properties
#-------------------------------------------------------------------------------
Expand Down Expand Up @@ -349,11 +339,6 @@ if ( BUILD_STATIC_LIBS )

endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 3: ${dirs}" )
get_target_property(dirs CHOLMOD INCLUDE_DIRECTORIES)
message ( STATUS "target 3: ${dirs}" )

#-------------------------------------------------------------------------------
# add the library dependencies
#-------------------------------------------------------------------------------
Expand All @@ -372,11 +357,6 @@ if ( BUILD_STATIC_LIBS )
endif ( )
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 4: ${dirs}" )
get_target_property(dirs CHOLMOD INCLUDE_DIRECTORIES)
message ( STATUS "target 4: ${dirs}" )

# AMD:
if ( BUILD_SHARED_LIBS )
target_link_libraries ( CHOLMOD PRIVATE SuiteSparse::AMD )
Expand All @@ -389,11 +369,6 @@ if ( BUILD_STATIC_LIBS )
endif ( )
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 5: ${dirs}" )
get_target_property(dirs CHOLMOD INCLUDE_DIRECTORIES)
message ( STATUS "target 5: ${dirs}" )

# COLAMD:
if ( BUILD_SHARED_LIBS )
target_link_libraries ( CHOLMOD PRIVATE SuiteSparse::COLAMD )
Expand All @@ -406,11 +381,6 @@ if ( BUILD_STATIC_LIBS )
endif ( )
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 6: ${dirs}" )
get_target_property(dirs CHOLMOD INCLUDE_DIRECTORIES)
message ( STATUS "target 6: ${dirs}" )

# CAMD and CCOLAMD:
if ( NOT NCAMD )
if ( BUILD_SHARED_LIBS )
Expand Down Expand Up @@ -438,11 +408,6 @@ if ( NOT NCAMD )
endif ( )
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 7: ${dirs}" )
get_target_property(dirs CHOLMOD INCLUDE_DIRECTORIES)
message ( STATUS "target 7: ${dirs}" )

# OpenMP:
if ( OpenMP_C_FOUND )
message ( STATUS "OpenMP C libraries: ${OpenMP_C_LIBRARIES}" )
Expand All @@ -462,11 +427,6 @@ else ( )
include ( SuiteSparse__thread )
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 8: ${dirs}" )
get_target_property(dirs CHOLMOD INCLUDE_DIRECTORIES)
message ( STATUS "target 8: ${dirs}" )

# libm:
if ( NOT WIN32 )
if ( BUILD_SHARED_LIBS )
Expand All @@ -477,12 +437,6 @@ if ( NOT WIN32 )
target_link_libraries ( CHOLMOD_static PRIVATE m )
endif ( )
endif ( )
list ( APPEND CHOLMOD_STATIC_LIBS "m" )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 9: ${dirs}" )
get_target_property(dirs CHOLMOD INCLUDE_DIRECTORIES)
message ( STATUS "target 9: ${dirs}" )

# BLAS and LAPACK: for the Supernodal Module
if ( NOT NSUPERNODAL )
Expand Down Expand Up @@ -829,11 +783,6 @@ endif ( )
# report status
#-------------------------------------------------------------------------------

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 10: ${dirs}" )
get_target_property(dirs CHOLMOD INCLUDE_DIRECTORIES)
message ( STATUS "target 10: ${dirs}" )

if ( NOT SUITESPARSE_ROOT_CMAKELISTS )
include ( SuiteSparseReport )
endif ( )
35 changes: 0 additions & 35 deletions SuiteSparse_config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ file ( GLOB SUITESPARSECONFIG_SOURCES "*.c" )
if ( BUILD_SHARED_LIBS )
add_library ( SuiteSparseConfig SHARED ${SUITESPARSECONFIG_SOURCES} )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 1: ${dirs}" )
get_target_property(dirs SuiteSparseConfig INCLUDE_DIRECTORIES)
message ( STATUS "target 1: ${dirs}" )

set_target_properties ( SuiteSparseConfig PROPERTIES
VERSION ${SUITESPARSE_VERSION_MAJOR}.${SUITESPARSE_VERSION_MINOR}.${SUITESPARSE_VERSION_SUB}
C_STANDARD 11
Expand All @@ -107,11 +102,6 @@ message ( STATUS "target 1: ${dirs}" )
$<INSTALL_INTERFACE:${SUITESPARSE_INCLUDEDIR}> )
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 2: ${dirs}" )
get_target_property(dirs SuiteSparseConfig INCLUDE_DIRECTORIES)
message ( STATUS "target 2: ${dirs}" )

#-------------------------------------------------------------------------------
# static SuiteSparseConfig library properties
#-------------------------------------------------------------------------------
Expand All @@ -135,11 +125,6 @@ if ( BUILD_STATIC_LIBS )
$<INSTALL_INTERFACE:${SUITESPARSE_INCLUDEDIR}> )
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 3: ${dirs}" )
get_target_property(dirs SuiteSparseConfig INCLUDE_DIRECTORIES)
message ( STATUS "target 3: ${dirs}" )

#-------------------------------------------------------------------------------
# add the library dependencies
#-------------------------------------------------------------------------------
Expand All @@ -154,11 +139,6 @@ if ( NOT WIN32 )
endif ( )
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 4: ${dirs}" )
get_target_property(dirs SuiteSparseConfig INCLUDE_DIRECTORIES)
message ( STATUS "target 4: ${dirs}" )

# OpenMP:
if ( OpenMP_C_FOUND )
message ( STATUS "OpenMP C libraries: ${OpenMP_C_LIBRARIES} ")
Expand All @@ -174,11 +154,6 @@ if ( OpenMP_C_FOUND )
endif ( )
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 5: ${dirs}" )
get_target_property(dirs SuiteSparseConfig INCLUDE_DIRECTORIES)
message ( STATUS "target 5: ${dirs}" )

# BLAS:
if ( BLAS_FOUND )
# SuiteSparse_config does not itself require the BLAS. It just needs to
Expand All @@ -189,11 +164,6 @@ if ( BLAS_FOUND )
message ( STATUS "BLAS include: ${BLAS_INCLUDE_DIRS} ")
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 6: ${dirs}" )
get_target_property(dirs SuiteSparseConfig INCLUDE_DIRECTORIES)
message ( STATUS "target 6: ${dirs}" )

#-------------------------------------------------------------------------------
# SuiteSparseConfig installation location
#-------------------------------------------------------------------------------
Expand Down Expand Up @@ -278,11 +248,6 @@ endif ( )
# report status
#-------------------------------------------------------------------------------

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "inc 7: ${dirs}" )
get_target_property(dirs SuiteSparseConfig INCLUDE_DIRECTORIES)
message ( STATUS "target 7: ${dirs}" )

if ( NOT SUITESPARSE_ROOT_CMAKELISTS )
include ( SuiteSparseReport )
endif ( )

0 comments on commit be2affd

Please sign in to comment.