Kitware Robot
9e29319447
CMake Nightly Date Stamp
2015-07-28 00:01:06 -04:00
Stephen Kelly
57f03e59ba
Port some of the cmExportFileGenerator API to cmGeneratorTarget.
...
Enough to make it more possible to move GetLinkInterface
to cmGeneratorTarget.
2015-07-27 21:59:03 +02:00
Stephen Kelly
57ab0f70b5
Port cmExportBuildFileGenerator to cmGeneratorTarget.
2015-07-27 21:59:03 +02:00
Stephen Kelly
570938cbfd
cmExportTryCompileFileGenerator: Create cmGeneratorTargets.
...
This is not a deprecated behavior, but only requires IMPORTED targets
be made.
2015-07-27 21:59:03 +02:00
Stephen Kelly
ec38e4c84f
Move GetFullPath to cmGeneratorTarget
2015-07-27 21:59:02 +02:00
Stephen Kelly
dfb025bf12
Move GetLocationForBuild to cmGeneratorTarget.
2015-07-27 21:58:50 +02:00
Stephen Kelly
9f2dca805c
Move GetLocation to cmGeneratorTarget.
2015-07-27 21:58:50 +02:00
Stephen Kelly
c7a8e74b8c
Always access target location from a cmGeneratorTarget instance.
2015-07-27 21:58:50 +02:00
Stephen Kelly
5b60eaf619
cmTarget: Restore the ImportedGetLocation method.
...
It was removed in commit f154475b (cmTarget: Refactor GetLocation
API, 2014-03-08), but it is more readable for targets we know are
imported.
2015-07-27 21:58:50 +02:00
Stephen Kelly
50b17a6112
cmIncludeCommand: Populate the cmGeneratorTargets in deprecated path.
2015-07-27 21:58:50 +02:00
Stephen Kelly
ba26685882
cmTarget: Create cmGeneratorTargets before reading deprecated LOCATION.
...
The intention is to move generation-semantic cmTarget API to cmGeneratorTarget
and then use the latter for generator expressions.
This means that each time we read a deprecated LOCATION property, we have to
clear and re-populate the container. That must be done each time because the
result can change through the configure process, which is why this is
deprecated in the first place.
2015-07-27 21:58:49 +02:00
Stephen Kelly
5ab3a94651
cmTarget: Inline GetLocation into deprecated callers.
2015-07-27 21:58:49 +02:00
Stephen Kelly
496f4cd07d
cmGlobalGenerator: Create cmGeneratorTargets before QtAutomoc.
...
Add cmGeneratorTargets as needed in the QtAutomoc processing.
2015-07-27 21:58:49 +02:00
Stephen Kelly
de80993a20
cmGlobalGenerator: Create cmGeneratorTargets earlier.
2015-07-27 21:58:49 +02:00
Stephen Kelly
611220f77a
cmTarget: Use reliable test for CMP0024 and CMP0026 OLD.
...
Check whether the Makefile is fully configured instead of checking
whether generator targets exist.
2015-07-27 21:58:49 +02:00
Stephen Kelly
bbad6ba537
cmLocalGenerator: Remove unused AddCustomCommandToCreateObject method.
2015-07-27 21:58:48 +02:00
Stephen Kelly
e4dc83ade5
cmLocalGenerator: Remove unused AddBuildTargetRule method.
2015-07-27 21:58:47 +02:00
Stephen Kelly
72f43fa13d
cmLocalGenerator: Remove CreateCustomTargetsAndCommands method.
...
It loops over cmGeneratorTargets, but at the point it is called, there are no
cmGeneratorTargets. This must be dead code.
2015-07-27 21:57:29 +02:00
Stephen Kelly
58811998fb
cmGlobalGenerator: Add global targets at the end of Configure.
...
Rather than at the start of Generate.
2015-07-27 21:57:28 +02:00
Stephen Kelly
57a69f9341
cmGlobalGenerator: Extract method to create generator objects.
2015-07-27 20:09:39 +02:00
Stephen Kelly
0e0258c8b9
cmGlobalGenerator: Split creation of generator object from initialization.
2015-07-27 20:09:38 +02:00
Stephen Kelly
a8e5d838ed
cmCPackPropertiesGenerator: Require cmLocalGenerator in API.
2015-07-27 20:09:38 +02:00
Stephen Kelly
d568eefe10
cmCustomCommandGenerator: Require cmLocalGenerator in API.
2015-07-27 20:09:38 +02:00
Sebastian Schuberth
e7d5c142c6
cmConditionEvaluator: Remove superfluous spaces in expressions
2015-07-27 17:24:59 +02:00
Ben Boeckel
64821e8a40
ctest: fix add_subdirectory() crash
...
The directory is at args[0], not args[1]. Introduced in commit
v2.6.0~489 (... 5889 ... tests are not found in some cases when using
add_subdirectory ..., 2008-01-18).
2015-07-27 11:14:51 -04:00
Konstantin Podsvirov
068e7962bb
CMake: Add CMake_INSTALL_DEPENDENCIES option
...
By default this option is ON. Turn OFF to disable installing runtime
3rd-party dependencies.
2015-07-27 10:30:41 -04:00
Konstantin Podsvirov
42f0155bb9
cmake-gui: Install Qt5 Windows platform plugin
...
Qt5 requires a platform-specific runtime-loaded plugin. We already
install it for OS X. Install it for Windows too.
2015-07-27 10:21:10 -04:00
Brad King
cd530df88f
cmNinjaTargetGenerator: Factor out compile command exporter
2015-07-27 09:54:07 -04:00
Brad King
ecca8fd908
cmFortranParser: Port to bison 3
...
Use %-directives to specify the scanner/lexer arguments and update the
yyerror signature. Reduce the list of post-bison modifications needed.
2015-07-27 09:45:36 -04:00
Brad King
eebe732bb6
cmFortranParser: Factor out of cmDependsFortran
...
Move the main parser class and method implementations out of
cmDependsFortran.cxx and into separate source files.
2015-07-27 09:45:36 -04:00
Brad King
fd19445802
cmDependsFortran: Simplify storage of preprocessor definitions
...
Collect the original preprocessor definitions in a std::set<> so that
it can be copied directly by cmFortranParser's constructor instead of
making a copy on the stack.
2015-07-27 09:45:35 -04:00
Brad King
295480b923
cmDependsFortran: Move FindIncludeFile method into parser class
...
This drops the only awareness of cmDependsFortran that cmFortranParser
needed.
2015-07-27 09:45:35 -04:00
Kitware Robot
98b9645bce
Rename Fortran parser infrastructure to drop "Depends" prefix
...
The parser can be re-used outside cmDependsFortran or the cmDepends
class hierarchy so drop the "Depends" from its name:
rename 's/DependsFortran([A-Za-z0-9_])/Fortran$1/' Source/*.*
sed -i 's/DependsFortran\([A-Za-z0-9_]\)/Fortran\1/g' Source/*.*
sed -i 's/FortranInternals/DependsFortranInternals/g' Source/*.*
Also manually fix Source/CMakeLists.txt source file ordering.
2015-07-27 09:45:35 -04:00
Brad King
096dd3c963
cmDependsFortranLexer: Remove trailing blank line
2015-07-27 09:45:35 -04:00
Brad King
280dde34dd
Merge topic 'trace-expand'
...
594bafe5 cmake: add --trace-expand option
2015-07-27 09:31:22 -04:00
Brad King
cb21c548db
Merge topic 'policy-refactor'
...
8329fc01 cmPolicies: Replace unused include.
5447ca1a cmMakefile: Remove CMP0001 handling to callers.
d0dcce15 cmMakefile: Simplify computation of ancient policy status.
658bfc5c cmMakefile: Remove redundant condition from policy status computation.
f4a25874 cmMakefile: Inline internal policy status method.
3c45471c cmPolicies: Enable RVO for internal method.
71e69fc9 cmPolicies: Store only state that users can set.
84e18056 cmMakefile: Convert recursion to loop.
2015-07-27 09:31:18 -04:00
Brad King
d74abbea89
Merge topic 'refactor-cmMakefile-properties'
...
bbb507ae cmMakefile: Move the InitializeFromParent method
6ed9c7e0 cmState: Host buildsystem properties for directories.
8f0a5d84 cmState: Fix compilation on IBM XL compiler
9644a2d1 cmAlgorithms: Add cmMakeReverseIterator.
1e77de74 cmMakefile: Don't clear buildsystem properties.
c1bf1a59 CompileDefinitions: Add unit test for setting empty content.
2015-07-27 09:31:16 -04:00
Brad King
91a159245f
Merge topic 'cmRange-API'
...
8d336875 cmMakefile: Use Ranges for buildsystem property access.
514a1dff cmAlgorithms: Add some convenient typedefs.
c7b39d06 cmMakefile: Split accessors for include directories and origins.
b2de25ad cmMakefile: Split accessors for compile options and origins.
d6239507 cmMakefile: Split accessors for compile definitions and origins.
ef17bbef cmMakefile: Separate storage of buildsystem properties and their origins.
a89c02ce cmMakefile: Out of line some API.
b19587e7 cmMakefile: Remove some references from APIs.
1fe71e2e cmAlgorithms: Move Range type out of private namespace.
8ea0b81d cmAlgorithms: Rename cmRange to cmMakeRange.
2015-07-27 09:31:14 -04:00
Kitware Robot
317df61fc8
CMake Nightly Date Stamp
2015-07-27 00:01:06 -04:00
Kitware Robot
983d7b5c3a
CMake Nightly Date Stamp
2015-07-26 00:01:05 -04:00
Stephen Kelly
bbb507aebc
cmMakefile: Move the InitializeFromParent method
2015-07-25 14:53:06 +02:00
Stephen Kelly
6ed9c7e024
cmState: Host buildsystem properties for directories.
2015-07-25 14:53:05 +02:00
Brad King
8f0a5d84e3
cmState: Fix compilation on IBM XL compiler
...
Delay use of the PositionType constructor until after SnapshotDataType
is fully defined.
2015-07-25 14:52:05 +02:00
Stephen Kelly
8329fc016f
cmPolicies: Replace unused include.
2015-07-25 14:48:37 +02:00
Stephen Kelly
5447ca1a94
cmMakefile: Remove CMP0001 handling to callers.
2015-07-25 14:48:37 +02:00
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