[CMake] find_library and mac os x SDKs
Michael Wild
themiwi at gmail.com
Sun Mar 28 03:42:56 EDT 2010
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
More information about the CMake
mailing list