Daniel Pfeifer
d9f5d3c50f
Remove redundant get() call on smart pointer
2016-09-16 22:16:27 +02:00
Daniel Pfeifer
3fda109451
Mark overridden functions with CM_OVERRIDE
2016-09-16 22:14:19 +02:00
Brad King
aa50cdac43
Check for availability of unique_ptr and make_unique when building CMake
...
Some code paths may find these useful if available.
2016-09-16 13:22:10 -04:00
Brad King
0310cb1094
Utilities/Release: Build Linux and OS X binaries as C++14
...
The toolchains we use to build on these platforms support it.
2016-09-16 12:52:13 -04:00
Brad King
a327b20694
CPackIFW: Format documentation
...
Place command documentation in explicit markup blocks and remove
horizontal dividers. Use definition lists and bullet lists as
appropriate.
2016-09-16 10:40:17 -04:00
Pierluigi Taddei
c2f0f41f63
CPackIFW: Add USER_INTERFACES option
...
Add to CPackIFW the capability of accepting a list of
USER_INTERFACES that are copied to the meta folder and
added to the component description.
2016-09-16 10:29:00 -04:00
Brad King
00fd64d126
Merge topic 'refactor-target-construction'
...
9353d991
cmTarget: Remove unused support for partial construction
fa3897b2
cmGlobalGenerator: Refactor global target construction
916d8445
cmGlobalGenerator: Split CreateDefaultGlobalTargets implementation
2016-09-16 10:21:43 -04:00
Brad King
60ebd0acf8
Merge topic 'size-empty'
...
73f648f1
use empty method to check for emptyness
2016-09-16 10:21:39 -04:00
Brad King
cf0e005202
Merge topic 'detect-relink-incompat'
...
72dfca30
ninja: error out on relink requirements
2016-09-16 10:21:31 -04:00
Brad King
4356bd7fe3
Merge topic 'file-curl-httpheader'
...
8f6cb366
file(DOWNLOAD|UPLOAD): Add HTTPHEADER suboption
2016-09-16 10:21:23 -04:00
Brad King
38a378e10d
Merge topic 'find_package-dir-sort'
...
31be918b
find_package: Optionally sort globbed directories in a meaningful order
2016-09-16 10:21:17 -04:00
Brad King
3efb3c0012
Merge topic 'ExternalProject-http-credentials'
...
9cbd04be
Help: Add notes for topic 'ExternalProject-http-credentials'
e1ca1173
ExternalProject: Add HTTP_{USERNAME,PASSWORD}
2016-09-16 10:21:11 -04:00
Brad King
6f1b80bec0
Merge topic 'file-LOCK-lowercase-test'
...
a788cf30
Tests: Add case for file(LOCK) with lower-cased path
2016-09-16 10:20:57 -04:00
Brad King
554655bfd9
Merge topic 'require-cmake-2.8.12.2'
...
ae783c9b
Require CMake 2.8.12.2 to build CMake itself
2016-09-16 10:20:48 -04:00
Brad King
a098ca0d7a
cmake: Fix --find-package mode link line output
...
Refactoring in commit v2.8.10~58^2~2 (Ninja: move -LIBPATH behind -link
option, 2012-09-26) added arguments to cmLocalGenerator::GetTargetFlags
and updated the call sites. However, in the cmake::FindPackage and
cmLocalGenerator::AddBuildTargetRule call sites it added the new
arguments in the wrong order. The latter was never used and has been
removed. The former remains buggy and prints out compiler flags instead
of the link framework/library search paths. Fix its argument order.
2016-09-16 10:03:15 -04:00
Brad King
d9c600c504
cmGlobalGenerator: Fix use of uninitialized value in --find-package mode
2016-09-16 09:25:41 -04:00
Kitware Robot
3bb18e708d
CMake Nightly Date Stamp
2016-09-16 00:01:07 -04:00
Daniel Pfeifer
73f648f167
use empty method to check for emptyness
2016-09-15 23:59:29 +02:00
Brad King
9353d991a4
cmTarget: Remove unused support for partial construction
...
We no longer need to support partial construction for cmTarget instances
of type GLOBAL_TARGET. Require all constructor arguments up front.
2016-09-15 16:02:27 -04:00
Brad King
fa3897b24e
cmGlobalGenerator: Refactor global target construction
...
Avoid using partially-constructed cmTarget instances. Collect the
information about how to construct each target in a separate structure
and then actually create each cmTarget with full construction.
2016-09-15 15:56:49 -04:00
Brad King
916d84450d
cmGlobalGenerator: Split CreateDefaultGlobalTargets implementation
...
Divide this long method into multiple helpers each dedicated to one of
the targets. This also avoids having to clear/re-use local structures.
2016-09-15 15:37:25 -04:00
Ruslan Baratov
8f6cb36695
file(DOWNLOAD|UPLOAD): Add HTTPHEADER suboption
2016-09-15 21:41:39 +03:00
Brad King
6e06a53ebf
Merge topic 'doc-CMP0017'
...
c3507b54
Help: Clarify wording of include() for builtin module directories
2016-09-15 14:16:07 -04:00
Brad King
6a18967580
Merge topic 'doc-FeatureSummary'
...
7aa97b94
FeatureSummary: Add include() to examples
46ded385
FeatureSummary: Format documentation
5d17e995
FeatureSummary: Convert docs to a bracket comment
7c92c843
FeatureSummary: Order function implementations the same as the documentation
2016-09-15 14:16:04 -04:00
Brad King
c3507b5496
Help: Clarify wording of include() for builtin module directories
...
Issue: #16312
2016-09-15 14:02:25 -04:00
Ben Boeckel
72dfca30b9
ninja: error out on relink requirements
...
Ninja does not support PRE_INSTALL_SCRIPT properties and does not
perform the relink required by installation without help from some other
mechanism, so error out if it would be required.
Issue: #13934 , #16304
2016-09-15 13:44:58 -04:00
Pierluigi Taddei
31be918b0b
find_package: Optionally sort globbed directories in a meaningful order
...
Add `CMAKE_FIND_PACKAGE_SORT_{ORDER,DIRECTION}` variables to specify
sort order and direction.
When multiple package with the same name have been found in the same
location sorting option can be used to force a specific version to be
loaded (e.g. libA_1.12.0 instead of libA_1.1.0). Currently sorting by
NAME and by NATURAL order have been implemented.
Natural ordering makes use of the `strverscmp(3)` ordering.
2016-09-15 13:35:25 -04:00
Brad King
9cbd04be5f
Help: Add notes for topic 'ExternalProject-http-credentials'
2016-09-15 11:52:27 -04:00
Ruslan Baratov
a788cf3092
Tests: Add case for file(LOCK) with lower-cased path
...
The KWSys update in commit d28e4467
(KWSys 2016-09-14 (c4049689))
fixed this case, so add it to the test suite.
Closes : #16295
2016-09-15 11:44:28 -04:00
Brad King
7aa97b948f
FeatureSummary: Add include() to examples
...
Since this module's documentation already includes complete usage
examples, make them more complete by showing the include() explicitly.
Issue: #16309
2016-09-15 11:34:34 -04:00
Brad King
46ded385c0
FeatureSummary: Format documentation
...
Revise the documentation using reStructuredText inline markup and
explicit blocks so that it formats well.
2016-09-15 11:33:24 -04:00
Brad King
5d17e99580
FeatureSummary: Convert docs to a bracket comment
...
Use a bracket comment to hold the documentation instead of a block of
line comments. This will make further updates easier.
2016-09-15 09:50:32 -04:00
Brad King
7c92c84302
FeatureSummary: Order function implementations the same as the documentation
2016-09-15 09:49:03 -04:00
Brad King
ae783c9ba9
Require CMake 2.8.12.2 to build CMake itself
...
This will enable use of features such as ALIAS targets within CMake's
own build.
2016-09-15 09:24:25 -04:00
Brad King
010140311a
Merge topic 'update-kwsys'
...
de149317
Tests: Use upper-case drive letters in RunCMake.get_filename_component
04d94fbe
Merge branch 'upstream-KWSys' into update-kwsys
d28e4467
KWSys 2016-09-14 (c4049689)
e4fc770f
Merge branch 'upstream-KWSys' into update-kwsys
b80d6136
KWSys 2016-09-14 (e736efa1)
2016-09-15 08:46:48 -04:00
Brad King
b7dcadac44
Merge topic 'add-strverscmp'
...
88494325
Tests: Add test for our strverscmp implementation
07f69bd5
cmSystemTools: Add strverscmp
2016-09-15 08:46:45 -04:00
Brad King
6f31436c91
Merge topic 'extend_matlab_unit_test'
...
4ebb4ae6
FindMatlab: Extend matlab_add_unit_test to run arbitrary test code
2016-09-15 08:46:42 -04:00
Brad King
e0e047fe4b
Merge topic 'refactor-target-construction'
...
7a2e114d
cmTarget: Inline SetType method at only remaining call site
00e78c19
cmTarget: Construct with basic information up front
9d11bd50
Avoid requiring default cmTarget constructor for map indexing
d97513d8
cmTarget: Add method to get a copy adapted for a directory
2016-09-15 08:46:40 -04:00
Brad King
62a79dccc5
Merge topic 'cmake-static-FindCacheFile'
...
cc770e76
cmake: Make FindCacheFile a static method
2016-09-15 08:46:37 -04:00
Brad King
0063b6b43c
Merge topic 'fix-ccmake-sun-gcc'
...
d4d0c942
ccmake: Fix recent compilation regression with GCC on Solaris
2016-09-15 08:46:34 -04:00
Brad King
0b282335ab
Merge topic 'fix-CMAKE_COMPILER_IS_GNU-confusion'
...
152bbe50
Modules: Fix typos in name of `CMAKE_COMPILER_IS_GNUCC` variable
a6d3f541
Help: Clarify documentation of CMAKE_COMPILER_IS_GNU{CC,CXX,G77}
2016-09-15 08:46:30 -04:00
Brad King
f129dc752b
Merge topic 'python-3.7'
...
c31573b9
FindPython{Interp,Libs}: Add version 3.7
2016-09-15 08:46:27 -04:00
Brad King
de1493176b
Tests: Use upper-case drive letters in RunCMake.get_filename_component
...
With the most recent KWSys update, the "actual case" operation on
Windows always upper-cases the drive letter now even for absolute paths
that do not exist. Use an upper-case drive letter in the test so that
it can tolerate this operation on Windows and the lack of this operation
elsewhere.
2016-09-15 08:39:18 -04:00
Ruslan Baratov
e1ca117332
ExternalProject: Add HTTP_{USERNAME,PASSWORD}
2016-09-15 07:52:54 +03:00
Kitware Robot
100817dc5d
CMake Nightly Date Stamp
2016-09-15 00:01:07 -04:00
Brad King
7a2e114dd8
cmTarget: Inline SetType method at only remaining call site
2016-09-14 14:50:40 -04:00
Brad King
00e78c1990
cmTarget: Construct with basic information up front
...
Avoid having partially constructed cmTarget instances around,
except for the special case of GLOBAL_TARGET construction.
2016-09-14 14:50:39 -04:00
Brad King
9d11bd5066
Avoid requiring default cmTarget constructor for map indexing
...
The `std::map<>` index operator requires a default constructor on the
value type. Avoid requiring a default constructor on `cmTarget` just
for this purpose.
2016-09-14 14:50:39 -04:00
Brad King
d97513d842
cmTarget: Add method to get a copy adapted for a directory
...
The "global" targets are built once for the top directory and then
copied into all directories. Add a helper method to make the copy.
2016-09-14 14:50:39 -04:00
Bill Hoffman
4ebb4ae6cf
FindMatlab: Extend matlab_add_unit_test to run arbitrary test code
...
Allow a custom matlab set of commands to be run as the test instead of
just `runtests('matlab_file_name')`.
2016-09-14 13:08:19 -04:00