-
Notifications
You must be signed in to change notification settings - Fork 2
/
pixi.toml
79 lines (66 loc) · 2.28 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[project]
name = "gz-sim-yarp-plugins"
# 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 = "YARP plugins for Modern Gazebo (gz-sim). "
authors = ["Alessandro Croci <[email protected]", "Silvio Traversaro <[email protected]>"]
channels = ["conda-forge"]
platforms = ["linux-64", "linux-aarch64", "osx-arm64", "win-64"]
[activation.env]
CMAKE_INSTALL_PREFIX = "$CONDA_PREFIX"
GZ_SIM_SYSTEM_PLUGIN_PATH = "$CONDA_PREFIX/lib"
[target.win-64.activation.env]
CMAKE_INSTALL_PREFIX = "%CONDA_PREFIX%\\Library"
GZ_SIM_SYSTEM_PLUGIN_PATH = "%CONDA_PREFIX%\\Library\\bin"
[feature.harmonic.activation.env]
GSYP_BUILD_DIRECTORY_NAME = ".build_harmonic"
[feature.ionic.activation.env]
GSYP_BUILD_DIRECTORY_NAME = ".build_ionic"
[tasks]
configure = { cmd = [
"cmake",
"-DCMAKE_BUILD_TYPE=Release",
"-DCMAKE_INSTALL_PREFIX=$CMAKE_INSTALL_PREFIX",
"-DBUILD_TESTING:BOOL=ON",
# Use the cross-platform Ninja generator
"-G",
"Ninja",
# The source is in the root directory
"-S",
".",
# We wanna build in the $GSYP_BUILD_DIRECTORY_NAME directory
"-B",
"$GSYP_BUILD_DIRECTORY_NAME"
]}
build = { cmd = "cmake --build $GSYP_BUILD_DIRECTORY_NAME --config Release", depends_on = ["configure"] }
test = { cmd = "ctest --test-dir $GSYP_BUILD_DIRECTORY_NAME --build-config Release --output-on-failure", depends_on = ["build"] }
install = { cmd = ["cmake", "--install", "$GSYP_BUILD_DIRECTORY_NAME", "--config", "Release"], depends_on = ["build"] }
uninstall = { cmd = ["cmake", "--build", "$GSYP_BUILD_DIRECTORY_NAME", "--target", "uninstall"]}
cpp-fmt = "fd --extension h --extension hh --extension hpp --extension c --extension cc --extension cpp --exec clang-format -i --verbose"
[dependencies]
yarp = "*"
ycm-cmake-modules = "*"
cmake = "*"
ninja = "*"
pkg-config = "*"
compilers = "*"
gtest = "*"
fd-find = "*"
clang-format = "18.*"
[target.linux-64.dependencies]
libgl-devel = "*"
libopengl-devel = "*"
libegl-devel = "*"
[target.linux-aarch64.dependencies]
libgl-devel = "*"
libopengl-devel = "*"
libegl-devel = "*"
[feature.harmonic.dependencies]
libgz-sim8 = "*"
[feature.ionic.dependencies]
libgz-sim9 = "*"
[environments]
default = ["harmonic"]
ionic = ["ionic"]