Completed conversion of buildings handling to ECS systems
This commit is contained in:
9
Makefile
9
Makefile
@@ -5,12 +5,14 @@ EDITOR_PLATFORM=x11es
|
||||
EDITOR2_PLATFORM=x11
|
||||
DEMO_PLATFORMS=x11 x11es
|
||||
EDITOR = src/godot/bin/godot.$(EDITOR_PLATFORM).opt.tools.$(ARCH)
|
||||
EDITOR_DBG = src/godot/bin/godot.$(EDITOR_PLATFORM).tools.$(ARCH)
|
||||
EDITOR2 = src/godot/bin/godot.$(EDITOR2_PLATFORM).opt.tools.$(ARCH)
|
||||
EDITOR2_DBG = src/godot/bin/godot.$(EDITOR2_PLATFORM).tools.$(ARCH)
|
||||
|
||||
.PHONY: all godot-editor-main export export-models export-clothes \
|
||||
.PHONY: all godot-editor-main godot-editor-debug export export-models export-clothes \
|
||||
export-clean export-linux-demo export-windows-demo \
|
||||
export-binaries patch tests import-vrm export-buildings
|
||||
all: godot-editor-main godot-main
|
||||
all: godot-editor-main godot-editor-debug godot-main
|
||||
SCONS_EXTRA=-j16
|
||||
define build_godot
|
||||
$(4): $(5)
|
||||
@@ -31,12 +33,15 @@ $(foreach pt,$(DEMO_PLATFORMS),$(eval $(call build_godot_platform,$(pt))))
|
||||
godot-main: $(GODOT_MAIN_TARGETS) godot-editor-main godot-server-main
|
||||
godot-server-main: $(SERVER)
|
||||
godot-editor-main: $(EDITOR) $(EDITOR2)
|
||||
godot-editor-debug: $(EDITOR_DBG) $(EDITOR2_DBG)
|
||||
#$(SERVER): patch
|
||||
# cd src/godot; \
|
||||
# scons platform=server arch=$(ARCH) target=release_debug tools=yes custom_modules=../modules -j16
|
||||
$(eval $(call build_godot,server,release_debug,yes,$(SERVER),patch))
|
||||
$(eval $(call build_godot,x11es,release_debug,yes,$(EDITOR),patch))
|
||||
$(eval $(call build_godot,x11es,debug,yes,$(EDITOR_DBG),patch))
|
||||
$(eval $(call build_godot,x11,release_debug,yes,$(EDITOR2),patch))
|
||||
$(eval $(call build_godot,x11,debug,yes,$(EDITOR2_DBG),patch))
|
||||
patch: ./src/godot/scene/animation/skeleton_ik.cpp
|
||||
cd ./src/godot && git reset --hard HEAD && rm -Rf platform/x11es && for p in ../patches/*.patch; do git apply $$p; done
|
||||
sed -e 's/ERR_FAIL_COND_V(-1 == p_task->root_bone, false);//g' -i ./src/godot/scene/animation/skeleton_ik.cpp
|
||||
|
||||
Reference in New Issue
Block a user