more nodes

This commit is contained in:
Connor
2026-02-22 15:40:25 +09:00
parent 3d4453b9ea
commit 376442e95a
5 changed files with 532 additions and 1192 deletions

View File

@@ -51,6 +51,14 @@ FetchContent_Declare(
GIT_SHALLOW TRUE
)
# FastNoiseLite single-header noise generation (used by WorldGraph noise nodes)
FetchContent_Declare(
FastNoiseLite
GIT_REPOSITORY https://github.com/Auburn/FastNoiseLite.git
GIT_TAG master
GIT_SHALLOW TRUE
)
# ---- Frontend dependencies (used by tools/) ----------------------------------
# GLFW windowing for the node-editor tool
@@ -88,7 +96,7 @@ FetchContent_Declare(
GIT_SHALLOW TRUE
)
FetchContent_MakeAvailable(flecs doctest glm nlohmann_json glfw imgui imnodes)
FetchContent_MakeAvailable(flecs doctest glm nlohmann_json glfw imgui imnodes FastNoiseLite)
# ---- Core library ------------------------------------------------------------
@@ -105,6 +113,7 @@ add_library(factory-hole-core ${SOURCES})
target_include_directories(factory-hole-core PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
${fastnoiselite_SOURCE_DIR}/Cpp
)
target_link_libraries(factory-hole-core PUBLIC
@@ -129,6 +138,7 @@ add_executable(factory-hole-tests ${TEST_SOURCES})
target_include_directories(factory-hole-tests PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/include
${fastnoiselite_SOURCE_DIR}/Cpp
)
target_link_libraries(factory-hole-tests PRIVATE