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
Can messages in CMakeLists.txt be optional? #478
Comments
I think that setting the cmake's |
For the first messages, setting However about this change: option(USE_LIBCPP "Use libc++ by adding -stdlib=libc++ flag if availbale." OFF)
I think that a good way to make this warning optional would be to add a variable to toggle it. |
Yeah, I thought the same yesterday. I'm changing it soon.
Well, in fact, there exists already a way to toggle it. You can set the |
I still want to use libc++ by default, but I don't want the warning to appear each time I run |
Oh, I see what you mean. You distribute your application, so you don't know what's on the target platform and you don't want to set an option to |
Debian 9 and Ubuntu 16 users needs to either upgrade their Setting this message to verbose could be a way to do it, yes, since you'll still see:
But setting it to verbose makes it less noticeable for people that actually cares about the warning. That's why I though a specific variable to disable the warning would be a nice way. Some users could do But it's just my opinion. |
In the CMakeLists.txt, could it be possible to add a variable to toggle the display of those messages?
entt/CMakeLists.txt
Lines 40 to 43 in dfc1861
entt/CMakeLists.txt
Line 66 in dfc1861
From all the libraries I'm using in my project, EnTT is the only one to talk about itself in the CMake log:
against:
The text was updated successfully, but these errors were encountered: