forked from CloudCompare/CloudCompare
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpixi.toml
More file actions
135 lines (124 loc) · 4.09 KB
/
pixi.toml
File metadata and controls
135 lines (124 loc) · 4.09 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[project]
name = "cloudcompare"
version = "2.14.0"
description = "CloudCompare is a 3D point cloud processing software."
authors = ["Daniel Girardeau-Montaut <admin@cloudcompare.org>"]
channels = ["conda-forge"]
platforms = ["osx-arm64", "osx-64"]
[tasks.CloudCompare]
# Start the built executable
cmd = ".build/install/CloudCompare/CloudCompare.app/Contents/MacOS/CloudCompare"
#input = ".build/install/CloudCompare/CloudCompare.app/Contents/MacOS/CloudCompare"
depends-on = ["install"]
[feature.build.dependencies]
cmake = ">=3.27,<3.30"
cxx-compiler = ">=1.8.0,<1.9"
ninja = "1.12.*"
[dependencies]
qt = ">=5.15.8,<5.16"
python = ">=3.11,<3.12"
laszip = ">=3.4.3,<3.5"
opencv = ">=4.9.0,<4.10"
pcl = ">=1.14.0,<1.15" #osx-64 only accept 1.14.0 (due to pyqt 6 dependency)
boost = ">=1.84.0,<1.85"
pybind11 = ">=2.13.0,<2.14"
pyqt = ">=5.15.7,<=5.15.11"
scipy = ">=1.15,<1.16" # Needed by 3DFin
scikit-learn = ">=1.6,<1.7"
eigen = ">=3.4.0,<3.5"
draco = ">=1.5.7,<1.6"
xerces-c = ">=3.2.5,<3.3"
occt = ">=7.7.1,<7.8" # Opencascade, >=7.8 needs cmake adjustements
tbb = ">=2022.0.0,<2023"
[feature.build.tasks.configure]
# Configures CMake
cmd = [
"cmake",
"-GNinja",
"-S.",
# We want build in the .build directory
"-B.build",
"-DCMAKE_BUILD_TYPE=Release",
"-DCMAKE_PREFIX_PATH=$CONDA_PREFIX/lib",
"-DEIGEN_ROOT_DIR=$CONDA_PREFIX/include/eigen3",
"-DCCCORELIB_USE_TBB=ON",
"-DCC_USE_EIGEN=ON",
"-DCMAKE_INSTALL_PREFIX=.build/install",
"-DPLUGIN_IO_QLAS=ON",
"-DPLUGIN_STANDARD_MASONRY_QMANUAL_SEG=ON",
"-DPLUGIN_STANDARD_MASONRY_QAUTO_SEG=ON",
"-DPLUGIN_STANDARD_3DMASC=ON",
"-DPLUGIN_PYTHON=ON",
"-DPLUGIN_STANDARD_QANIMATION=ON",
"-DQANIMATION_WITH_FFMPEG_SUPPORT=ON",
"-DPLUGIN_STANDARD_QBROOM=ON",
"-DPLUGIN_STANDARD_QCSF=ON",
"-DPLUGIN_STANDARD_QCANUPO=ON",
"-DPLUGIN_STANDARD_QCLOUDLAYERS=ON",
"-DPLUGIN_STANDARD_QCOMPASS=ON",
"-DPLUGIN_STANDARD_QCOLORIMETRIC_SEGMENTER=ON",
"-DPLUGIN_STANDARD_QFACETS=ON",
"-DPLUGIN_STANDARD_QHPR=ON",
"-DPLUGIN_STANDARD_QHOUGH_NORMALS=ON",
"-DPLUGIN_STANDARD_QM3C2=ON",
"-DPLUGIN_STANDARD_QMPLANE=ON",
"-DPLUGIN_STANDARD_QMESH_BOOLEAN=OFF", # TODO: need libigl for osx-arm64
"-DPLUGIN_STANDARD_QPCL=ON",
"-DPLUGIN_STANDARD_QPCV=ON",
"-DPLUGIN_STANDARD_QPOISSON_RECON=ON",
"-DPLUGIN_STANDARD_QRANSAC_SD=ON",
"-DPLUGIN_STANDARD_QSRA=ON",
"-DPLUGIN_STANDARD_QTREEISO=OFF", # TODO: improve compatibility.
"-DPLUGIN_STANDARD_QVOXFALL=ON",
#--IO PLUGINS--
"-DPLUGIN_IO_QADDITIONAL=ON",
"-DPLUGIN_IO_QCORE=ON",
"-DPLUGIN_IO_QDRACO=OFF", # TODO
"-DPLUGIN_IO_QE57=ON",
"-DE57_RELEASE_LTO=OFF", # TODO: Needed else it won't find the AR/Ranlib binary
"-DPLUGIN_IO_QFBX=OFF", # Possible, but it needs a proprietary SDK
#"-DPLUGIN_IO_QLAS_FWF=ON" # Seems to be Windows only, deprecated in favor of qLASIO
"-DPLUGIN_IO_QPHOTOSCAN=ON",
"-DPLUGIN_IO_QRDB=OFF", # Needs a proprietary lib. The lib is not available for osx-arm64
"-DPLUGIN_IO_QSTEP=ON",
"-DOPENCASCADE_INC_DIR=$CONDA_PREFIX/include/opencascade",
"-DOPENCASCADE_LIB_DIR=$CONDA_PREFIX/lib",
#--GL PLUGINS--
"-DPLUGIN_GL_QEDL=ON",
"-DPLUGIN_GL_QSSAO=ON",
]
inputs = ["CMakeLists.txt"]
outputs = [".build/CMakeFiles/"]
[feature.build.tasks.build]
cmd = ["cmake", "--build", ".build"]
depends-on = ["configure"]
inputs = ["CMakeLists.txt", "qCC/"]
outputs = [".build/qCC/CloudCompare"]
[feature.build.tasks.install]
cmd = ["cmake", "--install", ".build"]
depends-on = ["configure"]
#TODO: macos only
# This will embed dependencies and fix rpath accordingly
[feature.build.tasks.bundle]
cmd = [
"python",
"scripts/mac/bundle/libBundleCloudCompare.py",
".build/install",
"--embed_python",
]
depends-on = ["install"]
# Bundel signature
[feature.build.tasks.sign_bundle]
cmd = [
"python",
"scripts/mac/bundle/signatureCloudCompare.py",
".build/install",
"--embed_python",
]
depends-on = ["install"]
[environments]
build = ["build"]
[pypi-dependencies]
3dfin = { version = "==0.5.0a1" }
dendromatics = { version = "==0.6.0a5" } # Explicit because it's a pre-release
csf-3dfin = { version = "==2.0.0a3" } # Explicit because it's a pre-release