diff --git a/recipes/stb/recipe.py b/recipes/stb/recipe.py new file mode 100644 index 0000000..bcc18ca --- /dev/null +++ b/recipes/stb/recipe.py @@ -0,0 +1,9 @@ + +from SCons.Script import * + +def cook(env: Environment, git_ref: str = "master") -> dict: + repo = env.Cook('GitBranch', repo_name = 'stb', remote_url = 'https://github.com/nothings/stb.git', git_ref = git_ref) + checkout_root = repo['checkout_root'] + return { + 'CPPPATH': [checkout_root] + }