Added recipe for argparse.
This commit is contained in:
parent
2eeed1f551
commit
b2a81cadb9
10
recipes/argparse/recipe.py
Normal file
10
recipes/argparse/recipe.py
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
import os
|
||||
from SCons.Script import *
|
||||
|
||||
def cook(env: Environment, git_ref: str = "master") -> dict:
|
||||
repo = env.Cook('GitBranch', repo_name = 'argparse', remote_url = 'https://github.com/p-ranav/argparse.git', git_ref = git_ref)
|
||||
checkout_root = repo['checkout_root']
|
||||
return {
|
||||
'CPPPATH': [os.path.join(checkout_root, 'include')]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user