Added recipes for Glslang and GLM.

This commit is contained in:
2023-11-04 19:34:16 +01:00
parent 93dd09e324
commit 7050ec5e43
3 changed files with 35 additions and 0 deletions

11
recipes/glm/recipe.py Normal file
View File

@@ -0,0 +1,11 @@
import os
from SCons.Script import *
def cook(env: Environment, git_ref: str = "master") -> dict:
repo = env.Cook('GitBranch', repo_name = 'glm', remote_url = 'https://github.com/g-truc/glm.git', git_ref = git_ref)
checkout_root = repo['checkout_root']
return {
'CPPPATH': [checkout_root],
}