[Cmake-commits] CMake branch, next, updated. v2.8.12.1-7155-g728d8bd

Brad King brad.king at kitware.com
Thu Jan 16 10:22:27 EST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  728d8bd85e10f2f18d56f28c6f9262a2ffe9f520 (commit)
       via  45056264bbccf3d5ce9690661bbe573d8511550b (commit)
      from  82404d666988deb328adab006cd31b5ce2f9d197 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=728d8bd85e10f2f18d56f28c6f9262a2ffe9f520
commit 728d8bd85e10f2f18d56f28c6f9262a2ffe9f520
Merge: 82404d6 4505626
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Jan 16 10:22:26 2014 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Jan 16 10:22:26 2014 -0500

    Merge topic 'doc-osx-vars' into next
    
    45056264 Help: Document CMAKE_OSX_* variables


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=45056264bbccf3d5ce9690661bbe573d8511550b
commit 45056264bbccf3d5ce9690661bbe573d8511550b
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Jan 16 10:21:47 2014 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Thu Jan 16 10:21:47 2014 -0500

    Help: Document CMAKE_OSX_* variables
    
    Add documentation entries for variables
    
     CMAKE_OSX_ARCHITECTURES
     CMAKE_OSX_DEPLOYMENT_TARGET
     CMAKE_OSX_SYSROOT
    
    Explain what each does and when/how they should be set.

diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
index cdd996c..832bd99 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -214,6 +214,9 @@ Variables that Control the Build
    /variable/CMAKE_MODULE_LINKER_FLAGS
    /variable/CMAKE_NO_BUILTIN_CHRPATH
    /variable/CMAKE_NO_SYSTEM_FROM_IMPORTED
+   /variable/CMAKE_OSX_ARCHITECTURES
+   /variable/CMAKE_OSX_DEPLOYMENT_TARGET
+   /variable/CMAKE_OSX_SYSROOT
    /variable/CMAKE_PDB_OUTPUT_DIRECTORY
    /variable/CMAKE_PDB_OUTPUT_DIRECTORY_CONFIG
    /variable/CMAKE_POSITION_INDEPENDENT_CODE
diff --git a/Help/prop_tgt/OSX_ARCHITECTURES.rst b/Help/prop_tgt/OSX_ARCHITECTURES.rst
index 68ff970..cefe03f 100644
--- a/Help/prop_tgt/OSX_ARCHITECTURES.rst
+++ b/Help/prop_tgt/OSX_ARCHITECTURES.rst
@@ -3,9 +3,9 @@ OSX_ARCHITECTURES
 
 Target specific architectures for OS X.
 
-The OSX_ARCHITECTURES property sets the target binary architecture for
-targets on OS X.  This property is initialized by the value of the
-variable CMAKE_OSX_ARCHITECTURES if it is set when a target is
-created.  Use OSX_ARCHITECTURES_<CONFIG> to set the binary
-architectures on a per-configuration basis.  <CONFIG> is an upper-case
-name (ex: "OSX_ARCHITECTURES_DEBUG").
+The ``OSX_ARCHITECTURES`` property sets the target binary architecture for
+targets on OS X (``-arch``).  This property is initialized by the value of the
+variable :variable:`CMAKE_OSX_ARCHITECTURES` if it is set when a target is
+created.  Use :prop_tgt:`OSX_ARCHITECTURES_<CONFIG>` to set the binary
+architectures on a per-configuration basis, where ``<CONFIG>`` is an
+upper-case name (e.g. ``OSX_ARCHITECTURES_DEBUG``).
diff --git a/Help/prop_tgt/OSX_ARCHITECTURES_CONFIG.rst b/Help/prop_tgt/OSX_ARCHITECTURES_CONFIG.rst
index ea05bea..f8fdcff 100644
--- a/Help/prop_tgt/OSX_ARCHITECTURES_CONFIG.rst
+++ b/Help/prop_tgt/OSX_ARCHITECTURES_CONFIG.rst
@@ -4,4 +4,4 @@ OSX_ARCHITECTURES_<CONFIG>
 Per-configuration OS X binary architectures for a target.
 
 This property is the configuration-specific version of
-OSX_ARCHITECTURES.
+:prop_tgt:`OSX_ARCHITECTURES`.
diff --git a/Help/variable/CMAKE_OSX_ARCHITECTURES.rst b/Help/variable/CMAKE_OSX_ARCHITECTURES.rst
new file mode 100644
index 0000000..b9de518
--- /dev/null
+++ b/Help/variable/CMAKE_OSX_ARCHITECTURES.rst
@@ -0,0 +1,10 @@
+CMAKE_OSX_ARCHITECTURES
+-----------------------
+
+Target specific architectures for OS X.
+
+This variable is used to initialize the :prop_tgt:`OSX_ARCHITECTURES`
+property on each target as it is creaed.  See that target property
+for additional information.
+
+.. include:: CMAKE_OSX_VARIABLE.txt
diff --git a/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst b/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst
new file mode 100644
index 0000000..4fb2caa
--- /dev/null
+++ b/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst
@@ -0,0 +1,13 @@
+CMAKE_OSX_DEPLOYMENT_TARGET
+---------------------------
+
+Specify the minimum version of OS X on which the target binaries are
+to be deployed.  CMake uses this value for the ``-mmacosx-version-min``
+flag and to help choose the default SDK
+(see :variable:`CMAKE_OSX_SYSROOT`).
+
+If not set explicitly the value is initialized by the
+``MACOSX_DEPLOYMENT_TARGET`` environment variable, if set,
+and otherwise computed based on the host platform.
+
+.. include:: CMAKE_OSX_VARIABLE.txt
diff --git a/Help/variable/CMAKE_OSX_SYSROOT.rst b/Help/variable/CMAKE_OSX_SYSROOT.rst
new file mode 100644
index 0000000..f1d58c6
--- /dev/null
+++ b/Help/variable/CMAKE_OSX_SYSROOT.rst
@@ -0,0 +1,13 @@
+CMAKE_OSX_SYSROOT
+-----------------
+
+Specify the location or name of the OS X platform SDK to be used.
+CMake uses this value to compute the value of the ``-isysroot`` flag
+or equivalent and to help the ``find_*`` commands locate files in
+the SDK.
+
+If not set explicitly the value is initialized by the ``SDKROOT``
+environment variable, if set, and otherwise computed based on the
+:variable:`CMAKE_OSX_DEPLOYMENT_TARGET` or the host platform.
+
+.. include:: CMAKE_OSX_VARIABLE.txt
diff --git a/Help/variable/CMAKE_OSX_VARIABLE.txt b/Help/variable/CMAKE_OSX_VARIABLE.txt
new file mode 100644
index 0000000..385f871
--- /dev/null
+++ b/Help/variable/CMAKE_OSX_VARIABLE.txt
@@ -0,0 +1,6 @@
+The value of this variable should be set prior to the first
+:command:`project` or :command:`enable_language` command invocation
+because it may influence configuration of the toolchain and flags.
+It is intended to be set locally by the user creating a build tree.
+
+This variable is ignored on platforms other than OS X.

-----------------------------------------------------------------------

Summary of changes:
 Help/manual/cmake-variables.7.rst             |    3 +++
 Help/prop_tgt/OSX_ARCHITECTURES.rst           |   12 ++++++------
 Help/prop_tgt/OSX_ARCHITECTURES_CONFIG.rst    |    2 +-
 Help/variable/CMAKE_OSX_ARCHITECTURES.rst     |   10 ++++++++++
 Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst |   13 +++++++++++++
 Help/variable/CMAKE_OSX_SYSROOT.rst           |   13 +++++++++++++
 Help/variable/CMAKE_OSX_VARIABLE.txt          |    6 ++++++
 7 files changed, 52 insertions(+), 7 deletions(-)
 create mode 100644 Help/variable/CMAKE_OSX_ARCHITECTURES.rst
 create mode 100644 Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst
 create mode 100644 Help/variable/CMAKE_OSX_SYSROOT.rst
 create mode 100644 Help/variable/CMAKE_OSX_VARIABLE.txt


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list