-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpyproject.toml
More file actions
34 lines (29 loc) · 928 Bytes
/
Copy pathpyproject.toml
File metadata and controls
34 lines (29 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[build-system]
requires = ["scikit-build-core>=0.10", "pybind11>=2.11"]
build-backend = "scikit_build_core.build"
[project]
name = "pywmtk"
version = "0.1.0"
description = "Python bindings for WildMeshingToolkit"
readme = "README.md"
requires-python = ">=3.8"
license = { file = "LICENSE" }
authors = [{ name = "WildMeshingToolkit" }]
[tool.scikit-build]
cmake.minimum-version = "3.25"
# --- Build Configuration ---
# To switch to Debug, comment out the Release lines and uncomment the Debug lines
# cmake.build-type = "Release"
# build-dir = "build/Release"
# cmake.build-type = "Debug"
# build-dir = "build/Debug"
cmake.build-type = "RelWithDebInfo"
build-dir = "build/RelWithDebInfo"
cmake.args = [
"-DWMTK_PYBIND=ON",
"-DCMAKE_INSTALL_DEFAULT_COMPONENT_NAME=python_bindings",
# "-DBUILD_TESTING=OFF",
# "-DWMTK_APP_HARMTET=OFF",
# "-DWMTK_APP_INTERIOR_TET_OPT=OFF",
]
install.components = ["python_bindings"]