Skip to content

Commit

Permalink
build: use external Godot module
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorgner committed Aug 2, 2020
1 parent b845424 commit dd24300
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 161 deletions.
13 changes: 12 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@ project("dodgetc_native"
DESCRIPTION "An implementation of the Godot \"Dodge the Creeps!\" tutorial game using godot-cpp"
)

list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/Modules")
include("FetchContent")

FetchContent_Declare(
"Godot"
GIT_REPOSITORY https://github.com/fmorgner/godot-cmake.git
)
FetchContent_MakeAvailable("Godot")

list(APPEND CMAKE_MODULE_PATH
"${PROJECT_SOURCE_DIR}/cmake/Modules"
"${PROJECT_BINARY_DIR}/_deps/godot-src/Modules"
)

include("Conan")
include("Godot")
Expand Down
160 changes: 0 additions & 160 deletions cmake/Modules/Godot.cmake

This file was deleted.

0 comments on commit dd24300

Please sign in to comment.