mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
73 lines
2.4 KiB
TOML
73 lines
2.4 KiB
TOML
[project]
|
|
name = "IfcOpenShell"
|
|
version = "0.8.2"
|
|
description = "IfcOpenShell is a library to support the IFC file format"
|
|
channels = ["conda-forge"]
|
|
platforms = ["win-64", "linux-64", "osx-64"]
|
|
|
|
[environments]
|
|
common = { features = ["common"], no-default-feature = true }
|
|
prod = { features = ["prod", "common"], no-default-feature = true }
|
|
dev = { features = ["dev", "common"], no-default-feature = true }
|
|
#tests = { features = ["tests", "common"], no-default-feature = true }
|
|
|
|
[feature.common.dependencies]
|
|
# Build deps
|
|
cmake = "==3.30.5"
|
|
ninja = "*"
|
|
swig = "*"
|
|
c-compiler = "*"
|
|
cxx-compiler = "*"
|
|
|
|
# Runtime deps
|
|
python = "3.12.*"
|
|
libboost-devel = "*"
|
|
occt = { version = "*", build = "*novtk*" }
|
|
cgal-cpp = "*"
|
|
numpy = "*"
|
|
lark = "*"
|
|
hdf5 = "*"
|
|
eigen = "*"
|
|
mpfr = "*"
|
|
gmp = "*"
|
|
nlohmann_json = "*"
|
|
zlib = "*"
|
|
pythonocc-core = "*"
|
|
|
|
#[feature.tests.dependencies]
|
|
# tests
|
|
pytest = "*"
|
|
#shapely = "*"
|
|
#tabulate = "*"
|
|
#isodate = "*"
|
|
#python-dateutil = "*"
|
|
#xmlschema = "*"
|
|
#xsdata = "*"
|
|
#lxml = "*"
|
|
#networkx = "*"
|
|
|
|
[feature.common.target.win-64.dependencies]
|
|
vs2022_win-64 = "*"
|
|
#vs_win-64 = "*" # Visual Studio
|
|
#vswhere = "*" # Visual Studio
|
|
|
|
[feature.common.tasks]
|
|
init-submodules = { cmd = "git submodule update --init --recursive", outputs =["$PIXI_PROJECT_ROOT/src/svgfill/3rdparty/svgpp/*"]}
|
|
|
|
[feature.prod.target.win-64.tasks]
|
|
configure-release = { cmd = ["cmake", "--preset", "win-release", "-B", "build/win-release", "cmake"], description = "Configure the project", depends-on=["init-submodules"] }
|
|
build-release = { cmd = ["cmake", "--build", "build/win-release", "--config", "Release"], description = "Build the project" }
|
|
|
|
[feature.dev.target.win-64.tasks]
|
|
configure-debug = { cmd = ["cmake", "--preset", "win-debug", "-B", "build/win-debug", "cmake"], description = "Configure the project", depends-on=["init-submodules"], outputs=["build/win-debug/CMakeCache.txt"] }
|
|
build-debug = { cmd = ["cmake", "--build", "build/win-debug", "--config", "Debug"], description = "Build the project", depends-on = ["configure-debug"] }
|
|
|
|
install-debug = { cmd = ["cmake", "--install", "build/win-debug", "--config", "Debug"], description = "Install the project" } # Optionally Install files to your desired env using --prefix
|
|
|
|
vsdebug = { cmd = ["python"], description = "Run a python script with vs debugger attached" }
|
|
|
|
#[feature.tests.target.win-64.tasks]
|
|
test = { cmd = "pytest test/test_sweeps.py"}
|
|
|
|
[feature.common.target.win-64.activation]
|
|
#scripts = ["cmake/activate.bat"] |