Added support for mewin.de branch of glm.
This commit is contained in:
parent
321f003b10
commit
41f8b81097
@ -1,8 +1,10 @@
|
|||||||
|
|
||||||
import os
|
|
||||||
from SCons.Script import *
|
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)
|
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']
|
checkout_root = repo['checkout_root']
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user