mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-22 01:30: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"]
|
||||
path = addons/godot_xterm/native/modules/godot-cpp
|
||||
path = addons/godot_xterm/native/external/godot-cpp
|
||||
url = https://github.com/godotengine/godot-cpp
|
||||
[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
|
||||
[submodule "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))
|
||||
|
||||
# Local dependency paths, adapt them to your setup
|
||||
godot_headers_path = "modules/godot-cpp/godot_headers/"
|
||||
cpp_bindings_path = "modules/godot-cpp/"
|
||||
godot_headers_path = "external/godot-cpp/godot_headers/"
|
||||
cpp_bindings_path = "external/godot-cpp/"
|
||||
cpp_library = "libgodot-cpp"
|
||||
libtsm_path = "modules/libtsm/"
|
||||
libtsm_path = "external/libtsm/"
|
||||
|
||||
# only support 64 at this time..
|
||||
bits = 64
|
||||
|
|
|
@ -6,17 +6,17 @@ set -e
|
|||
cd ${BASH_SOURCE%/*}
|
||||
|
||||
# Initialize godot-cpp
|
||||
if [ ! -d "modules/godot-cpp/bin" ]
|
||||
if [ ! -d "external/godot-cpp/bin" ]
|
||||
then
|
||||
cd modules/godot-cpp
|
||||
cd external/godot-cpp
|
||||
scons platform=linux generate_bindings=yes -j12
|
||||
cd ../..
|
||||
fi
|
||||
|
||||
# Build libtsm
|
||||
if [ ! -f "modules/libtsm/build/src/tsm/libtsm.a" ]
|
||||
if [ ! -f "external/libtsm/build/src/tsm/libtsm.a" ]
|
||||
then
|
||||
cd modules/libtsm
|
||||
cd external/libtsm
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake -DBUILD_SHARED_LIBS=n ..
|
||||
|
|
Loading…
Reference in a new issue