Add STATUS to cmake message calls
@@ -26,12 +26,12 @@ project(astcenc VERSION 3.0.0)
function(printopt optName optVal optArch tgtArch)
if(${optVal})
if(${optArch} MATCHES ${tgtArch})
- message(" -- ${optName} backend - ON")
+ message(STATUS " ${optName} backend - ON")
else()
- message(" -- ${optName} backend - SKIPPED (${optArch} only)")
+ message(STATUS " ${optName} backend - SKIPPED (${optArch} only)")
endif()
else()
- message(" -- ${optName} backend - OFF")
+ message(STATUS " ${optName} backend - OFF")
endif()
endfunction()
@@ -39,7 +39,7 @@ set(VALID_ARCH aarch64 aarch32 aarch32hf x64)
set(ARCH x64 CACHE STRING "Target architecture")
set_property(CACHE ARCH PROPERTY STRINGS ${VALID_ARCH})
-message("-- Selecting target astcenc backends:")
+message(STATUS "Selecting target astcenc backends:")
list(FIND VALID_ARCH ${ARCH} index)
if(index EQUAL -1)
message(FATAL_ERROR "ARCH must be one of ${VALID_ARCH}")
@@ -74,30 +74,30 @@ endif()
option(ISA_NONE "Enable builds for no SIMD")
if(${ISA_NONE})
set(ANY_ISA 1)
- message(" -- No SIMD backend - ON")
+ message(STATUS " No SIMD backend - ON")
else()
- message(" -- No SIMD backend - OFF")
+ message(STATUS " No SIMD backend - OFF")
endif()
option(DECOMPRESSOR "Enable builds for decompression only")
if(${DECOMPRESSOR})
- message(" -- Decompress-only backend - ON")
+ message(STATUS " Decompress-only backend - ON")
else()
- message(" -- Decompress-only backend - OFF")
+ message(STATUS " Decompress-only backend - OFF")
endif()
option(DIAGNOSTICS "Enable builds for diagnostic trace")
if(${DIAGNOSTICS})
- message(" -- Diagnostic tracing - ON")
+ message(STATUS " Diagnostic tracing - ON")
else()
- message(" -- Diagnostic tracing - OFF")
+ message(STATUS " Diagnostic tracing - OFF")
endif()
option(UNITTEST "Enable builds for unit tests")
if(${UNITTEST})
- message(" -- Unit tests - ON")
+ message(STATUS " Unit tests - ON")
else()
- message(" -- Unit tests - OFF")
+ message(STATUS " Unit tests - OFF")
endif()
if(NOT ${ANY_ISA})
