[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37860] trunk/blender: initialize cmake' s CMAKE_BUILD_TYPE to 'Release'

Campbell Barton ideasman42 at gmail.com
Mon Jun 27 15:18:09 CEST 2011


Revision: 37860
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37860
Author:   campbellbarton
Date:     2011-06-27 13:18:08 +0000 (Mon, 27 Jun 2011)
Log Message:
-----------
initialize cmake's CMAKE_BUILD_TYPE to 'Release'
add reference to cmake cache for convenience GNUMakefile

Modified Paths:
--------------
    trunk/blender/CMakeLists.txt
    trunk/blender/GNUmakefile

Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt	2011-06-27 13:04:21 UTC (rev 37859)
+++ trunk/blender/CMakeLists.txt	2011-06-27 13:18:08 UTC (rev 37860)
@@ -57,6 +57,9 @@
 # this starts out unset
 list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/build_files/cmake/Modules")
 
+# avoid having empty buildtype
+set(CMAKE_BUILD_TYPE_INIT "Release")
+
 # quiet output for Makefiles, 'make -s' helps too
 # set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)
 

Modified: trunk/blender/GNUmakefile
===================================================================
--- trunk/blender/GNUmakefile	2011-06-27 13:04:21 UTC (rev 37859)
+++ trunk/blender/GNUmakefile	2011-06-27 13:18:08 UTC (rev 37860)
@@ -75,7 +75,8 @@
 	@echo Building Blender ...
 	make -C $(BUILD_DIR) -s -j $(NPROCS) install
 	@echo
-	@echo run blender from "$(BUILD_DIR)/bin/blender"
+	@echo edit build configuration with: "$(BUILD_DIR)/CMakeCache.txt" run make again to rebuild.
+	@echo blender installed, run from: "$(BUILD_DIR)/bin/blender"
 	@echo
 
 debug: all




More information about the Bf-blender-cvs mailing list