summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmOrderDirectories: Re-arrange data layout.Stephen Kelly2015-06-071-3/+2
| | | | Size goes from 680 to 672 bytes.
* cmInstallTargetGenerator: Re-arrange data layout.Stephen Kelly2015-06-072-5/+5
| | | | | | Remove unused cmGeneratorTarget member. Size goes from 238 to 232 bytes.
* cmInstallFilesGenerator: Re-arrange data layout.Stephen Kelly2015-06-072-3/+5
| | | | Size goes from 296 to 288 bytes.
* cmGraphVizWriter: Re-arrange data layout.Stephen Kelly2015-06-072-9/+8
| | | | Size goes from 272 to 264 bytes.
* cmGlobalGenerator: Re-arrange data layout.Stephen Kelly2015-06-071-6/+8
| | | | Size goes from 1488 to 1480 bytes.
* cmComputeComponentGraph: Re-arrange data layout.Stephen Kelly2015-06-071-2/+2
| | | | Size goes from 224 to 216 bytes.
* cmCommandArgumentParserHelper: Re-arrange data.Stephen Kelly2015-06-071-4/+4
| | | | Size goes from 232 to 216 bytes.
* cmComputeLinkInformation: Re-arrange data layout.Stephen Kelly2015-06-071-18/+17
| | | | Size goes from 1944 to 1920 bytes.
* cmLocalUnixMakefileGenerator: Re-arrange data layout.Stephen Kelly2015-06-071-16/+7
| | | | Size goes from 536 to 528 bytes.
* cmMakefile: Re-arrange data layout.Stephen Kelly2015-06-071-9/+7
| | | | 2168 to 2152 bytes with GNU libstdc++-5.1.
* cmSourceFile: Re-arrange data.Stephen Kelly2015-06-071-2/+2
| | | | Size goes from 304 to 296 bytes.
* cmTarget: Re-arrange data layout.Stephen Kelly2015-06-071-29/+23
| | | | Size with GNU libstdc++-5.1 goes from 840 bytes to 808 bytes.
* cmTarget: Replace PolicyStatus members with PolicyMap.Stephen Kelly2015-06-072-24/+4
| | | | sizeof(cmTarget) goes from 856 to 840 with GNU libstdc++ 5.1.
* cmTarget: Use method abstraction for policy status.Stephen Kelly2015-06-071-9/+9
|
* cmPropertyMap: Remove chaining logic.Stephen Kelly2015-06-0712-73/+42
| | | | | | | 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.
* cmPropertyMap: Require a non-empty name parameter.Stephen Kelly2015-06-076-11/+28
| | | | The cmGetPropertyCommand already checks for this.
* cmPropertyMap: Remove scope parameter from API where not used.Stephen Kelly2015-06-079-35/+22
|
* Constify property definition API.Stephen Kelly2015-06-075-21/+35
|
* cmProperty: Remove needless Name member.Stephen Kelly2015-06-073-11/+6
| | | | Size goes from 72 to 40 bytes with GNU libstdc++-5.1.
* cmPolicies: Store all statuses in a single bitset.Stephen Kelly2015-06-072-18/+19
| | | | | | | | 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.
* cmPolicies: Replace UNDEFINED bitset with WARN bitset.Stephen Kelly2015-06-062-10/+6
| | | | Might as well use the existing concept.
* cmMakefile: Simplify InitializeFromParent method.Stephen Kelly2015-06-062-5/+3
| | | | | Provide a parent instead of requiring it to be computed through the cmLocalGenerator.
* cmMakefile: Remove unused GetPolicies method.Stephen Kelly2015-06-062-9/+0
|
* cmMakefile: Out-of-line the cmMakefileCall.Stephen Kelly2015-06-062-9/+14
|
* cmMakefile: Inline PushScope into PushFunctionScope.Stephen Kelly2015-06-061-2/+16
| | | | Make it possible to group the various methods here a different way.
* cmMakefile: Create a unified raii for macro scopes.Stephen Kelly2015-06-043-8/+47
|
* cmMakefile: Create a unified raii for function scopes.Stephen Kelly2015-06-043-12/+51
|
* Merge branch 'release'Brad King2015-06-040-0/+0
|\
| * Merge branch 'CPackDeb-dpkg-shlibdeps-check-flag' into releasev3.3.0-rc1Brad King2015-06-031-7/+11
| |\
* | \ Merge topic 'cmMakefile-Configure'Brad King2015-06-0413-153/+115
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7657e8b1 cmMakefile: Introduce a local cmMakefile variable. 4e8f242d cmMakefile: Store unconfigured cmMakefiles. d65e0123 cmMakefile: Implement ConfigureSubDirectory in terms of cmMakefile. f059ed16 cmMakefile: Move Configure responsibility from cmLocalGenerator. a653611d cmake: Replace CurrentLocalGenerator concept with CurrentMakefile. 69a038a9 cmMakefile: Refactor directories specified with the subdirs command. 08637970 cmLocalGenerator: ComputeObjectMaxPath just before generating. 27e11c6f Merge Configure state with GeneratingBuildSystem state. 363caa2f cmLocalGenerator: De-virtualize Configure().
| * | | cmMakefile: Introduce a local cmMakefile variable.Stephen Kelly2015-06-041-5/+7
| | | |
| * | | cmMakefile: Store unconfigured cmMakefiles.Stephen Kelly2015-06-042-5/+5
| | | | | | | | | | | | | | | | Not cmLocalGenerators.
| * | | cmMakefile: Implement ConfigureSubDirectory in terms of cmMakefile.Stephen Kelly2015-06-042-8/+8
| | | |
| * | | cmMakefile: Move Configure responsibility from cmLocalGenerator.Stephen Kelly2015-06-045-83/+62
| | | | | | | | | | | | | | | | The generator should only have a function at generate time.
| * | | cmake: Replace CurrentLocalGenerator concept with CurrentMakefile.Stephen Kelly2015-06-045-23/+21
| | | |
| * | | cmMakefile: Refactor directories specified with the subdirs command.Stephen Kelly2015-06-043-7/+24
| | | | | | | | | | | | | | | | Store the directories on the cmMakefile as explicitly not-configured-yet.
| * | | cmLocalGenerator: ComputeObjectMaxPath just before generating.Stephen Kelly2015-06-043-3/+2
| | | |
| * | | Merge Configure state with GeneratingBuildSystem state.Stephen Kelly2015-06-046-24/+14
| | | |
| * | | cmLocalGenerator: De-virtualize Configure().Stephen Kelly2015-06-045-34/+11
| | | | | | | | | | | | | | | | | | | | The generators that override it do so in order to populate data members which can instead be populated in Generate().
* | | | Merge topic 'remove-CMAKE_USE_RELATIVE_PATHS'Brad King2015-06-0412-179/+96
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | 6e570f85 cmLocalGenerator: Remove 'optional' parameter from Convert. 3d8c6cd9 cmLocalGenerator: Remove obsolete method. e44e6bcc Port away from obsolete method. 1335992c Remove CMAKE_USE_RELATIVE_PATHS variable.
| * | | cmLocalGenerator: Remove 'optional' parameter from Convert.Stephen Kelly2015-06-048-66/+47
| | | | | | | | | | | | | | | | Port callers away from it.
| * | | cmLocalGenerator: Remove obsolete method.Stephen Kelly2015-06-032-15/+0
| | | |
| * | | Port away from obsolete method.Stephen Kelly2015-06-032-40/+38
| | | |
| * | | Remove CMAKE_USE_RELATIVE_PATHS variable.Stephen Kelly2015-06-037-60/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test for this variable was removed in commit v2.8.8~330^2~7 (complex: Remove ancient unused ComplexRelativePaths test, 2011-12-23). Commit v3.1.0-rc1~425^2~2 (backtrace: Convert to local paths in IssueMessage, 2014-03-12) appears to have accidentally made some backtraces print relative paths with the variable because conversions which used to be done at configure time, before the variable had an effect are now potentially done at generate time. The documentation of the variable says not to use it, and the docs are wrong in that the variable actually applies in per-directory scope. The read of the variable makes it harder to split conversion methods from cmLocalGenerator where they don't belong. Remove it now.
* | | | Merge topic 'rename-cmState-API'Brad King2015-06-045-14/+27
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cf1233a0 cmState: Rename GetParent method. 942df88b cmState: Rename CreateSnapshot method. da28f115 cmState: Add CreateBaseSnapshot method.
| * | | | cmState: Rename GetParent method.Stephen Kelly2015-06-024-6/+7
| | | | | | | | | | | | | | | | | | | | Leave the namespace open for other Parent types.
| * | | | cmState: Rename CreateSnapshot method.Stephen Kelly2015-06-023-3/+4
| | | | | | | | | | | | | | | | | | | | Leave the namespace open for other snapshot types.
| * | | | cmState: Add CreateBaseSnapshot method.Stephen Kelly2015-06-023-5/+16
| |/ / /
* | | | Merge topic 'minor-cleanups'Brad King2015-06-0415-75/+59
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb7b6f6d cmVariableWatchCommand: Simplify error reporting. 499ebb65 cmListFileBacktrace: Internalize the step of making paths relative. 80b433b0 cmGlobalGenerator: Don't use else after a return. 52919ac8 cmMakefile: Make cmListFileBacktrace default constructible. b68f2ea8 cmMakefile: Add API for elseif to create backtrace. 17e13f0a cmMakefile: Simplify CMP0000 handling.
| * | | | cmVariableWatchCommand: Simplify error reporting.Stephen Kelly2015-06-021-4/+1
| | | | |