mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
Rename 'modules' directory to 'external'
This commit is contained in:
parent
ffa8561865
commit
8d3eec465f
6 changed files with 9 additions and 9 deletions
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -1,8 +1,8 @@
|
||||||
[submodule "addons/godot_xterm/godot-cpp"]
|
[submodule "addons/godot_xterm/godot-cpp"]
|
||||||
path = addons/godot_xterm/native/modules/godot-cpp
|
path = addons/godot_xterm/native/external/godot-cpp
|
||||||
url = https://github.com/godotengine/godot-cpp
|
url = https://github.com/godotengine/godot-cpp
|
||||||
[submodule "addons/godot_xterm/libtsm"]
|
[submodule "addons/godot_xterm/libtsm"]
|
||||||
path = addons/godot_xterm/native/modules/libtsm
|
path = addons/godot_xterm/native/external/libtsm
|
||||||
url = https://github.com/Aetf/libtsm
|
url = https://github.com/Aetf/libtsm
|
||||||
[submodule "godot-cpp/"]
|
[submodule "godot-cpp/"]
|
||||||
url = https://github.com/godotengine/godot-cpp
|
url = https://github.com/godotengine/godot-cpp
|
||||||
|
|
|
@ -18,10 +18,10 @@ opts.Add(PathVariable('target_path', 'The path where the lib is installed.', 'bi
|
||||||
opts.Add(PathVariable('target_name', 'The library name.', 'libgodotxtermnative', PathVariable.PathAccept))
|
opts.Add(PathVariable('target_name', 'The library name.', 'libgodotxtermnative', PathVariable.PathAccept))
|
||||||
|
|
||||||
# Local dependency paths, adapt them to your setup
|
# Local dependency paths, adapt them to your setup
|
||||||
godot_headers_path = "modules/godot-cpp/godot_headers/"
|
godot_headers_path = "external/godot-cpp/godot_headers/"
|
||||||
cpp_bindings_path = "modules/godot-cpp/"
|
cpp_bindings_path = "external/godot-cpp/"
|
||||||
cpp_library = "libgodot-cpp"
|
cpp_library = "libgodot-cpp"
|
||||||
libtsm_path = "modules/libtsm/"
|
libtsm_path = "external/libtsm/"
|
||||||
|
|
||||||
# only support 64 at this time..
|
# only support 64 at this time..
|
||||||
bits = 64
|
bits = 64
|
||||||
|
|
|
@ -6,17 +6,17 @@ set -e
|
||||||
cd ${BASH_SOURCE%/*}
|
cd ${BASH_SOURCE%/*}
|
||||||
|
|
||||||
# Initialize godot-cpp
|
# Initialize godot-cpp
|
||||||
if [ ! -d "modules/godot-cpp/bin" ]
|
if [ ! -d "external/godot-cpp/bin" ]
|
||||||
then
|
then
|
||||||
cd modules/godot-cpp
|
cd external/godot-cpp
|
||||||
scons platform=linux generate_bindings=yes -j12
|
scons platform=linux generate_bindings=yes -j12
|
||||||
cd ../..
|
cd ../..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build libtsm
|
# Build libtsm
|
||||||
if [ ! -f "modules/libtsm/build/src/tsm/libtsm.a" ]
|
if [ ! -f "external/libtsm/build/src/tsm/libtsm.a" ]
|
||||||
then
|
then
|
||||||
cd modules/libtsm
|
cd external/libtsm
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
cmake -DBUILD_SHARED_LIBS=n ..
|
cmake -DBUILD_SHARED_LIBS=n ..
|
||||||
|
|
Loading…
Reference in a new issue