summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-29 14:14:00 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-01-29 14:14:00 (GMT)
commit326cfe2b30f0223ba676b966dc49a74972e4e4fb (patch)
treeef2953bd52b057efc6db8126118bc0a0a903646e /Help
parent98659aecfd819eb1e7771f7420933316a628b057 (diff)
parentab9fa54d4841e5b0eff8d241ad8edb47401b0394 (diff)
downloadCMake-326cfe2b30f0223ba676b966dc49a74972e4e4fb.zip
CMake-326cfe2b30f0223ba676b966dc49a74972e4e4fb.tar.gz
CMake-326cfe2b30f0223ba676b966dc49a74972e4e4fb.tar.bz2
Merge topic 'xcode-revise-make-program'
ab9fa54d Xcode: Switch to internal CMAKE_MAKE_PROGRAM lookup by generator (#15324) 11e2e6ca Xcode: Select make program at build time e4055a61 Xcode: Add internal API to find xcodebuild
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/xcode-revise-make-program.rst6
-rw-r--r--Help/variable/CMAKE_MAKE_PROGRAM.rst11
2 files changed, 15 insertions, 2 deletions
diff --git a/Help/release/dev/xcode-revise-make-program.rst b/Help/release/dev/xcode-revise-make-program.rst
new file mode 100644
index 0000000..f50cf44
--- /dev/null
+++ b/Help/release/dev/xcode-revise-make-program.rst
@@ -0,0 +1,6 @@
+xcode-revise-make-program
+-------------------------
+
+* The :generator:`Xcode` generator no longer requires a value for
+ the :variable:`CMAKE_MAKE_PROGRAM` variable to be located up front.
+ It now locates ``xcodebuild`` when needed at build time.
diff --git a/Help/variable/CMAKE_MAKE_PROGRAM.rst b/Help/variable/CMAKE_MAKE_PROGRAM.rst
index 97caa8a..f1d88a5 100644
--- a/Help/variable/CMAKE_MAKE_PROGRAM.rst
+++ b/Help/variable/CMAKE_MAKE_PROGRAM.rst
@@ -23,8 +23,15 @@ to configure the project:
otherwise undocumented ``cmakexbuild`` wrapper implementing some
workarounds).
- This generator stores ``CMAKE_MAKE_PROGRAM`` in the CMake cache
- so that it may be edited by the user.
+ This generator prefers to lookup the build tool at build time
+ rather than to store ``CMAKE_MAKE_PROGRAM`` in the CMake cache
+ ahead of time. This is because ``xcodebuild`` is easy to find,
+ the ``cmakexbuild`` wrapper is needed only for older Xcode versions,
+ and the path to ``cmakexbuild`` may be outdated if CMake itself moves.
+
+ For compatibility with versions of CMake prior to 3.2, if
+ a user or project explicitly adds ``CMAKE_MAKE_PROGRAM`` to
+ the CMake cache then CMake will use the specified value.
* The Visual Studio generators set this to the full path to
``MSBuild.exe`` (VS >= 10), ``devenv.com`` (VS 7,8,9),