Added support for mewin.de branch of glm.

This commit is contained in:
Patrick 2023-11-26 13:13:27 +01:00
parent 321f003b10
commit 41f8b81097

View File

@ -1,8 +1,10 @@
import os
from SCons.Script import *
def cook(env: Environment, git_ref: str = "master") -> dict:
def cook(env: Environment, remote: str = 'github', git_ref: str = "master") -> dict:
if remote == 'mewin':
repo = env.Cook('GitBranch', repo_name = 'glm_mewin', remote_url = 'https://git.mewin.de/mewin/glm.git', git_ref = git_ref)
else:
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']