From 5b98c4a2ae0deeaa258357a88d2aae54c2571b82 Mon Sep 17 00:00:00 2001 From: Martin Plicht Date: Thu, 22 Mar 2012 10:25:19 +0100 Subject: [PATCH] mac: README: Forgot note about checking out 'next' when cloning cmake --- README.mac.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/README.mac.txt b/README.mac.txt index 068d80459..fead0d4ae 100644 --- a/README.mac.txt +++ b/README.mac.txt @@ -38,6 +38,7 @@ Situation with Xcode 4.3+ Xcode is now a self-contained application bundle which confuses CMake. The CMake git repo contains necessary fixes but those haven't been incorporated into a new CMake release yet so to use those you have to build the cmake command line tool yourself by * cloning git://cmake.org/cmake.git + * running git checkout next * running ./configure, make and sudo make install The project generation command I (Mortimer) used was `cmake -G Xcode -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++`, obviously specifying clang as the compiler. There is a related CMake option called USE_APPLE_CLANG which should be ON by default. After that I had a proper Xcode 4.3 project.