X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b1e6ab395496524b308731bc4e006916ad43efa4..d1181eb8d2c8e9b1d3250fb78cba6b67769eecee:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f5dd8b54a..1276c4d157 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -281,7 +281,7 @@ else() set(CMAKE_REQUIRED_DEFINITIONS "-D_GNU_SOURCE") endif() -CHECK_INCLUDE_FILE("valgrind/valgrind.h" HAVE_VALGRIND_VALGRIND_H) +CHECK_INCLUDE_FILE("valgrind/valgrind.h" HAVE_VALGRIND_H) CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H) CHECK_INCLUDE_FILE("execinfo.h" HAVE_EXECINFO_H) CHECK_INCLUDE_FILE("signal.h" HAVE_SIGNAL_H) @@ -867,12 +867,22 @@ endif() message("") message("##########################################") message("#### Content of src/internal_config.h ####") +message("##########################################") file(STRINGS ${CMAKE_CURRENT_BINARY_DIR}/src/internal_config.h config_output) LIST(REMOVE_AT config_output 0 1 2 3 4 5 6 7 8) # Pass the file header foreach(line ${config_output}) message(" ${line}") endforeach() -message("#### end of src/internal_config.h ####") +message("##########################################") +message("#### Content of simgrid_config.h ####") +message("##########################################") +file(STRINGS ${CMAKE_CURRENT_BINARY_DIR}/include/simgrid_config.h config_output) +LIST(REMOVE_AT config_output 0 1 2 3 4 5 6 7 8 9 -1) # Pass the file header +foreach(line ${config_output}) + message(" ${line}") +endforeach() +message("##########################################") +message("#### End of configuration headers ####") message("##########################################") message("\nConfiguration of package `simgrid':")