[brlcad-commits] SF.net SVN: brlcad:[49720] brlcad/trunk/misc/CMake/BRLCAD_Summary.cmake
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2012-03-16 19:04:21
|
Revision: 49720 http://brlcad.svn.sourceforge.net/brlcad/?rev=49720&view=rev Author: starseeker Date: 2012-03-16 19:04:15 +0000 (Fri, 16 Mar 2012) Log Message: ----------- tweak, ws Modified Paths: -------------- brlcad/trunk/misc/CMake/BRLCAD_Summary.cmake Modified: brlcad/trunk/misc/CMake/BRLCAD_Summary.cmake =================================================================== --- brlcad/trunk/misc/CMake/BRLCAD_Summary.cmake 2012-03-16 19:02:46 UTC (rev 49719) +++ brlcad/trunk/misc/CMake/BRLCAD_Summary.cmake 2012-03-16 19:04:15 UTC (rev 49720) @@ -32,8 +32,10 @@ endforeach(setting_label ${ALL_FLAG_LABELS}) # If we're not using MSVC, go ahead and print the compilers -message("${C_COMPILER_LABEL} ${CMAKE_C_COMPILER}") -message("${CXX_COMPILER_LABEL} ${CMAKE_CXX_COMPILER}") +if(NOT MSVC) + message("${C_COMPILER_LABEL} ${CMAKE_C_COMPILER}") + message("${CXX_COMPILER_LABEL} ${CMAKE_CXX_COMPILER}") +endif(NOT MSVC) list(GET ALL_FLAG_LABELS 0 LABEL_LENGTH_STR) string(LENGTH "${LABEL_LENGTH_STR}" LABEL_LENGTH) @@ -80,15 +82,15 @@ message(" ") endforeach(CFG_TYPE ${CMAKE_CONFIGURATION_TYPES}) else(CMAKE_CONFIGURATION_TYPES) - if(CMAKE_BUILD_TYPE) - string(TOUPPER "${CMAKE_BUILD_TYPE}" BUILD_TYPE) - foreach(flag_type ${ALL_FLAG_TYPES}) - print_flags(${flag_type} CMAKE_${flag_type}_FLAGS_${BUILD_TYPE} ${MAX_LINE_LENGTH}) - endforeach(flag_type ${ALL_FLAG_TYPES}) - message(" ") - else(CMAKE_BUILD_TYPE) - foreach(flag_type ${ALL_FLAG_TYPES}) - print_flags(${flag_type} CMAKE_${flag_type}_FLAGS ${MAX_LINE_LENGTH}) - endforeach(flag_type ${ALL_FLAG_TYPES}) - endif(CMAKE_BUILD_TYPE) + if(CMAKE_BUILD_TYPE) + string(TOUPPER "${CMAKE_BUILD_TYPE}" BUILD_TYPE) + foreach(flag_type ${ALL_FLAG_TYPES}) + print_flags(${flag_type} CMAKE_${flag_type}_FLAGS_${BUILD_TYPE} ${MAX_LINE_LENGTH}) + endforeach(flag_type ${ALL_FLAG_TYPES}) + message(" ") + else(CMAKE_BUILD_TYPE) + foreach(flag_type ${ALL_FLAG_TYPES}) + print_flags(${flag_type} CMAKE_${flag_type}_FLAGS ${MAX_LINE_LENGTH}) + endforeach(flag_type ${ALL_FLAG_TYPES}) + endif(CMAKE_BUILD_TYPE) endif(CMAKE_CONFIGURATION_TYPES) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |