diff options
| author | untodesu <kirill@untode.su> | 2025-09-11 13:10:52 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-09-11 13:10:52 +0500 |
| commit | 96bd73ae020ecca1f94698744c77498a89ad19f7 (patch) | |
| tree | dc0ee946138141e7a0327a7d3c566f4a37adff3f /deps/CMakeLists.txt | |
| parent | 6dc5194895b6bd61d19bf5c95021471784084325 (diff) | |
| download | voxelius-96bd73ae020ecca1f94698744c77498a89ad19f7.tar.bz2 voxelius-96bd73ae020ecca1f94698744c77498a89ad19f7.zip | |
Graft build scripts and buffer code from QFengine
Diffstat (limited to 'deps/CMakeLists.txt')
| -rw-r--r-- | deps/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index e5cc4a7..7d94219 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -14,3 +14,11 @@ add_subdirectory(salad) add_subdirectory(spdlog)
add_subdirectory(stb)
add_subdirectory(thread_pool)
+
+find_package(Python3 REQUIRED COMPONENTS Interpreter)
+add_custom_target(thirdparty_txt ALL
+ COMMAND ${Python3_EXECUTABLE} "${CMAKE_CURRENT_LIST_DIR}/thirdparty.py" "${CMAKE_CURRENT_LIST_DIR}"
+ BYPRODUCTS "${CMAKE_CURRENT_BINARY_DIR}/thirdparty.txt"
+ DEPENDS "${CMAKE_CURRENT_LIST_DIR}/thirdparty.py"
+ WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/thirdparty.txt" DESTINATION ".")
|
