Added cgltf recipe.
This commit is contained in:
parent
3cac31bd81
commit
321f003b10
9
recipes/cgltf/recipe.py
Normal file
9
recipes/cgltf/recipe.py
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
from SCons.Script import *
|
||||
|
||||
def cook(env: Environment, git_ref: str = "master") -> dict:
|
||||
repo = env.Cook('GitBranch', repo_name = 'cgltf', remote_url = 'https://github.com/jkuhlmann/cgltf.git', git_ref = git_ref)
|
||||
checkout_root = repo['checkout_root']
|
||||
return {
|
||||
'CPPPATH': [checkout_root]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user