initialize cmake's CMAKE_BUILD_TYPE to 'Release'
authorCampbell Barton <ideasman42@gmail.com>
Mon, 27 Jun 2011 13:18:08 +0000 (13:18 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 27 Jun 2011 13:18:08 +0000 (13:18 +0000)
add reference to cmake cache for convenience GNUMakefile

CMakeLists.txt
GNUmakefile

index d65e62d88fc3c58a47881bd6c980645ec2beae9b..88a1c63adadb0c484a7b04526c6fd2bc03a07817 100644 (file)
@@ -57,6 +57,9 @@ endif()
 # 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)
 
index 47073bf573488650ccea7d84641e3658c0afe8f9..b55890f9271b9bedc64cd17bb42ba4a74efd7a43 100644 (file)
@@ -75,7 +75,8 @@ all:
        @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