Skip to content

Commit

Permalink
updated godot-cpp submodule to @vanos's cmake rewrite PR + one line c…
Browse files Browse the repository at this point in the history
…make buildfix in the project scripts
  • Loading branch information
vorlac committed Mar 16, 2024
1 parent 174b4f7 commit edd486b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions cmake/godot-dev-configuration.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,22 +83,22 @@ if(NOT EXISTS "${godot_debug_editor_executable}")
if (WIN32)
set(SCONS_COMMAND powershell -c)
endif()
set(SCONS_COMMAND

set(SCONS_COMMAND
${SCONS_COMMAND}
${SCONS_PROGRAM}
target=editor
use_static_cpp=yes
dev_build=yes
debug_symbols=yes
optimize=none
${SCONS_PROGRAM}
target=editor
use_static_cpp=yes
dev_build=yes
debug_symbols=yes
optimize=none
use_lto=no
)

set(GODOT_ENGINE_CLEAN_BUILD OFF)
if (GODOT_ENGINE_CLEAN_BUILD MATCHES ON)
message(STATUS "Invoking scons clean: ${SCONS_COMMAND} --clean")

execute_process(
COMMAND "${SCONS_PROGRAM}" --clean
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/extern/godot-engine"
Expand Down Expand Up @@ -127,6 +127,7 @@ endif()
# Godot C++ bindings library setup/configuration
# =======================================================================

set(USE_STATIC_CPP OFF)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/extern/godot-cpp)

# =======================================================================
Expand Down

0 comments on commit edd486b

Please sign in to comment.