Skip to content

Commit

Permalink
Add s2argv_execs package (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy authored Jan 9, 2025
1 parent f6b7621 commit 49ae461
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/s2argv_execs/brioche.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions packages/s2argv_execs/project.bri
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import * as std from "std";
import { gitCheckout } from "git";
import { cmakeBuild } from "cmake";

export const project = {
name: "s2argv_execs",
version: "1.4",
};

export const source = gitCheckout(
Brioche.gitRef({
repository: "https://github.com/virtualsquare/s2argv-execs.git",
ref: project.version,
}),
);

export default function (): std.Recipe<std.Directory> {
let s2argv_execs = cmakeBuild({
source,
dependencies: [std.toolchain()],
});

s2argv_execs = std.setEnv(s2argv_execs, {
LIBRARY_PATH: { append: [{ path: "lib" }] },
CPATH: { append: [{ path: "include" }] },
});

return s2argv_execs;
}

0 comments on commit 49ae461

Please sign in to comment.