Stephen Kelly
d0dcce15f4
cmMakefile: Simplify computation of ancient policy status.
2015-07-25 14:48:37 +02:00
Stephen Kelly
658bfc5c52
cmMakefile: Remove redundant condition from policy status computation.
2015-07-25 14:48:36 +02:00
Stephen Kelly
f4a25874a2
cmMakefile: Inline internal policy status method.
2015-07-25 14:48:36 +02:00
Stephen Kelly
3c45471c2d
cmPolicies: Enable RVO for internal method.
2015-07-25 14:48:36 +02:00
Stephen Kelly
71e69fc93b
cmPolicies: Store only state that users can set.
...
cmPolicies::PolicyMap does not need to store the REQUIRED_ALWAYS or
REQUIRED_IF_USED states as they are statically determined.
2015-07-25 14:48:36 +02:00
Stephen Kelly
84e1805666
cmMakefile: Convert recursion to loop.
2015-07-25 14:48:36 +02:00
Kitware Robot
26d1a9d356
CMake Nightly Date Stamp
2015-07-25 00:01:05 -04:00
Kitware Robot
d546133d49
CMake Nightly Date Stamp
2015-07-24 00:01:07 -04:00
Ben Boeckel
594bafe527
cmake: add --trace-expand option
...
The --trace option is helpful, but sometimes, what you're looking for is
deep under many layers of function calls and figuring out what instance
of the function call you're looking at is tedious to determine (usually
involving patching and message()). Instead, add a --trace-expand option
to trace while expanding commands into what CMake actually sees.
2015-07-23 15:33:10 -04:00
Brad King
b98ded7644
Merge branch 'release'
2015-07-23 13:25:52 -04:00
Brad King
10f2065249
Utilities/Release: Drop IBM AIX release scripts
...
We no longer produce binaries for AIX.
2015-07-23 11:44:09 -04:00
Brad King
3a0db0223b
CMake 3.3.0
2015-07-23 08:49:45 -04:00
Brad King
e76a950c88
Merge branch 'release'
2015-07-23 08:48:29 -04:00
Brad King
afed519337
Merge topic 'osx-iframework'
...
e68f0cb3
OS X: Use -iframework with AppleClang only on version >= 4.2
2015-07-23 08:47:23 -04:00
Brad King
51f818bf24
Merge topic 'test-OBJECT_DEPENDS'
...
783c3757
Tests: Extend BuildDepends test to cover OBJECT_DEPENDS
2015-07-23 08:47:21 -04:00
Kitware Robot
900554b021
CMake Nightly Date Stamp
2015-07-23 00:01:06 -04:00
Stephen Kelly
9644a2d11c
cmAlgorithms: Add cmMakeReverseIterator.
2015-07-22 21:23:50 +02:00
Stephen Kelly
1e77de7411
cmMakefile: Don't clear buildsystem properties.
...
Instead put a sentinal empty entry in the container when a property
is overwritten. Use this sentinal when reading from the containers.
Use iterator::operator+(size_type) directly instead of std::advance,
because this only really makes sense if using RandomAccessIterators.
2015-07-22 21:23:49 +02:00
Stephen Kelly
c1bf1a59ff
CompileDefinitions: Add unit test for setting empty content.
2015-07-22 21:23:49 +02:00
Stephen Kelly
8d336875b3
cmMakefile: Use Ranges for buildsystem property access.
...
Don't return vector copies.
2015-07-22 20:25:48 +02:00
Stephen Kelly
514a1dff5b
cmAlgorithms: Add some convenient typedefs.
2015-07-22 20:25:47 +02:00
Stephen Kelly
c7b39d06f9
cmMakefile: Split accessors for include directories and origins.
2015-07-22 20:25:47 +02:00
Stephen Kelly
b2de25aded
cmMakefile: Split accessors for compile options and origins.
2015-07-22 20:25:46 +02:00
Stephen Kelly
d6239507b2
cmMakefile: Split accessors for compile definitions and origins.
2015-07-22 20:25:45 +02:00
Stephen Kelly
ef17bbefd7
cmMakefile: Separate storage of buildsystem properties and their origins.
...
This simplifies some existing and upcoming algorithms.
2015-07-22 20:25:43 +02:00
Stephen Kelly
a89c02ce3d
cmMakefile: Out of line some API.
2015-07-22 20:06:23 +02:00
Stephen Kelly
b19587e7d7
cmMakefile: Remove some references from APIs.
2015-07-22 20:06:22 +02:00
Brad King
783c375766
Tests: Extend BuildDepends test to cover OBJECT_DEPENDS
...
The actual file timestamp dependency is known to not work on
Visual Studio or Xcode generators. Tolerate such failure for
these generators (Tests/CustomCommand already covers using
OBJECT_DEPENDS to pull a custom command into a target, and
that still works with these generators).
2015-07-22 11:37:47 -04:00
Brad King
e00e8713de
Merge topic 'export-no-custom-target'
...
7e9f908e
export: Reject custom target exports earlier (#15657 )
3b09398a
Tests: Teach RunCMake.export to enable languages only when needed
2015-07-22 11:04:32 -04:00
Brad King
4c3d431210
Merge topic 'target-directory-properties'
...
45c5f8ca
Add SOURCE_DIR and BINARY_DIR target properties
2015-07-22 11:04:30 -04:00
Brad King
90b3b5e42c
Merge topic 'FindBZip2-check-with-prototype'
...
23876eda
FindBZip2: Check BZIP2_NEED_PREFIX with real prototype
2015-07-22 11:04:28 -04:00
Stephen Kelly
1fe71e2ef0
cmAlgorithms: Move Range type out of private namespace.
2015-07-22 10:58:19 -04:00
Stephen Kelly
8ea0b81d20
cmAlgorithms: Rename cmRange to cmMakeRange.
2015-07-22 10:58:19 -04:00
Brad King
669922bde8
Merge branch 'osx-iframework' into release
2015-07-22 09:51:37 -04:00
Brad King
e68f0cb3d4
OS X: Use -iframework with AppleClang only on version >= 4.2
...
Since commit v3.1.0-rc1~564^2 (OS X: Use -iframework for system
framework directories, 2014-05-05) we test the version of Clang to see
if it supports -iframework. Fix the version test used for AppleClang
since it uses a different version scheme than upstream Clang.
2015-07-22 09:04:04 -04:00
Brad King
59678037a9
Merge branch 'release'
2015-07-22 08:36:34 -04:00
Brad King
b9fba34592
Merge branch 'vs-compiler-feature-2015-update' into release
2015-07-22 08:35:46 -04:00
Brad King
a398acd02f
Revert "CMake 3.3.0"
...
This reverts commit 0e3cfc134c
.
Due to VS 2015 RTM being released, additional changes are needed
to CMake 3.3.
2015-07-22 08:35:21 -04:00
Brad King
02e5eba17d
Merge topic 'vs-compiler-feature-2015-update'
...
c2d590c9
Features: Update MSVC features for VS 2015 RTM
2015-07-22 08:31:40 -04:00
Kitware Robot
91d2497286
CMake Nightly Date Stamp
2015-07-22 00:01:06 -04:00
Brad King
7e9f908ef5
export: Reject custom target exports earlier ( #15657 )
...
Diagnose and reject custom targets given to the export() command
immediately. Previously we would generate an internal error later.
2015-07-21 14:39:10 -04:00
Brad King
3b09398ae2
Tests: Teach RunCMake.export to enable languages only when needed
2015-07-21 14:29:10 -04:00
Clifford Yapp
45c5f8cad2
Add SOURCE_DIR and BINARY_DIR target properties
...
This will allow project code to recover the directory information about
where a target was created.
2015-07-21 14:19:35 -04:00
Ralf Habacker
23876eda9f
FindBZip2: Check BZIP2_NEED_PREFIX with real prototype
...
Run our check for the '_' prefix using a bzip2 API function as declared
with a prototype in the real header file. This is needed in case the
function is provided in a DLL import library where the symbol name may
not match without proper markup from the header.
2015-07-21 14:00:06 -04:00
Brad King
c2d590c957
Features: Update MSVC features for VS 2015 RTM
...
VS 2015 RTM completed support for constexpr and attribute features.
Update our feature table and test accordingly.
2015-07-21 12:56:47 -04:00
Brad King
265b9db7c2
Merge branch 'release'
2015-07-21 11:16:13 -04:00
Brad King
863175742b
Merge topic 'doc-CMakeExpandImportedTargets-deprecated'
...
dec8d1cc
Help: Add notes for topic 'doc-CMakeExpandImportedTargets-deprecated'
2015-07-21 09:25:33 -04:00
Brad King
dec8d1ccf8
Help: Add notes for topic 'doc-CMakeExpandImportedTargets-deprecated'
2015-07-21 09:23:42 -04:00
Brad King
500ce3f113
Merge topic 'KDE4-NO_POLICY_SCOPE'
...
4572d8b3
KDE4: Find the Internal package with NO_POLICY_SCOPE.
2015-07-21 09:22:25 -04:00
Brad King
5b2754d41f
Merge topic 'remove-special-MACROS-handling'
...
41bb831f
cmMakefile: Remove special handling of MACROS property.
2015-07-21 09:22:23 -04:00