Comments (3)
Hi Lau!
I think the settings were never meant to be used from profiles, as cmake controls its own definition of compiler, architecture, etc. Profile usage is mainly to complement other features (options, build_requires, env-vars).
In which branch of cmake-conan are you running? Master, develop? If you want stable behavior and controlled updates, I think you might want to use tagged releases of this repo, they are regularly published.
If you check the code you will see that the definition of the libcxx is not controlled by the setting, but by the var _GLIBCXX_USE_CXX11_ABI
. I think this behavior was from very early. You can control which libcxx are you using by setting it to 1 or 0
Please try and tell me. Thanks!
from cmake-conan.
My apologies, I realise that the above issue description is nowhere near complete.
I am using conan 0.30.3 and I am downloading conan.cmake from the master branch every time I delete my build directory. So far this has worked like a charm, and it still does.
I was surprised today because all of my dependencies started to rebuild, and the one thing that caught my eye was the difference in compiler.libcxx from my default profile. I have tried with a version of conan.cmake from last week, and it turns out that the reason for the rebuild was not the change in compiler.libcxx but because the compiler version went from MAJOR.MINOR to just MAJOR.
There was nothing wrong. Next time I will investigate a bit more before raising an issue.
Thanks!
from cmake-conan.
No problem at all!!
Much better to raise an issue, that at the end is a false positive, than not saying anything and let a real issue affect other users. So thanks for submitting the issue.
Yes, we have changed the default version for GCC to match the new version policies of GCC itself, that are now using minors for bug fixes, so they are ABI compatible and the default of using only the major should be ok for most cases.
Cheers!
from cmake-conan.
Related Issues (20)
- [bug] generated settings.yml missing Macos.version "14.2", causes build failures HOT 10
- [develop2, BUG] Unknown arguments specified in conan_provider.cmake:519 HOT 2
- Unable to cross compile openssl/3.x.x on develop2 HOT 6
- Using "build-scripts" package via tool_requires() not working HOT 5
- [develop2] CMAKE_CONFIGURATION_TYPES with custom build types not getting dependencies added properly HOT 3
- ERROR: Invalid setting '6' is not a valid 'settings.compiler.version' value HOT 2
- 【conan install】conan_provider.cmake downloads packages from source because detect_host_profile generates compiler.cppstd=xx in the cmake-build-release/conan_host_profile file with the detect_host_profile method HOT 5
- cmake bootstrapping fails if not on PATH HOT 3
- Not working with conan editable mode HOT 5
- Update readme with more details HOT 1
- MSVC version update HOT 6
- [question] Using layout and -of together Conan 2 HOT 4
- Some "url" attributes causes cmake-conan to fail HOT 3
- MSVC unknown compiler version 1940 HOT 23
- fail to set XXX_INCLUDE_DIR HOT 1
- [bug] passing path with ""(double quotes) to conan_install() HOT 3
- conan_provider.cmake and conan options? HOT 1
- How can a toolchain be downloaded and used to build other dependencies of CMAKE project. HOT 1
- [bug] conanfile.txt and conanfile.py behave inconsistently HOT 7
- [develop2]How to enable build_type switch after cmake executed with Multi Configuration generators like Visual Studio? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmake-conan.