We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The update_build_if function is missing information inside the build object. The README precise that you can use the os information (https://github.com/conan-io/conan-package-tools#filtering-or-modifying-the-configurations) but it does not seems to be present.
update_build_if
build
os
from cpt.packager import ConanMultiPackager if __name__ == "__main__": builder = ConanMultiPackager() builder.add_common_builds(pure_c=False) builder.update_build_if(lambda build: print(build.settings))
{'arch': 'x86', 'build_type': 'Release', 'compiler': 'gcc', 'compiler.version': '5', 'compiler.libcxx': 'libstdc++11'}
{'compiler': 'Visual Studio', 'compiler.version': '14', 'arch': 'x86', 'build_type': 'Release', 'compiler.runtime': 'MT'}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description of Problem, Request, or Question
The
update_build_if
function is missing information inside thebuild
object. The README precise that you can use theos
information (https://github.com/conan-io/conan-package-tools#filtering-or-modifying-the-configurations) but it does not seems to be present.{'arch': 'x86', 'build_type': 'Release', 'compiler': 'gcc', 'compiler.version': '5', 'compiler.libcxx': 'libstdc++11'}
{'compiler': 'Visual Studio', 'compiler.version': '14', 'arch': 'x86', 'build_type': 'Release', 'compiler.runtime': 'MT'}
Environment Details
The text was updated successfully, but these errors were encountered: