[CMake] Detecting Mac OS X Version
Mike Jackson
imikejackson at gmail.com
Wed Oct 31 20:57:25 EDT 2007
Seans points are taken. Right now all I know is that if you are
building on 10.5 then you need all this special linker crap due to
the new linker in 10.5. I think I like the idea of parsing the
"sw_vers" output better. Just need to implement it.
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Oct 31, 2007, at 7:41 PM, E. Wing wrote:
> I'm wondering the same about this topic. I think Sean might be right
> about checking for the SDK target version instead of OS X version,
> though I could come up with a contrived example where knowing the
> actual OS X version could be important, such as a CMake bug/issue you
> need to work around that only appears on 10.4.3 or something. So it
> would be good to have both.
>
> A warning about Darwin version checking...don't consider it a reliable
> indicator about which OS X version you are using. It is possible for a
> developer to upgrade Darwin independently from OS X. I remember seeing
> somebody do this before because they needed some feature that wasn't
> in the Apple shipping version. I think you should only check Darwin
> versions if you are actually dealing directly with Darwin.
>
> -Eric
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list