On 28. Mar, 2010, at 3:25 , Simmons, Aaron wrote: >> What I don't understand is this: Why do you want to force the SDK? Shouldn't >> this be the worry of the person doing the build? >> >> If I download some open-source software and then build it for myself, >> I don't want to be forced in using the 10.4 SDK, I wan't to build against >> the greatest and latest! > > If this were open-source, I'd agree with you. But it's not-- it's the build > script for my company's software that needs to run on 10.4. I suppose I > could have cmake try for the 10.4 sdk if it's available or use the default > otherwise. But since it's a requirement that it work on 10.4, I'd rather > have it always build that way. > > > aaron
Then I'd suggest you wrap the build-process in a easy-to-use script, where you look for the 10.4 SDK and then call CMake with a cache-initializer script (-C option) to set the required options in the cache. 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
