summaryrefslogtreecommitdiffstats
path: root/external/CMakeLists.txt
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-12-11 15:14:26 +0500
committeruntodesu <kirill@untode.su>2025-12-11 15:14:26 +0500
commitf40d09cb8f712e87691af4912f3630d92d692779 (patch)
tree7ac3a4168ff722689372fd489c6f94d0a2546e8f /external/CMakeLists.txt
parent8bcbd2729388edc63c82d77d314b583af1447c49 (diff)
downloadvoxelius-f40d09cb8f712e87691af4912f3630d92d692779.tar.bz2
voxelius-f40d09cb8f712e87691af4912f3630d92d692779.zip
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
Diffstat (limited to 'external/CMakeLists.txt')
-rw-r--r--external/CMakeLists.txt27
1 files changed, 27 insertions, 0 deletions
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")