[Groonga-commit] groonga/groonga at c412c9c [master] Drop VS 2010 support

Back to archive index

Hiroshi Hatake null+****@clear*****
Mon Feb 23 23:46:38 JST 2015


Hiroshi Hatake	2015-02-23 23:46:38 +0900 (Mon, 23 Feb 2015)

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

  Merged e692913: Merge pull request #287 from cosmo0920/drop-vs2010-support

  Message:
    Drop VS 2010 support

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+7 -0)
===================================================================
--- CMakeLists.txt    2015-02-23 22:04:58 +0900 (cddb3df)
+++ CMakeLists.txt    2015-02-23 23:46:38 +0900 (99ecb2a)
@@ -27,6 +27,13 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
   set(CMAKE_COMPILER_IS_CLANGCXX ON)
 endif()
 
+if(MSVC)
+  if(MSVC_VERSION LESS 1800)
+    message(STATUS "Groonga supports only MSVC 2013 or later")
+    return()
+  endif()
+endif()
+
 file(READ "${CMAKE_CURRENT_SOURCE_DIR}/base_version" VERSION)
 if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/version.sh")
   file(READ "${CMAKE_CURRENT_SOURCE_DIR}/version.sh" GRN_VERSION)
-------------- next part --------------
HTML����������������������������...
Download 



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