[Groonga-mysql-commit] mroonga/mroonga at 6fe0af8 [master] cmake: use "-ggdb3 -O0" for debug build

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Tue May 7 13:17:50 JST 2013


Kouhei Sutou	2013-05-07 13:17:50 +0900 (Tue, 07 May 2013)

  New Revision: 6fe0af87d257b633a20f615491e03cac9742c00e
  https://github.com/mroonga/mroonga/commit/6fe0af87d257b633a20f615491e03cac9742c00e

  Message:
    cmake: use "-ggdb3 -O0" for debug build

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+3 -0)
===================================================================
--- CMakeLists.txt    2013-05-07 13:15:11 +0900 (20cc09e)
+++ CMakeLists.txt    2013-05-07 13:17:50 +0900 (19db29e)
@@ -176,6 +176,9 @@ else()
   if(WITH_DEBUG)
     set_property(TARGET ha_mroonga APPEND PROPERTY
       COMPILE_DEFINITIONS "SAFE_MUTEX")
+    if(CMAKE_COMPILER_IS_GNUCXX)
+      set(MYSQL_CFLAGS "${MYSQL_CFLAGS} -ggdb3 -O0")
+    endif()
   else()
     set_property(TARGET ha_mroonga APPEND PROPERTY
       COMPILE_DEFINITIONS "DBUG_OFF")
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-mysql-commit mailing list
アーカイブの一覧に戻る