New issue
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
Clang via Visual Studio results in error #2285
Comments
Actually, the CMake is passing the Certainly the support for Clang in Windows has to be improved. Maybe @SSE4 can help further, has expertise in it. |
Yeah, sorry if I wasn't clear - I recognize that the problem is in the generation of the conanbuildinfo.cmake, not in CMake itself (which is passing the correct -T option). I think I see the problem in the generator and have a patch, but I need to test it a little bit first; assuming it's good I'll submit a pull request. |
…lset would not be able to compile due to the compiler check failing.
…lset would not be able to compile due to the compiler check failing.
…lset would not be able to compile due to the compiler check failing.
…ld not be able to compile due to the compiler check failing. (#2287)
* Contributing guides and templates (#2123) * Contributing guides and templates * Typo * Review * Bad quote * Review * maintainers and contributors * some minor fixes * Dummy change * dummy change2 * Removed weird new line * Fix diamond test function (#2220) * Dev version * Fixes issue #2285 where Visual Studio users using a clang toolset would not be able to compile due to the compiler check failing. (#2287) * remove None settings from conaninfo * correct version
* Contributing guides and templates (#2123) * Contributing guides and templates * Typo * Review * Bad quote * Review * maintainers and contributors * some minor fixes * Dummy change * dummy change2 * Removed weird new line * Fix diamond test function (#2220) * Dev version * Fixes issue #2285 where Visual Studio users using a clang toolset would not be able to compile due to the compiler check failing. (#2287) * fixing the local flow when settings are removed * new options setting * fixed error with settings_preprocessor * fixed broken test in linux
I think this issue was closed by #2287, and already released, please check. |
Sorry for the delay, but I just confirmed that this works. In fact, I confirmed it very hard because apparently an upgrade to Visual Studio caused my LLVM install to break, and conan was correctly detecting that it was falling back to the MSVC compiler instead of using LLVM like it should. Thanks, |
…lset would not be able to compile due to the compiler check failing. (conan-io#2287)
* Contributing guides and templates (conan-io#2123) * Contributing guides and templates * Typo * Review * Bad quote * Review * maintainers and contributors * some minor fixes * Dummy change * dummy change2 * Removed weird new line * Fix diamond test function (conan-io#2220) * Dev version * Fixes issue conan-io#2285 where Visual Studio users using a clang toolset would not be able to compile due to the compiler check failing. (conan-io#2287) * remove None settings from conaninfo * correct version
* Contributing guides and templates (conan-io#2123) * Contributing guides and templates * Typo * Review * Bad quote * Review * maintainers and contributors * some minor fixes * Dummy change * dummy change2 * Removed weird new line * Fix diamond test function (conan-io#2220) * Dev version * Fixes issue conan-io#2285 where Visual Studio users using a clang toolset would not be able to compile due to the compiler check failing. (conan-io#2287) * fixing the local flow when settings are removed * new options setting * fixed error with settings_preprocessor * fixed broken test in linux
To help us debug your issue please explain:
Conan 0.30.3
When using the
compiler
toVisual Studio
andcompiler.toolset
setting set toLLVM-vs2014
(and possibly others), the CMake generator's generated file creates an error condition:Since this compiler.toolset option is present in the default settings.yml, I presume this is supposed to work. My guess at the right way to approach this is to teach the CMake generator about compiler.toolset, which it is currently blissfully ignorant of. The downside is that it also means teaching the generator about this setup (and would potentially not work for custom toolsets).
The text was updated successfully, but these errors were encountered: