11 lines
		
	
	
		
			357 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			357 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
 | |
| import os
 | |
| from SCons.Script import *
 | |
| 
 | |
| def cook(env: Environment, git_ref: str = "master") -> dict:
 | |
|     repo = env.Cook('GitBranch', repo_name = 'magic_enum', remote_url = 'https://github.com/Neargye/magic_enum.git', git_ref = git_ref)
 | |
|     checkout_root = repo['checkout_root']
 | |
|     return {
 | |
|         'CPPPATH': [os.path.join(checkout_root, 'include')]
 | |
|     }
 |