avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From th...@apache.org
Subject svn commit: r1183217 - in /avro/trunk: CHANGES.txt lang/c++/CMakeLists.txt
Date Fri, 14 Oct 2011 03:52:53 GMT
Author: thiru
Date: Fri Oct 14 03:52:53 2011
New Revision: 1183217

URL: http://svn.apache.org/viewvc?rev=1183217&view=rev
Log:
AVRO-925. CMake/C++ Unable to build debug version of libavrocpp

Modified:
    avro/trunk/CHANGES.txt
    avro/trunk/lang/c++/CMakeLists.txt

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1183217&r1=1183216&r2=1183217&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Fri Oct 14 03:52:53 2011
@@ -115,7 +115,9 @@ Avro 1.6.0 (unreleased)
 
     AVRO-915. Large number of warnings in C++ builds. (thiru)
 
-    AVRO-913. CMake/C++ build should work for out-of-tree builds.  (Nebojsa Sabovic via thiru)
+    AVRO-913. CMake/C++ build should work for out-of-tree builds. (Nebojsa Sabovic via thiru)
+
+    AVRO-925. CMake/C++ Unable to build debug version of libavrocpp. (Nebojsa Sabovic via
thiru)
 
   BUG FIXES
 

Modified: avro/trunk/lang/c++/CMakeLists.txt
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c%2B%2B/CMakeLists.txt?rev=1183217&r1=1183216&r2=1183217&view=diff
==============================================================================
--- avro/trunk/lang/c++/CMakeLists.txt (original)
+++ avro/trunk/lang/c++/CMakeLists.txt Fri Oct 14 03:52:53 2011
@@ -196,5 +196,9 @@ install(TARGETS avrocpp avrocpp_s
 install(DIRECTORY api/ DESTINATION include/avro
     FILES_MATCHING PATTERN *.hh)
 
-set (CMAKE_BUILD_TYPE Release)
+if (NOT CMAKE_BUILD_TYPE)
+    set (CMAKE_BUILD_TYPE Release CACHE STRING
+      "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
+      FORCE)
+endif (NOT CMAKE_BUILD_TYPE)
 



Mime
View raw message