Let's output these messages as status messages...
parent
4ab0cffa00
commit
69e4e6036d
|
|
@ -31,20 +31,20 @@ if (OPENSIM)
|
|||
add_definitions(-DOPENSIM=1)
|
||||
if (SINGLEGRID)
|
||||
add_definitions(-DSINGLEGRID=1 -DSINGLEGRID_URI=\"${SINGLEGRID_URI}\")
|
||||
message("compiling with OpenSim support - Single Grid version (${SINGLEGRID_URI})")
|
||||
message(STATUS "Compiling with OpenSim support - Single Grid version (${SINGLEGRID_URI})")
|
||||
else (SINGLEGRID)
|
||||
message("compiling with OpenSim support")
|
||||
message(STATUS "Compiling with OpenSim support")
|
||||
endif (SINGLEGRID)
|
||||
else (OPENSIM)
|
||||
if (SINGLEGRID)
|
||||
message( WARNING "Value for SINGLEGRID is unused during Havok/SecondLife builds" )
|
||||
message(WARNING "Value for SINGLEGRID is unused during Havok/SecondLife builds" )
|
||||
endif()
|
||||
message("compiling without OpenSim support")
|
||||
message(STATUS "Compiling without OpenSim support")
|
||||
endif (OPENSIM)
|
||||
|
||||
if (HAVOK_TPV)
|
||||
add_definitions(-DHAVOK_TPV=1)
|
||||
message("compiling with Havok libraries")
|
||||
message(STATUS "Compiling with Havok libraries")
|
||||
endif (HAVOK_TPV)
|
||||
#</FS:AW optional opensim support>
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ endif (HAVOK_TPV)
|
|||
option(TESTBUILD "Generating test build" OFF)
|
||||
if(TESTBUILD AND TESTBUILDPERIOD)
|
||||
add_definitions(-DTESTBUILD=1 -DTESTBUILDPERIOD=${TESTBUILDPERIOD})
|
||||
message("creating test build version; test period: ${TESTBUILDPERIOD} days")
|
||||
message(STATUS "Creating test build version; test period: ${TESTBUILDPERIOD} days")
|
||||
endif(TESTBUILD AND TESTBUILDPERIOD)
|
||||
#</FS:Ansariel>
|
||||
|
||||
|
|
@ -64,13 +64,13 @@ if (USE_AVX_OPTIMIZATION)
|
|||
message(FATAL_ERROR "You cannot use AVX and AVX2 at the same time!")
|
||||
else (USE_AVX2_OPTIMIZATION)
|
||||
add_definitions(-DUSE_AVX_OPTIMIZATION=1)
|
||||
message("compiling with AVX optimizations")
|
||||
message(STATUS "Compiling with AVX optimizations")
|
||||
endif (USE_AVX2_OPTIMIZATION)
|
||||
elseif (USE_AVX2_OPTIMIZATION)
|
||||
add_definitions(-DUSE_AVX2_OPTIMIZATION=1)
|
||||
message("compiling with AVX2 optimizations")
|
||||
message(STATUS "Compiling with AVX2 optimizations")
|
||||
else (USE_AVX_OPTIMIZATION)
|
||||
message("compiling without AVX optimizations")
|
||||
message(STATUS "Compiling without AVX optimizations")
|
||||
endif (USE_AVX_OPTIMIZATION)
|
||||
# </FS:Ansariel> [AVX Optimization]
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ if (NOT DEFINED VIEWER_SHORT_VERSION) # will be true in indra/, false in indra/n
|
|||
|
||||
if (DEFINED ENV{revision})
|
||||
set(VIEWER_VERSION_REVISION $ENV{revision})
|
||||
message("Revision (from environment): ${VIEWER_VERSION_REVISION}")
|
||||
message(STATUS "Revision (from environment): ${VIEWER_VERSION_REVISION}")
|
||||
|
||||
elseif (DEFINED ENV{AUTOBUILD_BUILD_ID})
|
||||
set(VIEWER_VERSION_REVISION $ENV{AUTOBUILD_BUILD_ID})
|
||||
|
|
@ -38,23 +38,23 @@ if (NOT DEFINED VIEWER_SHORT_VERSION) # will be true in indra/, false in indra/n
|
|||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
if ("${VIEWER_VERSION_REVISION}" MATCHES "^[0-9]+$")
|
||||
message("Revision (from hg) ${VIEWER_VERSION_REVISION}")
|
||||
message(STATUS "Revision (from hg) ${VIEWER_VERSION_REVISION}")
|
||||
else ("${VIEWER_VERSION_REVISION}" MATCHES "^[0-9]+$")
|
||||
message("Revision not set (repository not found?); using 0")
|
||||
message(STATUS "Revision not set (repository not found?); using 0")
|
||||
set(VIEWER_VERSION_REVISION 0 )
|
||||
endif ("${VIEWER_VERSION_REVISION}" MATCHES "^[0-9]+$")
|
||||
else (DEFINED MERCURIAL AND DEFINED SED)
|
||||
message("Revision not set: 'hg' or 'sed' not found; using 0")
|
||||
message(STATUS "Revision not set: 'hg' or 'sed' not found; using 0")
|
||||
set(VIEWER_VERSION_REVISION 0)
|
||||
endif (DEFINED MERCURIAL AND DEFINED SED)
|
||||
endif (DEFINED ENV{revision})
|
||||
message("Building '${VIEWER_CHANNEL}' Version ${VIEWER_SHORT_VERSION}.${VIEWER_VERSION_REVISION}")
|
||||
message(STATUS "Building '${VIEWER_CHANNEL}' Version ${VIEWER_SHORT_VERSION}.${VIEWER_VERSION_REVISION}")
|
||||
else ( EXISTS ${VIEWER_VERSION_BASE_FILE} )
|
||||
message(SEND_ERROR "Cannot get viewer version from '${VIEWER_VERSION_BASE_FILE}'")
|
||||
endif ( EXISTS ${VIEWER_VERSION_BASE_FILE} )
|
||||
|
||||
if ("${VIEWER_VERSION_REVISION}" STREQUAL "")
|
||||
message("Ultimate fallback, revision was blank or not set: will use 0")
|
||||
message(STATUS "Ultimate fallback, revision was blank or not set: will use 0")
|
||||
set(VIEWER_VERSION_REVISION 0)
|
||||
endif ("${VIEWER_VERSION_REVISION}" STREQUAL "")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue