-
Notifications
You must be signed in to change notification settings - Fork 68
/
pixi.toml
65 lines (58 loc) · 1.69 KB
/
pixi.toml
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
[project]
name = "idyntree"
# As this version is currently ignored, we do not
# waste effort in mantain it in synch with the value
# specified in CMakeLists.txt
version = "0.0.0"
description = "iDynTree"
authors = ["Silvio Traversaro <[email protected]>"]
channels = ["conda-forge"]
platforms = ["linux-64", "linux-aarch64", "win-64", "osx-64", "osx-arm64"]
# Workaround until https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9200
# is released
[activation]
scripts = ["pixi_activation.sh"]
[target.win-64.activation]
scripts = ["pixi_activation.bat"]
[tasks]
configure = { cmd = [
"cmake",
"-DCMAKE_BUILD_TYPE=Release",
"-DCMAKE_INSTALL_PREFIX=$CMAKE_INSTALL_PREFIX",
"-DBUILD_TESTING:BOOL=ON",
"-DIDYNTREE_USES_PYTHON:BOOL=ON",
"-DIDYNTREE_USES_PYTHON_PYBIND11:BOOL=ON",
"-DIDYNTREE_DETECT_ACTIVE_PYTHON_SITEPACKAGES:BOOL=ON",
# Use the cross-platform Ninja generator
"-G",
"Ninja",
# The source is in the root directory
"-S",
".",
# We wanna build in the .build directory
"-B",
".build",
]}
build = { cmd = "cmake --build .build --config Release", depends_on = ["configure"] }
test = { cmd = "ctest --test-dir .build --build-config Release", depends_on = ["build"] }
install = { cmd = ["cmake", "--install", ".build", "--config", "Release"], depends_on = ["build"] }
uninstall = { cmd = ["cmake", "--build", ".build", "--target", "uninstall"]}
[dependencies]
cmake = "*"
c-compiler = "*"
cxx-compiler = "*"
ninja = "*"
pkg-config = "*"
eigen = "*"
assimp = "*"
ipopt = "*"
irrlicht = "*"
glfw = "*"
swig = "*"
pybind11 = "*"
python = "*"
numpy = "*"
yarp = "*"
osqp-eigen = "*"
# Find a way to add this only for supported envs
# icub-main = "*"