forked from bartvdbraak/blender
initialize cmake's CMAKE_BUILD_TYPE to 'Release'
add reference to cmake cache for convenience GNUMakefile
This commit is contained in:
parent
4dd18f7e6f
commit
a961d62653
@ -57,6 +57,9 @@ endif()
|
|||||||
# this starts out unset
|
# this starts out unset
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/build_files/cmake/Modules")
|
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
|
# quiet output for Makefiles, 'make -s' helps too
|
||||||
# set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)
|
# set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)
|
||||||
|
|
||||||
|
@ -75,7 +75,8 @@ all:
|
|||||||
@echo Building Blender ...
|
@echo Building Blender ...
|
||||||
make -C $(BUILD_DIR) -s -j $(NPROCS) install
|
make -C $(BUILD_DIR) -s -j $(NPROCS) install
|
||||||
@echo
|
@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
|
@echo
|
||||||
|
|
||||||
debug: all
|
debug: all
|
||||||
|
Loading…
Reference in New Issue
Block a user