Added recipes for fmt and magic_enum.

This commit is contained in:
2023-06-25 13:53:04 +02:00
parent 93aabf30b4
commit d959540e0c
3 changed files with 53 additions and 2 deletions

View 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 = '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')]
}