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
Brad King
e13c189743
Merge topic 'remove-special-LINK_DIRECTORIES-handling'
...
881613c4
cmMakefile: Remove special handling of LINK_DIRECTORIES property.
35734260
cmMakefile: Inline only use of GetLinkDirectories.
2015-07-21 09:22:21 -04:00
Brad King
ae64efa1ce
Merge topic 'cmState-Directory'
...
9ebc7502
cmState: Extract a Directory class.
27ec21db
cmState: Forward-declare a type earlier.
2015-07-21 09:22:19 -04:00
Brad King
93b393e74c
Merge topic 'remove-Properties-accessor'
...
c6055d9d
cmMakefile: Remove GetProperties method.
cbe3ee58
cmMakefile: Add a PropertyKeys accessor.
2015-07-21 09:22:17 -04:00
Brad King
64aa41b248
Merge topic 'clean-up-include_regular_expression'
...
4efda261
cmMakefile: Remove special handling of INCLUDE_REGULAR_EXPRESSION.
2015-07-21 09:22:15 -04:00
Brad King
ce597a022b
Merge topic 'minor-cleanups'
...
cff2dc34
cmLocalUnixMakefileGenerator3: Port away from the Parent.
5505bff7
cmMakefile: Add include which we use.
2007d11c
cmState: Remove unused variable.
a622b829
cmGetCMakePropertyCommand: Clean up VARIABLES handling.
52f22616
cmListFileBacktrace: Constify API.
fc1c7cf8
Genex: Store a backtrace, not a pointer to one.
4dc45707
cmMakefile: Fix indentation.
12c82fd8
cmMakefile: Remove dead code.
f19653eb
CodeLite: Remove unused code.
2015-07-21 09:22:13 -04:00
Brad King
b953d526d1
Merge topic 'remove-ListFileStack'
...
640fc5b5
cmMakefile: Remove unused ListFileStack.
54cc0c0e
cmMakefile: Port some users of ListFileStack to cmState.
e77c4666
cmMakefile: Remove obsolete condition.
8e7d3030
cmMakefile: Simplify setting of current snapshot.
6083ec9a
cmMakefile: Implement LISTFILE_STACK property in terms of cmState.
647b533b
cmMakefile: Implement FormatListFileStack in terms of cmState.
2015-07-21 09:22:10 -04:00
Brad King
760a280fb7
Merge topic 'doc-CMakeExpandImportedTargets-deprecated'
...
0fcbd704
CMakeExpandImportedTargets: Document as deprecated
2015-07-21 09:22:08 -04:00
Kitware Robot
533798275c
CMake Nightly Date Stamp
2015-07-21 00:01:05 -04:00
Brad King
0e3cfc134c
CMake 3.3.0
2015-07-20 11:05:01 -04:00
Kitware Robot
04b45acc3d
CMake Nightly Date Stamp
2015-07-20 00:01:05 -04:00
Stephen Kelly
4572d8b34e
KDE4: Find the Internal package with NO_POLICY_SCOPE.
...
If someone in KDE wants to port away from OLD policies, they might want to do
so one policy at a time. This patch will allow them to use
find_package(KDE4 NO_POLICY_SCOPE)
in callers to get around the CMP0011 warning, while still getting the policy
settings contained within.
2015-07-19 18:20:57 +02:00
Stephen Kelly
41bb831fc9
cmMakefile: Remove special handling of MACROS property.
2015-07-19 16:01:39 +02:00
Kitware Robot
0d48bb6273
CMake Nightly Date Stamp
2015-07-19 00:01:06 -04:00
Stephen Kelly
9ebc7502b2
cmState: Extract a Directory class.
...
Move Directory-scoped state accessors to it. This will be expanded
with directory property state soon.
2015-07-18 19:37:58 +02:00
Stephen Kelly
27ec21dbb2
cmState: Forward-declare a type earlier.
2015-07-18 19:09:51 +02:00
Stephen Kelly
c6055d9d4c
cmMakefile: Remove GetProperties method.
...
The storage details of properties do not belong in the API.
2015-07-18 18:59:41 +02:00
Stephen Kelly
cbe3ee58ca
cmMakefile: Add a PropertyKeys accessor.
2015-07-18 18:59:18 +02:00
Stephen Kelly
cff2dc34f9
cmLocalUnixMakefileGenerator3: Port away from the Parent.
2015-07-18 18:43:17 +02:00
Stephen Kelly
5505bff7ae
cmMakefile: Add include which we use.
...
Don't rely on this through the cmLocalGenerator include.
2015-07-18 18:40:36 +02:00
Stephen Kelly
2007d11caf
cmState: Remove unused variable.
2015-07-18 14:40:12 +02:00
Stephen Kelly
a622b829bd
cmGetCMakePropertyCommand: Clean up VARIABLES handling.
2015-07-18 14:39:51 +02:00