Dammit. Went through all the option files etc. and found the darn -s. Sorry for the noise everyone...
/R Brad King skrev 2014-05-28 19:03: > 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 > -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
