mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[godot] Fix include paths.
This commit is contained in:
parent
58279b2b4a
commit
8759370947
@ -4,4 +4,4 @@ git clone --depth 1 https://github.com/godotengine/godot.git -b 3.4.4-stable
|
||||
xcopy /E /I .idea godot\.idea
|
||||
copy custom.py godot
|
||||
xcopy /E /I ..\spine-cpp\spine-cpp spine_godot\spine-cpp
|
||||
cd godot & git apply ../livepp.patch scons target=debug custom_modules=..\spine_godot vsproj=yes --jobs=16 & cd ..
|
||||
cd godot & git apply ../livepp.patch & scons target=debug custom_modules=..\spine_godot vsproj=yes --jobs=16 & cd ..
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
Import('env')
|
||||
|
||||
env_spine_runtime = env.Clone()
|
||||
# Need to add the include path to env so the vsproj generator consumes it.
|
||||
env.Append(CPPPATH=["#../spine_godot/spine-cpp/include"])
|
||||
env_spine_runtime.Append(CPPPATH=["#../spine_godot/spine-cpp/include"])
|
||||
env_spine_runtime.add_source_files(env.modules_sources, "spine-cpp/src/spine/*.cpp")
|
||||
env_spine_runtime.add_source_files(env.modules_sources, "*.cpp")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user