Brad King wrote: > 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.
But the toolchain file is indeed a bit special, at it is only evaluated once. Telling a user _why_ it is wrong to pass it again, especially if it is different, would be a good idea IMHO. Which doesn't conflict with your solution. Eike --
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
