From f40d09cb8f712e87691af4912f3630d92d692779 Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Dec 2025 15:14:26 +0500 Subject: Shuffle stuff around - Use the new and improved hierarchy I figured out when making Prospero chat - Re-add NSIS scripts, again from Prospero - Update most build and utility scripts with their most recent versions --- external/CMakeLists.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 external/CMakeLists.txt (limited to 'external/CMakeLists.txt') diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt new file mode 100644 index 0000000..b84c1ba --- /dev/null +++ b/external/CMakeLists.txt @@ -0,0 +1,27 @@ +add_subdirectory(dr_libs) +add_subdirectory(emhash) +add_subdirectory(enet) +add_subdirectory(entt) +add_subdirectory(fastnoiselite) +add_subdirectory(glad) +add_subdirectory(glfw) +add_subdirectory(glm) +add_subdirectory(imgui) +add_subdirectory(miniz) +add_subdirectory(parson) +add_subdirectory(physfs) +add_subdirectory(salad) +add_subdirectory(spdlog) +add_subdirectory(stb) +add_subdirectory(thread_pool) + +# Generate thirdparty.txt; I find it annoying to manually aggregate +# all the third-party libraries licenses from all over the place so +# this convenient script is going to do that for me automatically +find_package(Python3 COMPONENTS Interpreter REQUIRED) +add_custom_target(thirdparty_txt ALL + COMMAND ${Python3_EXECUTABLE} "${PROJECT_SOURCE_DIR}/scripts/generate-thirdparty.py" "${PROJECT_SOURCE_DIR}/external" + BYPRODUCTS "${PROJECT_BINARY_DIR}/thirdparty.txt" + DEPENDS "${PROJECT_SOURCE_DIR}/scripts/generate-thirdparty.py" + WORKING_DIRECTORY "${PROJECT_BINARY_DIR}") +install(FILES "${PROJECT_BINARY_DIR}/thirdparty.txt" DESTINATION "doc/voxelius") -- cgit