Adding scripts

This commit is contained in:
Vladislav Khorev committed 2026-04-03 19:46:43 +03:00
1 parent 995e2c8e5b
commit 63c9d7b35b
9 files changed
+432480 -9

No files matched your search

+11
View File
@@ -546,4 +546,15 @@ if(NOT TARGET boost_external_lib)
add_library(boost_external_lib INTERFACE)
# Boost заголовки находятся непосредственно в корне распакованной папки
target_include_directories(boost_external_lib INTERFACE "${BOOST_SRC_DIR}")
endif()
# ===========================================
# 9) pybind11 (3.0.3) - Python embedding
# ===========================================
set(PYBIND11_SRC_DIR "${THIRDPARTY_DIR}/pybind11-3.0.3")
if(NOT TARGET pybind11::headers)
# pybind11 is header-only; add_subdirectory gives us pybind11::embed which
# also locates and links the Python interpreter and development libraries.
add_subdirectory("${PYBIND11_SRC_DIR}" "${CMAKE_BINARY_DIR}/pybind11_build" EXCLUDE_FROM_ALL)
endif()