Commit Graph

35750 Commits

Author SHA1 Message Date
Maya Rashish
370a6b1bc5 cmELF: Remove now-redundant check for DT_RUNPATH's existence
We define it if it's not already defined.
2017-04-26 14:01:24 -04:00
Maya Rashish
7146a60429 cmELF: Define DT_RUNPATH if it isn't already defined
The value of 29 is used by binutils and is used in the System V ABI
draft from 2001.

It isn't defined on NetBSD 6.0.
2017-04-26 14:00:58 -04:00
Brad King
008570150c Merge topic 'doc-eq-delete'
d0b70e67 Help/dev: Document CM_EQ_DELETE and CM_DISABLE_COPY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !755
2017-04-25 16:41:13 -04:00
Daniel Pfeifer
d0b70e676e Help/dev: Document CM_EQ_DELETE and CM_DISABLE_COPY 2017-04-25 22:08:47 +02:00
Brad King
74672e2ffa Merge topic 'ninja-dyndep-response-file'
594d3d6f Ninja: support response file for cmake_ninja_depends on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !722
2017-04-25 09:41:18 -04:00
Brad King
7dca104e14 Merge topic 'deprecate-policy-old'
4f5bbbea Add deprecation warnings for policies CMP0036 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !743
2017-04-25 09:39:06 -04:00
Brad King
959ad1d5e8 Merge topic 'use-disable-copy'
d6f0006c Use CM_DISABLE_COPY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !754
2017-04-25 09:36:01 -04:00
Brad King
31f7dc4b11 Merge branch 'release' 2017-04-25 09:22:06 -04:00
Brad King
56deb34b27 Merge topic 'hostwin32-doc-fix'
664bb367 Help: Fix CMAKE_HOST_WIN32 documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !752
2017-04-25 09:20:03 -04:00
Brad King
75d91e9c85 Merge topic 'wix-attributes-patch'
58cf9d41 wix: adds ability to modify attributes with patch
03628bb6 wix: fix spelling error in function name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !742
2017-04-25 09:05:37 -04:00
Brad King
60e48295ae Merge topic 'FindBoost-backport-fixes'
502608ab FindBoost: Support prebuilt Windows binaries from SourceForge
b479429b FindBoost: Allow testing for multiple compiler suffixes
92857eef FindBoost: Fix library directory for VS 2017

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !751
2017-04-25 09:04:37 -04:00
Bernhard Burgermeister
594d3d6fff Ninja: support response file for cmake_ninja_depends on Windows
The internal tool "cmake_ninja_depends" now supports reading the list of ddi
files from a reponse file to circumvent Windows command line length limits.

Use this response file for dyndep rule on Windows.
2017-04-25 09:32:50 +02:00
Kitware Robot
759c675212 CMake Nightly Date Stamp 2017-04-25 00:01:05 -04:00
Daniel Pfeifer
d6f0006c0b Use CM_DISABLE_COPY 2017-04-24 22:03:06 +02:00
Christian Pfeiffer
664bb36729 Help: Fix CMAKE_HOST_WIN32 documentation
The documentation falsely claims `CMAKE_HOST_WIN32` is `true` on Cygwin.
Since commit v2.8.4~153^2 (Cygwin: Do not define 'WIN32', 2010-12-17) we
do not define `CMAKE_HOST_WIN32` on Cygwin either.
2017-04-24 20:22:24 +02:00
Brad King
3cb7048b52 Merge branch 'release' 2017-04-24 10:55:25 -04:00
Brad King
bc71f940c7 Merge branch 'FindBoost-backport-fixes' into release 2017-04-24 10:54:54 -04:00
Roger Leigh
502608ab21 FindBoost: Support prebuilt Windows binaries from SourceForge
This are searched for in the default installed location
C:/local/boost_${ver}

Cherry picked from commit 862482df27
for backport to CMake 3.8.
2017-04-24 10:52:11 -04:00
Roger Leigh
b479429b2c FindBoost: Allow testing for multiple compiler suffixes
This is to permit VS2017 to make use of the vc141 suffix or
fall back to the compatible vc140 to use Boost libraries built
with VS2015.

Cherry picked from commit 3ca6f70f8b
plus a fixup from commit 6115875bf0
for backport to CMake 3.8.
2017-04-24 10:52:01 -04:00
Brad King
92857eef23 FindBoost: Fix library directory for VS 2017
Boost 1.64 now names the library directory `14.1`, not `15.0`.
2017-04-24 10:51:08 -04:00
Keith Holman
58cf9d417e wix: adds ability to modify attributes with patch
Adds the ability to attributes to generated XML files for features with
the WiX patch system.  To modify attributes additional attributes may be
added within the 'CPackWixFragment' xml tag.

Fixes: #16813
Signed-off-by: Keith Holman <keith.holman@windriver.com>
2017-04-24 10:06:45 -04:00
Keith Holman
03628bb699 wix: fix spelling error in function name
The function "AddDirectoryAndFileDefinitions" was missing the last "i"
in the function name.  This patch corrects the spelling so that the
function can be found easier when searching through the source code.

Signed-off-by: Keith Holman <keith.holman@windriver.com>
2017-04-24 10:04:51 -04:00
Brad King
80362f7e31 Merge topic 'autogen_once'
97d25404 Autogen: Use FileWrite to write the settings file
d0404596 Autogen: Save the hash of the old settings string only
7c5f5f1a Autogen: Generate moc_predefs.h only on demand
1d5ed679 Autogen: Uppercase function name
e4a23565 Autogen: New QuotedCommand function for logging
9d9e17fa Autogen: Use FileDiffers and FileWrite for AUTOMOC
65290169 Autogen: Add FileDiffers and FileWrite methods
344a6d84 Autogen: MakeParentDirectory logPrefix parameter
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !747
2017-04-24 09:49:08 -04:00
Brad King
2455d735a1 Merge topic 'eq-delete'
5d167132 cmConfigure: provide macros CM_EQ_DELETE and CM_DISABLE_COPY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !746
2017-04-24 09:46:16 -04:00
Brad King
96b202fad5 Merge topic 'clazy-2'
99d50d2b cmLinkLineComputer: make noncopyable
44b8debf cmGlobalGenerator::DirectoryContent: remove custom copy ctor
73bedfea cmTargetDepend: pass by value
e6c606c7 cmGeneratorTarget::SourceFileFlags: remove custom copy ctor
8d090ff2 cmLinkImplItem: remove custom copy ctor
a8a9577e cmLinkItem: remove custom copy ctor
bf955e58 cmComputeLinkInformation::Item: remove custom copy ctor
b44659f5 cmCryptoHash: make noncopyable
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !745
2017-04-24 09:45:49 -04:00
Brad King
fd79ace021 Merge topic 'clazy'
a28894e4 cmCommandArgumentParserHelper: make noncopyable
765822ad cmake: pass cmStateSnapshot by const ref
0d0995b7 cmListFileArgument: remove custom copy ctor
44963b50 cmLocaleRAII: make noncopyable
3f677f20 cmGraphEdge: remove custom copy ctor
b799ca42 cmAlgorithms: pass std::string by const ref
7d6090ae cmSystemTools::SaveRestoreEnvironment: make noncopyable
aecba652 cmCLocaleEnvironmentScope: make noncopyable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !744
2017-04-24 09:45:34 -04:00
Brad King
dc6632b9da Merge topic 'remove-xcode-2'
7373b389 Xcode: Drop support for Xcode versions below 3
eaf53849 Xcode: Compute version number earlier

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Gregor Jasny <gjasny@googlemail.com>
Merge-request: !737
2017-04-24 09:40:44 -04:00
Brad King
96b2637474 Merge topic 'findmpi-improvements'
ece4f647 FindMPI: Modernize documentation
6d4fa021 FindMPI: MPIEXEC handling improvements

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !740
2017-04-24 09:38:02 -04:00
Brad King
0039ddb6f2 Merge topic 'ctest-minor-fixups'
3d1bd011 cmCTestTestHandler: use pointers to static memory
5969048d cmCTestTestCommand: defer getting the global timeout

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !735
2017-04-24 09:37:02 -04:00
Brad King
096c3bacea Merge topic 'vs8-deprecate'
81f9c9e8 Deprecate Visual Studio 8 2005 generator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !739
2017-04-24 09:36:10 -04:00
Brad King
3ade7a306e Merge topic 'namespace-jar-exports'
0bee0066 Tests: Test namespaces with exported JARs
789c8de3 UseJava: Support namespaced exports

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !729
2017-04-24 09:35:29 -04:00
Brad King
aaeb01ef9b Merge topic 'fix-test-all-find-modules'
cda401fe Tests: Simplify CMakeOnly.AllFindModules policy settings
1a2ede17 Tests: Fix FindModulesExecuteAll when KDE4 is installed

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !736
2017-04-24 09:34:03 -04:00
Brad King
1e31359565 Merge topic 'source_group-TREE-alt-root'
d286d24a Merge branch 'backport-source_group-TREE-alt-root' into source_group-TREE-alt-root
1b4d2c74 source_group: Fix TREE with root that is not current source dir

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !731
2017-04-24 09:33:31 -04:00
Brad King
305e628284 Merge topic 'loosen-object-deps'
d96e5d9a Tests: use BYPRODUCTS in the CustomCommandWorkingDirectory test
664591ce RunCMake.Ninja: add a test for assumed sources
adf60b28 ninja: break unnecessary target dependencies
01c5bb95 RunCMake.Ninja: support passing arguments when running ninja
7f947b60 ninja: remove duplicate order-only dependencies
e9827eba ninja: describe the intermediate order depends target better
b57b7d8e Ninja: Order Fortran dyndep file generation explicitly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !430
2017-04-24 09:31:49 -04:00
Brad King
fa338c97d7 Merge topic 'clang-tidy'
73020305 clang-tidy: avoid copy
b432e933 clang-tidy: use .empty() to check emptyness
012972a9 clang-tidy: remove reduntant .data() calls
b26577c9 clang-tidy: remove else after break and continue

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !734
2017-04-24 09:27:48 -04:00
Kitware Robot
8b0016ab65 CMake Nightly Date Stamp 2017-04-24 00:01:03 -04:00
Kitware Robot
8494aa7adf CMake Nightly Date Stamp 2017-04-23 00:01:02 -04:00
Brad King
7373b389eb Xcode: Drop support for Xcode versions below 3 2017-04-22 15:19:11 -04:00
Sebastian Holtermann
97d25404f3 Autogen: Use FileWrite to write the settings file 2017-04-22 15:12:45 +02:00
Sebastian Holtermann
d040459679 Autogen: Save the hash of the old settings string only 2017-04-22 14:54:34 +02:00
Sebastian Holtermann
7c5f5f1a20 Autogen: Generate moc_predefs.h only on demand 2017-04-22 14:39:50 +02:00
Sebastian Holtermann
1d5ed679ce Autogen: Uppercase function name 2017-04-22 14:28:13 +02:00
Sebastian Holtermann
e4a235653f Autogen: New QuotedCommand function for logging 2017-04-22 14:28:13 +02:00
Sebastian Holtermann
9d9e17fa21 Autogen: Use FileDiffers and FileWrite for AUTOMOC 2017-04-22 14:08:57 +02:00
Sebastian Holtermann
65290169f2 Autogen: Add FileDiffers and FileWrite methods 2017-04-22 14:01:18 +02:00
Sebastian Holtermann
344a6d8448 Autogen: MakeParentDirectory logPrefix parameter 2017-04-22 13:30:28 +02:00
Sebastian Holtermann
5965a58915 Autogen: Determine settings file name only once 2017-04-22 13:21:18 +02:00
Sebastian Holtermann
46ba6abe49 Autogen: Overhaul class variable names and sorting 2017-04-22 13:21:18 +02:00
Daniel Pfeifer
5d1671324b cmConfigure: provide macros CM_EQ_DELETE and CM_DISABLE_COPY 2017-04-22 10:09:41 +02:00
Kitware Robot
e9d1ca782e CMake Nightly Date Stamp 2017-04-22 00:01:05 -04:00