[CMake] Problem with CMake 2.8.12.2 on Mac OS X

Brad King brad.king at kitware.com
Wed May 28 13:03:17 EDT 2014


On 05/27/2014 09:08 AM, Robert Bielik wrote:
> Does anyone use CMake on Mac with Xcode 5 (LLVM) ?
> I cannot get rid of the -s option to the linker (Release)

The CMake source code contains no such option anywhere.  It must
be coming from the project you are trying to build or from your
environment.  I just tested locally with:

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.9.2
BuildVersion:   13C1021

$ xcodebuild -version
Xcode 5.1.1
Build version 5B1008

CMake 2.8.12.2 adds no -s link flag in any configuration of some
simple test projects I ran locally.

We have nightly testing of CMake on OS X for many versions of
Xcode through 5.0.  I just ran the entire test suite locally
with Xcode 5.1 and everything works for both the Unix Makefiles
generator and the Xcode generator.

CMake on OS X is known to work in general and is widely used.
If anyone has problems getting it to work please provide details
including the software versions, sample CMakeLists.txt, shell
commands invoked, and resulting error messages.

-Brad



More information about the CMake mailing list