Commit 991ed1ce3aa3f61f261ca109e1c00a9421c245f2

colorizing and output tweaks
  
3333list(APPEND CMAKE_MODULE_PATH ${Boost_SOURCE_DIR}/tools/build/CMake)
3434include(BoostUtils)
3535
36message(STATUS "")
37colormsg(_HIBLUE_ "Boost.CMake starting")
38
3639##########################################################################
3740# Version information #
3841##########################################################################
228228
229229endif()
230230
231boost_report_pretty("Install prefix:" CMAKE_INSTALL_PREFIX)
232boost_report_pretty("Install include dir:" BOOST_INCLUDE_INSTALL_DIR)
233boost_report_pretty("Install lib dir:" BOOST_LIB_INSTALL_DIR)
231boost_report_pretty("Install prefix" CMAKE_INSTALL_PREFIX)
232boost_report_pretty("Install include dir" BOOST_INCLUDE_INSTALL_DIR)
233boost_report_pretty("Install lib dir" BOOST_LIB_INSTALL_DIR)
234234
235235include(BoostExternals)
236236
  
5252# include only directories of projects in BUILD_PROJECTS
5353#
5454message(STATUS "")
55colormsg(_HIBLUE_ "Reading boost project directories...")
55colormsg(_HIBLUE_ "Reading boost project directories (per BUILD_PROJECTS)")
5656message(STATUS "")
5757set(BOOST_ALL_COMPONENTS "")
5858
7979
8080if(BUILD_TESTS AND NOT BUILD_TESTS STREQUAL "NONE")
8181 message(STATUS "")
82 colormsg(_HIBLUE_ "Reading boost project TEST directories...")
82 colormsg(_HIBLUE_ "Traversing project test directories (per BUILD_TESTS)")
8383 message(STATUS "")
8484else()
8585 message(STATUS "")
  
4242 ZLib
4343 )
4444 message(STATUS "")
45 colormsg(HICYAN "${external}:")
4645 string(TOUPPER "${external}" EXTERNAL)
4746 option(WITH_${EXTERNAL} "Attempt to find and configure ${external}" ON)
4847 if(WITH_${EXTERNAL})
48 colormsg(HICYAN "${external}:")
4949 include(${CMAKE_SOURCE_DIR}/tools/build/CMake/externals/${external}.cmake)
5050 else()
5151 set(${EXTERNAL}_FOUND FALSE CACHE BOOL "${external} found" FORCE)
52 colormsg(RED "Disabled since WITH_${EXTERNAL}=OFF")
52 colormsg(HIRED "${external}:" RED "disabled, since WITH_${EXTERNAL}=OFF")
5353 endif()
5454endforeach()
5555message(STATUS "")
  
269269 message(STATUS ${str})
270270endfunction()
271271
272colormsg("Colors:"
273 WHITE "white" GRAY "gray" GREEN "green"
274 RED "red" YELLOW "yellow" BLUE "blue" MAG "mag" CYAN "cyan"
275 _WHITE_ "white" _GRAY_ "gray" _GREEN_ "green"
276 _RED_ "red" _YELLOW_ "yellow" _BLUE_ "blue" _MAG_ "mag" _CYAN_ "cyan"
277 _HIWHITE_ "white" _HIGRAY_ "gray" _HIGREEN_ "green"
278 _HIRED_ "red" _HIYELLOW_ "yellow" _HIBLUE_ "blue" _HIMAG_ "mag" _HICYAN_ "cyan"
279 HIWHITE "white" HIGRAY "gray" HIGREEN "green"
280 HIRED "red" HIYELLOW "yellow" HIBLUE "blue" HIMAG "mag" HICYAN "cyan"
281 "right?")
272# colormsg("Colors:"
273# WHITE "white" GRAY "gray" GREEN "green"
274# RED "red" YELLOW "yellow" BLUE "blue" MAG "mag" CYAN "cyan"
275# _WHITE_ "white" _GRAY_ "gray" _GREEN_ "green"
276# _RED_ "red" _YELLOW_ "yellow" _BLUE_ "blue" _MAG_ "mag" _CYAN_ "cyan"
277# _HIWHITE_ "white" _HIGRAY_ "gray" _HIGREEN_ "green"
278# _HIRED_ "red" _HIYELLOW_ "yellow" _HIBLUE_ "blue" _HIMAG_ "mag" _HICYAN_ "cyan"
279# HIWHITE "white" HIGRAY "gray" HIGREEN "green"
280# HIRED "red" HIYELLOW "yellow" HIBLUE "blue" HIMAG "mag" HICYAN "cyan"
281# "right?")
282282
283283#
284284# pretty-prints the value of a variable so that the