Brad King
a97b910655
Merge branch 'doc-add_custom_command-clarify-TARGET_FILE' into release
2015-06-08 09:07:27 -04:00
Brad King
0e708d17e9
Help: Reference TARGET_FILE genex in add_custom_command docs ( #15605 )
...
When documenting in the COMMAND option how to reference an executable,
we previously only explicitly covered how to do it for argv[0] and left
it to the reader to follow the reference to the generator expressions
manual. Add explicit mention of the TARGET_FILE genex in this
documentation since it will be a commonly used generator expression in
this context.
2015-06-08 09:06:26 -04:00
Kitware Robot
9d68bd6a24
CMake Nightly Date Stamp
2015-06-08 00:01:03 -04:00
Stephen Kelly
4c192fb531
cmMakefile: Remove cacheOnly option from GetDefinitions.
...
It is now unused.
2015-06-07 15:21:56 +02:00
Stephen Kelly
046aafff12
cmGetCMakePropertyCommand: Don't explicitly specify default param.
2015-06-07 15:21:55 +02:00
Stephen Kelly
021c4b6f2b
cmMakefile: Simplify handling of CACHE_VARIABLES property.
2015-06-07 15:21:55 +02:00
Stephen Kelly
8174e5cd94
cmCustomCommand: Remove special member functions.
...
The compiler generated ones are fine. The existing implementations
here are incorrect as they omit some members.
2015-06-07 11:09:32 +02:00
Stephen Kelly
34e1d6db72
cmCustomCommand: Re-arrange data layout.
...
Size goes from 240 to 224 bytes.
2015-06-07 10:48:15 +02:00
Stephen Kelly
54cb76f299
cmComputeLinkDepends: Re-arrange data layout.
...
Size goes from 648 to 632 bytes.
2015-06-07 10:41:47 +02:00
Stephen Kelly
4ab7d407a5
cmExportTryCompileFileGenerator: Add newline between methods.
2015-06-07 10:32:53 +02:00
Stephen Kelly
e133e40937
cmExportTryCompileFileGenerator: Remove unused variable.
2015-06-07 10:32:27 +02:00
Stephen Kelly
c197c69281
cmDocumentation: Remove unused include.
2015-06-07 10:32:02 +02:00
Stephen Kelly
b661d6c631
cmQtAutoGenerators: Re-arrange data layout.
...
Size goes from 920 to 912 bytes.
2015-06-07 10:24:28 +02:00
Stephen Kelly
40844a1487
cmProcessTools: Re-arrange data layout.
...
Size goes from 72 to 64 bytes.
2015-06-07 10:24:28 +02:00
Stephen Kelly
b1ff32afc6
cmOrderDirectories: Re-arrange data layout.
...
Size goes from 680 to 672 bytes.
2015-06-07 10:24:27 +02:00
Stephen Kelly
dd0417c7be
cmInstallTargetGenerator: Re-arrange data layout.
...
Remove unused cmGeneratorTarget member.
Size goes from 238 to 232 bytes.
2015-06-07 10:24:27 +02:00
Stephen Kelly
125c48660c
cmInstallFilesGenerator: Re-arrange data layout.
...
Size goes from 296 to 288 bytes.
2015-06-07 10:24:27 +02:00
Stephen Kelly
92b8b1fc3d
cmGraphVizWriter: Re-arrange data layout.
...
Size goes from 272 to 264 bytes.
2015-06-07 10:24:26 +02:00
Stephen Kelly
7f3e16239f
cmGlobalGenerator: Re-arrange data layout.
...
Size goes from 1488 to 1480 bytes.
2015-06-07 10:24:26 +02:00
Stephen Kelly
d9df7fa70c
cmComputeComponentGraph: Re-arrange data layout.
...
Size goes from 224 to 216 bytes.
2015-06-07 09:43:39 +02:00
Stephen Kelly
db24e41b9d
cmCommandArgumentParserHelper: Re-arrange data.
...
Size goes from 232 to 216 bytes.
2015-06-07 09:41:19 +02:00
Stephen Kelly
4cd13e80f0
cmComputeLinkInformation: Re-arrange data layout.
...
Size goes from 1944 to 1920 bytes.
2015-06-07 09:32:39 +02:00
Stephen Kelly
3e087a408b
cmLocalUnixMakefileGenerator: Re-arrange data layout.
...
Size goes from 536 to 528 bytes.
2015-06-07 09:32:38 +02:00
Stephen Kelly
e042170103
cmMakefile: Re-arrange data layout.
...
2168 to 2152 bytes with GNU libstdc++-5.1.
2015-06-07 09:32:38 +02:00
Stephen Kelly
c26696eb40
cmSourceFile: Re-arrange data.
...
Size goes from 304 to 296 bytes.
2015-06-07 09:32:24 +02:00
Stephen Kelly
41fef23b9b
cmTarget: Re-arrange data layout.
...
Size with GNU libstdc++-5.1 goes from 840 bytes to 808 bytes.
2015-06-07 09:29:31 +02:00
Stephen Kelly
647488570b
cmTarget: Replace PolicyStatus members with PolicyMap.
...
sizeof(cmTarget) goes from 856 to 840 with GNU libstdc++ 5.1.
2015-06-07 09:29:31 +02:00
Stephen Kelly
6f148e4a48
cmTarget: Use method abstraction for policy status.
2015-06-07 09:29:31 +02:00
Stephen Kelly
5181fae264
cmPropertyMap: Remove chaining logic.
...
The chaining logic doesn't belong to the container, and the
CMakeInstance pointer doesn't need to be in cmPropertyMap.
Size goes from 56 to 48 bytes with GNU libstdc++-5.1.
2015-06-07 09:29:31 +02:00
Stephen Kelly
3ac4b90bfd
cmPropertyMap: Require a non-empty name parameter.
...
The cmGetPropertyCommand already checks for this.
2015-06-07 09:29:30 +02:00
Stephen Kelly
7c0aa672fe
cmPropertyMap: Remove scope parameter from API where not used.
2015-06-07 09:29:30 +02:00
Stephen Kelly
9058e27a43
Constify property definition API.
2015-06-07 09:29:30 +02:00
Stephen Kelly
1c48edf8fc
cmProperty: Remove needless Name member.
...
Size goes from 72 to 40 bytes with GNU libstdc++-5.1.
2015-06-07 09:29:29 +02:00
Stephen Kelly
93cc2eef38
cmPolicies: Store all statuses in a single bitset.
...
Currently there are an optimal number of policies (64) such that
there are no wasted bits. When another policy is added, the
cmPolicyMap will grow from 40 bytes to 80, and occupy 45. By storing
all in a single bitset, we stay under the cache line size of 64 bytes
until there are 512 policies in a range.
2015-06-07 09:29:29 +02:00
Kitware Robot
cb1a9c7b9c
CMake Nightly Date Stamp
2015-06-07 00:01:03 -04:00
Stephen Kelly
f573bd22e4
cmLocalGenerator: Add Feature API from cmMakefile.
2015-06-06 15:44:17 +02:00
Stephen Kelly
ccbc225913
cmGeneratorTarget: Move Feature API from cmTarget.
2015-06-06 15:44:16 +02:00
Stephen Kelly
44a8115797
cmPolicies: Replace UNDEFINED bitset with WARN bitset.
...
Might as well use the existing concept.
2015-06-06 10:09:45 +02:00
Stephen Kelly
1981c9718b
cmMakefile: Simplify InitializeFromParent method.
...
Provide a parent instead of requiring it to be computed through
the cmLocalGenerator.
2015-06-06 09:35:55 +02:00
Stephen Kelly
353e422b2a
cmMakefile: Remove unused GetPolicies method.
2015-06-06 09:35:55 +02:00
Stephen Kelly
00bfa04748
cmMakefile: Out-of-line the cmMakefileCall.
2015-06-06 09:31:16 +02:00
Stephen Kelly
db74ce5820
cmMakefile: Inline PushScope into PushFunctionScope.
...
Make it possible to group the various methods here a different way.
2015-06-06 09:30:45 +02:00
Stephen Kelly
59e21ffa13
Port static calls from cmLocalGenerator to cmOutputConverter.
2015-06-06 09:15:58 +02:00
Stephen Kelly
242dcc2c22
cmListFileBacktrace: Replace local generator with cmState::Snapshot.
...
Construct cmOutputConverter only when needed.
2015-06-06 09:15:57 +02:00
Stephen Kelly
1cff330b0f
cmTarget: Port to cmOutputConverter.
2015-06-06 09:15:57 +02:00
Stephen Kelly
2f1bd62b23
cmCustomCommandGenerator: Port to cmOutputConverter.
2015-06-06 09:15:57 +02:00
Stephen Kelly
0f2a132437
cmCommandArgumentParserHelper: Port to cmOutputConverter.
2015-06-06 09:15:56 +02:00
Stephen Kelly
4d8b79ad7e
cmComputeLinkInformation: Port to cmOutputConverter.
2015-06-06 09:15:56 +02:00
Stephen Kelly
8680520fea
cmMakefile: Make the cmState::Snapshot accessible.
2015-06-06 09:15:56 +02:00
Stephen Kelly
6d7abb6326
cmOutputConverter: Extract from cmLocalGenerator.
...
The Convert methods never belonged to the local generator concept, so
split them out now. The cmOutputConverter is cheap to construct and
destroy, so it can be instantiated where needed to perform
conversions. This will allow further decoupling of cmLocalGenerator
from the configure step.
Inherit cmLocalGenerator from cmOutputConverter for the purpose of
source compatibility.
2015-06-06 09:15:55 +02:00