On 11. Aug, 2010, at 22:31 , Erik Lindahl wrote: > Hi Mike, > > On Aug 11, 2010, at 10:16 PM, Michael Jackson wrote: >> >> So CMake is _trying_ to help you as best it can at the moment. You should >> still be able to wrap the test to CheckTypeSize() with your own function, >> detect the change to CMAKE_OSX_ARCHITECTURES and the forcibly rerun the test >> again. >> >> Hope some of that helps. > > Yes, the entire discussion has been of great help, and I actually wasn't > aware that you could get the _entire_ #define code in one string out of the > routine - I was trying to use the Key/value pairs. > > However, even in this case it's a bit strange to the novice that it _only_ > works if you add the architectures on the command line, not if you change it > in the GUI (which I think is what most users - like me - will try first :-) > > Cheers, > > Erik
That's why we need the "dependent-variable" concept... In my project I'm doing this already manually using INTERNAL cache variables to detect changes and unset dependent variables. Michael _______________________________________________ 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://www.cmake.org/mailman/listinfo/cmake
