Added recipe for boost.
This commit is contained in:
12
recipes/boost/recipe.py
Normal file
12
recipes/boost/recipe.py
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
import os
|
||||
from SCons.Script import *
|
||||
|
||||
def cook(env: Environment, version: str = "1.85.0") -> dict:
|
||||
# TODO: build binaries?
|
||||
url = f'https://archives.boost.io/release/{version}/source/boost_{version.replace(".", "_")}.tar.gz'
|
||||
repo = env.Cook('DownloadAndExtract', f'boost_{version}', url = url, skip_folders = 1)
|
||||
checkout_root = repo['extracted_root']
|
||||
return {
|
||||
'CPPPATH': [checkout_root]
|
||||
}
|
||||
Reference in New Issue
Block a user