System : Use appropriate mode when displaying a cmake message

This commit is contained in:
Magne Sjaastad 2019-04-08 12:31:20 +02:00
parent dcac03dfd1
commit 387d7cf7c2
6 changed files with 11 additions and 11 deletions

View File

@ -27,7 +27,7 @@ CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/ApplicationCode/Adm/RiaVersionInfo.h.cmake
if (MSVC AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19.11))
# VS 2017 : Disable warnings from from gtest code, using deprecated code related to TR1
add_definitions(-D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING)
message("Add flag to disable warings from gtest - _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
message(STATUS "Add flag to disable warings from gtest - _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
endif()
include_directories(

View File

@ -69,7 +69,7 @@ mark_as_advanced(FORCE RESINSIGHT_ENABLE_COTIRE)
if(RESINSIGHT_ENABLE_COTIRE)
if(NOT COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES)
message("cotire: Setting default number of includes to 5")
message(STATUS "cotire: Setting default number of includes to 5")
set(COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES 5)
endif()
@ -266,7 +266,7 @@ if (Qt5Core_FOUND)
find_package (Qt5 CONFIG REQUIRED Core Widgets OpenGL Network Script ScriptTools)
else()
if (RESINSIGHT_BUILD_WITH_QT5)
message("Could not find Qt5. Trying with Qt4")
message(WARNING "Could not find Qt5. Trying with Qt4")
endif(RESINSIGHT_BUILD_WITH_QT5)
find_package(Qt4 COMPONENTS QtCore QtGui QtMain REQUIRED)
if (QT_VERSION_MINOR LESS 6)
@ -349,9 +349,9 @@ if (CMAKE_COMPILER_IS_GNUCC)
endif()
if (HAVE_GCC_SYNC_FUNCTIONS)
message("GCC synchronization functions detected")
message(STATUS "GCC synchronization functions detected")
else()
message("GCC synchronization functions NOT detected, fallback to non threadsafe reference counting")
message(STATUS "GCC synchronization functions NOT detected, fallback to non threadsafe reference counting")
add_definitions(-DCVF_USE_NON_THREADSAFE_REFERENCE_COUNT)
endif()
@ -508,11 +508,11 @@ endif (RESINSIGHT_HDF5_BUNDLE_LIBRARIES)
add_subdirectory(ApplicationCode)
if (OCTAVE_MKOCTFILE)
message ("Adding OctavePlugin library")
message (STATUS "Adding OctavePlugin library")
add_subdirectory(OctavePlugin)
else (OCTAVE_MKOCTFILE)
message ("Could not find OCTAVE_MKOCTFILE, skipping OctavePlugin library")
message (STATUS "Could not find OCTAVE_MKOCTFILE, skipping OctavePlugin library")
endif(OCTAVE_MKOCTFILE)
################################################################################

View File

@ -13,7 +13,7 @@ endif(Qt5Core_FOUND)
if (MSVC AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19.11))
# VS 2017 : Disable warnings from from gtest code, using deprecated code related to TR1
add_definitions(-D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING)
message("Add flag to disable warings from gtest - _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
message(STATUS "Add flag to disable warings from gtest - _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
endif()
include_directories (

View File

@ -13,7 +13,7 @@ endif(Qt5Core_FOUND)
if (MSVC AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19.11))
# VS 2017 : Disable warnings from from gtest code, using deprecated code related to TR1
add_definitions(-D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING)
message("Add flag to disable warings from gtest - _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
message(STATUS "Add flag to disable warings from gtest - _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
endif()
include_directories (

View File

@ -13,7 +13,7 @@ endif(Qt5Core_FOUND)
if (MSVC AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19.11))
# VS 2017 : Disable warnings from from gtest code, using deprecated code related to TR1
add_definitions(-D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING)
message("Add flag to disable warings from gtest - _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
message(STATUS "Add flag to disable warings from gtest - _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
endif()
include_directories (

View File

@ -71,7 +71,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
endif ()
endif ()
message ("Compiling Octave plugins using : ${OCTAVE_MKOCTFILE}")
message (STATUS "Compiling Octave plugins using : ${OCTAVE_MKOCTFILE}")
if (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
option(RESINSIGHT_OCTAVE_PLUGIN_QT "Compile Octave plugin using Qt located insided Octave root folder" ON)