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  3bf5d33ba90dc3478a928f47507e004d905b7d87 (commit)
       via  6b6191d8754fd6a805a83c2a10f521aa92e26175 (commit)
      from  b1b6156cca4068dee0cfd0ec9c1fd6f2e7513db5 (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3bf5d33ba90dc3478a928f47507e004d905b7d87
commit 3bf5d33ba90dc3478a928f47507e004d905b7d87
Merge: b1b6156 6b6191d
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Thu Mar 2 09:56:38 2017 -0500
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Thu Mar 2 09:56:38 2017 -0500

    Merge topic 'ipo-variable' into next
    
    6b6191d8 Add variable 'CMAKE_INTERPROCEDURAL_OPTIMIZATION'


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6b6191d8754fd6a805a83c2a10f521aa92e26175
commit 6b6191d8754fd6a805a83c2a10f521aa92e26175
Author:     Ruslan Baratov <ruslan_bara...@yahoo.com>
AuthorDate: Mon Feb 27 19:00:43 2017 +0800
Commit:     Brad King <brad.k...@kitware.com>
CommitDate: Thu Mar 2 09:37:39 2017 -0500

    Add variable 'CMAKE_INTERPROCEDURAL_OPTIMIZATION'

diff --git a/Help/manual/cmake-variables.7.rst 
b/Help/manual/cmake-variables.7.rst
index 79c7cd8..d4fe0e4 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -285,6 +285,7 @@ Variables that Control the Build
    /variable/CMAKE_INSTALL_NAME_DIR
    /variable/CMAKE_INSTALL_RPATH
    /variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH
+   /variable/CMAKE_INTERPROCEDURAL_OPTIMIZATION
    /variable/CMAKE_IOS_INSTALL_COMBINED
    /variable/CMAKE_LANG_CLANG_TIDY
    /variable/CMAKE_LANG_COMPILER_LAUNCHER
diff --git a/Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst 
b/Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst
index effa3b0..3f68c31 100644
--- a/Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst
+++ b/Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst
@@ -5,3 +5,7 @@ Enable interprocedural optimization for a target.
 
 If set to true, enables interprocedural optimizations if they are
 known to be supported by the compiler.
+
+This property is initialized by the
+:variable:`CMAKE_INTERPROCEDURAL_OPTIMIZATION` variable if it is set when a
+target is created.
diff --git a/Help/release/dev/CMAKE_INTERPROCEDURAL_OPTIMIZATION.rst 
b/Help/release/dev/CMAKE_INTERPROCEDURAL_OPTIMIZATION.rst
new file mode 100644
index 0000000..fc4f733
--- /dev/null
+++ b/Help/release/dev/CMAKE_INTERPROCEDURAL_OPTIMIZATION.rst
@@ -0,0 +1,6 @@
+CMAKE_INTERPROCEDURAL_OPTIMIZATION
+----------------------------------
+
+* A :variable:`CMAKE_INTERPROCEDURAL_OPTIMIZATION` variable was added to
+  initialize the :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION` property on all
+  targets.
diff --git a/Help/variable/CMAKE_INTERPROCEDURAL_OPTIMIZATION.rst 
b/Help/variable/CMAKE_INTERPROCEDURAL_OPTIMIZATION.rst
new file mode 100644
index 0000000..b0cbb62
--- /dev/null
+++ b/Help/variable/CMAKE_INTERPROCEDURAL_OPTIMIZATION.rst
@@ -0,0 +1,8 @@
+CMAKE_INTERPROCEDURAL_OPTIMIZATION
+----------------------------------
+
+Default value for :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION` of targets.
+
+This variable is used to initialize the 
:prop_tgt:`INTERPROCEDURAL_OPTIMIZATION`
+property on all the targets.  See that target property for additional
+information.
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index c360c19..e3c7b63 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -230,6 +230,7 @@ cmTarget::cmTarget(std::string const& name, 
cmStateEnums::TargetType type,
     this->SetPropertyDefault("INSTALL_NAME_DIR", CM_NULLPTR);
     this->SetPropertyDefault("INSTALL_RPATH", "");
     this->SetPropertyDefault("INSTALL_RPATH_USE_LINK_PATH", "OFF");
+    this->SetPropertyDefault("INTERPROCEDURAL_OPTIMIZATION", CM_NULLPTR);
     this->SetPropertyDefault("SKIP_BUILD_RPATH", "OFF");
     this->SetPropertyDefault("BUILD_WITH_INSTALL_RPATH", "OFF");
     this->SetPropertyDefault("ARCHIVE_OUTPUT_DIRECTORY", CM_NULLPTR);

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

Summary of changes:
 Help/manual/cmake-variables.7.rst                       |    1 +
 Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst          |    4 ++++
 Help/release/dev/CMAKE_INTERPROCEDURAL_OPTIMIZATION.rst |    6 ++++++
 Help/variable/CMAKE_INTERPROCEDURAL_OPTIMIZATION.rst    |    8 ++++++++
 Source/cmTarget.cxx                                     |    1 +
 5 files changed, 20 insertions(+)
 create mode 100644 Help/release/dev/CMAKE_INTERPROCEDURAL_OPTIMIZATION.rst
 create mode 100644 Help/variable/CMAKE_INTERPROCEDURAL_OPTIMIZATION.rst


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits

Reply via email to