[cmake-developers] Suggestion: CMAKE_TOOLCHAIN_FILE warning improvement

Brad King brad.king at kitware.com
Wed Apr 10 10:38:53 EDT 2013


On 04/10/2013 10:30 AM, Rolf Eike Beer wrote:
> I think what Stephen had in mind (I really hope he had *g*) is to show 
> a different warning in that case, telling the user that the toolchain 
> file is ignored on any subsequent run.

Another approach is to not warn when the -DFOO=bar option just
repeats a value that is already in the cache without changing it.
That would be a more general solution that covers this case too.

-Brad



More information about the cmake-developers mailing list