Add settings options to conanfile.#46
Merged
martinmoene merged 1 commit intononstd-lite:masterfrom May 14, 2019
Merged
Conversation
Settings will be removed from package_id after calling `self.info.header_only()`, but they a helpfull for Conan CMake helper to detect generator correctly.
Contributor
Author
|
Without this the following issue arises on windows having VS2017/VS2019 installed. conan install -s compiler="Visual Studio" -s compiler.version=15 -s build_type=Release -s compiler.runtime=MD optional-lite/3.2.0@nonstd-lite/stableWith output: The issue goes from this: Conan CMake helper doesn't know the compiler so tries to determine generator itself and picks up the latest it can find which stands for Visual Studio 16 2019 presented in the system. Those settings are harmless, because |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Settings will be removed from package_id after calling
self.info.header_only(), but they a helpfull for Conan CMake helper to detect generator correctly.