Added recipe for MikkTSpace.
This commit is contained in:
parent
4859f40f8f
commit
e6b8062865
12
recipes/mikktspace/recipe.py
Normal file
12
recipes/mikktspace/recipe.py
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
import os
|
||||
from SCons.Script import *
|
||||
|
||||
def cook(env: Environment, git_ref: str = 'master') -> dict:
|
||||
repo = env.Cook('GitBranch', repo_name = 'mikktspace', remote_url = 'https://github.com/mmikk/MikkTSpace.git', git_ref = git_ref)
|
||||
lib_mikktspace = env.StaticLibrary(
|
||||
CPPPATH = [repo['checkout_root']],
|
||||
target = env['LIB_DIR'] + '/mikktspace',
|
||||
source = [os.path.join(repo['checkout_root'], 'mikktspace.c')]
|
||||
)
|
||||
return lib_mikktspace
|
Loading…
x
Reference in New Issue
Block a user