21 lines
470 B
CMake
21 lines
470 B
CMake
include(FetchContent)
|
|
|
|
# Fetch flecs - high-performance ECS library
|
|
FetchContent_Declare(
|
|
flecs
|
|
GIT_REPOSITORY https://github.com/SanderMertens/flecs.git
|
|
GIT_TAG v4.0.4
|
|
GIT_SHALLOW TRUE
|
|
)
|
|
|
|
# Fetch doctest - testing framework (same as Godot uses)
|
|
FetchContent_Declare(
|
|
doctest
|
|
GIT_REPOSITORY https://github.com/doctest/doctest.git
|
|
GIT_TAG v2.4.11
|
|
GIT_SHALLOW TRUE
|
|
)
|
|
|
|
# Make dependencies available
|
|
FetchContent_MakeAvailable(flecs doctest)
|