Trick-17 / clang-build

Clang-based cross platform build system written in Python
https://clang-build.readthedocs.io
MIT License
8 stars 3 forks source link

Specify project-level default version for targets #106

Open GPMueller opened 4 years ago

GPMueller commented 4 years ago

This would set the version for all targets specified by the project (not its subprojects). The version could still be overridden target-wise, if needed. E.g.,

[[subproject]]
    name = "boost"
    default_target_version = "boost-1.65.0"

[subproject.filesystem]
    target_type = "static library"
    url = "https://github.com/boostorg/filesystem"

[subproject.system]
    target_type = "static library"
    url = "https://github.com/boostorg/system"
    version = "boost-1.66.0"

# ...