[Groonga-commit] groonga/groonga at f319e32 [master] cmake: remove status message for compiler flag checks

Back to archive index

susumu.yata null+****@clear*****
Wed Oct 8 11:01:12 JST 2014


susumu.yata	2014-10-08 11:01:12 +0900 (Wed, 08 Oct 2014)

  New Revision: f319e321d15433376a08eebc301f504c97bcd712
  https://github.com/groonga/groonga/commit/f319e321d15433376a08eebc301f504c97bcd712

  Message:
    cmake: remove status message for compiler flag checks
    
    GitHub: fixes #22

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+0 -8)
===================================================================
--- CMakeLists.txt    2014-10-08 10:46:03 +0900 (f1a57ab)
+++ CMakeLists.txt    2014-10-08 11:01:12 +0900 (b8367f4)
@@ -97,30 +97,22 @@ set(GRN_RUBY_SCRIPTS_DIR
   "${CMAKE_INSTALL_PREFIX}/${GRN_RELATIVE_RUBY_SCRIPTS_DIR}")
 
 macro(check_cflag flag)
-  set(checking_message "checking for C flag '${flag}'")
   string(REGEX REPLACE "[-=]" "_" temporary_variable_name ${flag})
   string(TOUPPER "${temporary_variable_name}" temporary_variable_name)
   set(temporary_variable_name "CFLAG${temporary_variable_name}")
   check_c_compiler_flag(${flag} ${temporary_variable_name})
   if(${temporary_variable_name})
-    message(STATUS "${checking_message} - available")
     set(GRN_C_COMPILE_FLAGS "${GRN_C_COMPILE_FLAGS} ${flag}")
-  else()
-    message(STATUS "${checking_message} - not available")
   endif()
 endmacro()
 
 macro(check_cxxflag flag)
-  set(checking_message "checking for CXX flag '${flag}'")
   string(REGEX REPLACE "[-=]" "_" temporary_variable_name ${flag})
   string(TOUPPER "${temporary_variable_name}" temporary_variable_name)
   set(temporary_variable_name "CXXFLAG${temporary_variable_name}")
   check_cxx_compiler_flag(${flag} ${temporary_variable_name})
   if(${temporary_variable_name})
-    message(STATUS "${checking_message} - available")
     set(GRN_CXX_COMPILE_FLAGS "${GRN_CXX_COMPILE_FLAGS} ${flag}")
-  else()
-    message(STATUS "${checking_message} - not available")
   endif()
 endmacro()
 
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index