Skip to content

Commit b517aaa

Browse files
committed
Add pixi task install
1 parent cd37585 commit b517aaa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pixi.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ args = [{ "arg" = "buildtype", "default" = "Release" }, { "arg" = "buildtests",
4242
cmd = "cmake --build build --target all"
4343
depends-on = [{"task" = "configure", "args" = [{"buildtype" = "{{buildtype}}" }, {"buildtests" = "{{buildtests}}" }, {"buildbenchmarks" = "{{buildbenchmarks}}" }] }]
4444

45+
[tasks.install]
46+
args = [{ "arg" = "buildtype", "default" = "Release" }, { "arg" = "buildtests", "default" = "OFF" }, { "arg" = "buildbenchmarks", "default" = "OFF" }]
47+
cmd = "cmake --build build --target install"
48+
depends-on = [{"task" = "build", "args" = [{"buildtype" = "{{buildtype}}" }, {"buildtests" = "{{buildtests}}" }, {"buildbenchmarks" = "{{buildbenchmarks}}" }] }]
49+
4550
[tasks.test]
4651
cmd = "ctest --test-dir build --output-on-failure"
4752
depends-on = [{"task" = "build", "args" = [{ "buildtype" = "Debug" }, {"buildtests" = "ON"}] }]

0 commit comments

Comments
 (0)