mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-05 04:34:23 +02:00
Fix windows builds
- Fixes build error for windows debug 32bit. - Allows building windows release with PTY enabled. - Updates godot-cpp.
This commit is contained in:
parent
84243cd824
commit
8bc3a13adb
5 changed files with 25 additions and 12 deletions
|
@ -64,7 +64,13 @@ scons generate_bindings=yes target=$target -j$nproc
|
|||
cd ${LIBUV_DIR}
|
||||
mkdir build || true
|
||||
cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=$target -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE
|
||||
args="-DCMAKE_BUILD_TYPE=$target -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE"
|
||||
if [ "$target" == "release" ]; then
|
||||
args="$args -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL"
|
||||
else
|
||||
args="$args -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL"
|
||||
fi
|
||||
cmake .. $args
|
||||
cd ..
|
||||
cmake --build build --config $target -j$nproc
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue