Build Skybolt using conan. This will also build dependencies if required.
(skybolt_source_dir: Path, skybolt_build_dir: Path)
| 11 | |
| 12 | |
| 13 | def build(skybolt_source_dir: Path, skybolt_build_dir: Path): |
| 14 | """ |
| 15 | Build Skybolt using conan. This will also build dependencies if required. |
| 16 | """ |
| 17 | logging.info(f"Building...") |
| 18 | sp.run(f"conan build {skybolt_source_dir} --output-folder={skybolt_build_dir} -o openscenegraph-mr/*:shared=True -o qt/*:shared=True -o enable_python=True -o enable_bullet=True --build=missing -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True --lockfile={skybolt_source_dir}/conan-shared.lock --lockfile-partial", shell=True, check=True) |
| 19 | |
| 20 | |
| 21 | def copy_tree(source_dir: Path, destination_dir: Path): |