[Cmake-commits] CMake branch, master, updated. v3.14.5-1184-g3cb5a8d9
Kitware Robot
kwrobot at kitware.com
Mon Jun 3 08:23:06 EDT 2019
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, master has been updated
via 3cb5a8d9b3add4394b12d61b5ce83ea6ca148fd1 (commit)
via 18d6bdb42d6fceb2b753430e74a4d6076e321f03 (commit)
via 774102aaec1a74ea069be9b10a2c846cdbfa609f (commit)
via 4127f82179acb13746c6249dd420ffa8b4abeb72 (commit)
from 7dae93b4053812d344a80918a8c1c05600800c21 (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=3cb5a8d9b3add4394b12d61b5ce83ea6ca148fd1
commit 3cb5a8d9b3add4394b12d61b5ce83ea6ca148fd1
Merge: 18d6bdb 774102a
Author: Craig Scott <craig.scott at crascit.com>
AuthorDate: Mon Jun 3 12:20:13 2019 +0000
Commit: Kitware Robot <kwrobot at kitware.com>
CommitDate: Mon Jun 3 08:20:22 2019 -0400
Merge topic 'doc-test-cost-default'
774102aaec Help: Clarify the default value for test property COST
Acked-by: Kitware Robot <kwrobot at kitware.com>
Merge-request: !3397
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=18d6bdb42d6fceb2b753430e74a4d6076e321f03
commit 18d6bdb42d6fceb2b753430e74a4d6076e321f03
Merge: 7dae93b 4127f82
Author: Craig Scott <craig.scott at crascit.com>
AuthorDate: Mon Jun 3 12:17:42 2019 +0000
Commit: Kitware Robot <kwrobot at kitware.com>
CommitDate: Mon Jun 3 08:18:02 2019 -0400
Merge topic 'add_library_unknown'
4127f82179 add_library: Document UNKNOWN type of imported targets
Acked-by: Kitware Robot <kwrobot at kitware.com>
Merge-request: !3346
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=774102aaec1a74ea069be9b10a2c846cdbfa609f
commit 774102aaec1a74ea069be9b10a2c846cdbfa609f
Author: Craig Scott <craig.scott at crascit.com>
AuthorDate: Wed May 29 20:57:52 2019 -0400
Commit: Craig Scott <craig.scott at crascit.com>
CommitDate: Sun Jun 2 21:08:56 2019 +1000
Help: Clarify the default value for test property COST
Co-Authored-By: Steve Mokris <smokris at softpixel.com>
diff --git a/Help/prop_test/COST.rst b/Help/prop_test/COST.rst
index 0c0fca7..9300d7b 100644
--- a/Help/prop_test/COST.rst
+++ b/Help/prop_test/COST.rst
@@ -1,8 +1,14 @@
COST
----
-Set this to a floating point value. Tests in a test set will be run
-in descending order of cost.
+This property describes the cost of a test. When parallel testing is
+enabled, tests in the test set will be run in descending order of cost.
+Projects can explicitly define the cost of a test by setting this property
+to a floating point value.
-This property describes the cost of a test. You can explicitly set
-this value; tests with higher ``COST`` values will run first.
+When the cost of a test is not defined by the project,
+:manual:`ctest <ctest(1)>` will initially use a default cost of ``0``.
+It computes a weighted average of the cost each time a test is run and
+uses that as an improved estimate of the cost for the next run. The more
+a test is re-run in the same build directory, the more representative the
+cost should become.
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4127f82179acb13746c6249dd420ffa8b4abeb72
commit 4127f82179acb13746c6249dd420ffa8b4abeb72
Author: Cristian Adam <cristian.adam at gmail.com>
AuthorDate: Mon May 20 22:40:17 2019 +0200
Commit: Cristian Adam <cristian.adam at gmail.com>
CommitDate: Sun Jun 2 08:44:47 2019 +0200
add_library: Document UNKNOWN type of imported targets
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst
index b42fe42..7274e44 100644
--- a/Help/command/add_library.rst
+++ b/Help/command/add_library.rst
@@ -94,6 +94,12 @@ The most important properties are:
See documentation of the ``IMPORTED_*`` and ``INTERFACE_*`` properties
for more information.
+An ``UNKNOWN`` library type is typically only used in the implementation of
+:ref:`Find Modules`. It allows the path to an imported library (often found
+using the :command:`find_library` command) to be used without having to know
+what type of library it is. This is especially useful on Windows where a
+static library and a DLL's import library both have the same file extension.
+
Object Libraries
^^^^^^^^^^^^^^^^
-----------------------------------------------------------------------
Summary of changes:
Help/command/add_library.rst | 6 ++++++
Help/prop_test/COST.rst | 14 ++++++++++----
2 files changed, 16 insertions(+), 4 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list