2015-02-13 19:00:14 +01:00
|
|
|
message( STATUS "------------------ General configuration for ${PROJECT_NAME} ${VERSION} -----------------")
|
|
|
|
message( STATUS )
|
|
|
|
message( STATUS "CMake Generator = ${CMAKE_GENERATOR}")
|
|
|
|
message( STATUS "Compiler = ${CMAKE_CXX_COMPILER_ID}")
|
|
|
|
message( STATUS "Build type = ${CMAKE_BUILD_TYPE}")
|
|
|
|
message( STATUS "CMAKE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX}" )
|
|
|
|
message( STATUS "C++ flags (General) = ${CMAKE_CXX_FLAGS}")
|
|
|
|
message( STATUS "C++ flags (Release) = ${CMAKE_CXX_FLAGS_RELEASE}")
|
|
|
|
message( STATUS "C++ flags (Debug) = ${CMAKE_CXX_FLAGS_DEBUG}")
|
|
|
|
get_directory_property( DirDefs DIRECTORY ${CMAKE_SOURCE_DIR} COMPILE_DEFINITIONS )
|
|
|
|
foreach( d ${DirDefs} )
|
|
|
|
message( STATUS "Found Define: " ${d} )
|
|
|
|
endforeach()
|
|
|
|
message( STATUS )
|
|
|
|
message( STATUS "---------------------------------------------------------" )
|
|
|
|
message( STATUS "USE_CLANG = ${USE_CLANG}" )
|
|
|
|
message( STATUS "USE_ANALYZE = ${USE_ANALYZE}" )
|
|
|
|
message( STATUS "ANALYZE_MEMORY = ${ANALYZE_MEMORY}" )
|
|
|
|
message( STATUS "ANALYZE_ADDRESS = ${ANALYZE_ADDRESS}" )
|
|
|
|
message( STATUS "ANALYZE_THREAD = ${ANALYZE_THREAD}" )
|
|
|
|
message( STATUS "ANALYZE_UNDEFINED = ${ANALYZE_UNDEFINED}" )
|
|
|
|
message( STATUS "ANALYZE_DATAFLOW = ${ANALYZE_DATAFLOW}" )
|
|
|
|
message( STATUS "WARNINGS_ANSI_ISO = ${WARNINGS_ANSI_ISO}" )
|
|
|
|
message( STATUS "WARNINGS_ARE_ERRORS = ${WARNINGS_ARE_ERRORS}" )
|
|
|
|
message( STATUS )
|
2015-07-23 10:49:53 +02:00
|
|
|
message( STATUS "USE_MATCHCOMPILER = ${USE_MATCHCOMPILER}" )
|
|
|
|
message( STATUS "USE_MATCHCOMPILER_OPT = ${USE_MATCHCOMPILER_OPT}" )
|
|
|
|
message( STATUS )
|
2019-06-26 07:41:48 +02:00
|
|
|
if(NOT DEFINED BUILD_SHARED_LIBS)
|
|
|
|
message( STATUS "BUILD_SHARED_LIBS = OFF" )
|
|
|
|
else()
|
|
|
|
message( STATUS "BUILD_SHARED_LIBS = ${BUILD_SHARED_LIBS}" )
|
|
|
|
endif(NOT DEFINED BUILD_SHARED_LIBS)
|
2015-02-13 19:00:14 +01:00
|
|
|
message( STATUS "BUILD_TESTS = ${BUILD_TESTS}" )
|
|
|
|
message( STATUS "BUILD_GUI = ${BUILD_GUI}" )
|
2019-05-17 10:17:51 +02:00
|
|
|
message( STATUS "WITH_QCHART = ${WITH_QCHART}" )
|
2015-02-13 19:00:14 +01:00
|
|
|
message( STATUS )
|
|
|
|
message( STATUS "HAVE_RULES = ${HAVE_RULES}" )
|
|
|
|
message( STATUS )
|
|
|
|
message( STATUS "Change a value with: cmake -D<Variable>=<Value>" )
|
|
|
|
message( STATUS )
|
|
|
|
if(${USE_ANALYZE})
|
|
|
|
message( STATUS "------------------- Run static analyzer ----------------------" )
|
|
|
|
message( STATUS "##############################")
|
|
|
|
message( STATUS "RUN: scan-build make" )
|
|
|
|
message( STATUS "##############################")
|
|
|
|
message( STATUS )
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(${ANALYZE_ADDRESS})
|
|
|
|
message("##########################################################")
|
2015-03-30 16:41:53 +02:00
|
|
|
message(STATUS "For better visualization change environment variable: ASAN_SYMBOLIZER_PATH=/path/to/llvm-symbolizer")
|
|
|
|
message(STATUS "Detect memory leaks, change environment variable: ASAN_OPTIONS=\"detect_leaks=1\"")
|
2015-02-13 19:00:14 +01:00
|
|
|
message("##########################################################")
|
|
|
|
endif()
|