summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
Commit message (Collapse)AuthorAgeFilesLines
* cmMakefile: Move CMP0059 handling to command code.Stephen Kelly2015-06-081-0/+2
| | | | | | | | Don't pay a penalty for it in all GetProperty calls. Additionally, the storage of properties will eventually move to cmState, which should only contain state and not logic for policies like this.
* Merge topic 'data-layout'Brad King2015-06-081-11/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8174e5cd cmCustomCommand: Remove special member functions. 34e1d6db cmCustomCommand: Re-arrange data layout. 54cb76f2 cmComputeLinkDepends: Re-arrange data layout. b661d6c6 cmQtAutoGenerators: Re-arrange data layout. 40844a14 cmProcessTools: Re-arrange data layout. b1ff32af cmOrderDirectories: Re-arrange data layout. dd0417c7 cmInstallTargetGenerator: Re-arrange data layout. 125c4866 cmInstallFilesGenerator: Re-arrange data layout. 92b8b1fc cmGraphVizWriter: Re-arrange data layout. 7f3e1623 cmGlobalGenerator: Re-arrange data layout. d9df7fa7 cmComputeComponentGraph: Re-arrange data layout. db24e41b cmCommandArgumentParserHelper: Re-arrange data. 4cd13e80 cmComputeLinkInformation: Re-arrange data layout. 3e087a40 cmLocalUnixMakefileGenerator: Re-arrange data layout. e0421701 cmMakefile: Re-arrange data layout. c26696eb cmSourceFile: Re-arrange data. ...
| * cmMakefile: Re-arrange data layout.Stephen Kelly2015-06-071-9/+7
| | | | | | | | 2168 to 2152 bytes with GNU libstdc++-5.1.
| * cmPropertyMap: Remove chaining logic.Stephen Kelly2015-06-071-2/+1
| | | | | | | | | | | | | | 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.
* | Merge topic 'clean-up-cmMakefile'Brad King2015-06-081-18/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c192fb5 cmMakefile: Remove cacheOnly option from GetDefinitions. 046aafff cmGetCMakePropertyCommand: Don't explicitly specify default param. 021c4b6f cmMakefile: Simplify handling of CACHE_VARIABLES property. 1981c971 cmMakefile: Simplify InitializeFromParent method. 353e422b cmMakefile: Remove unused GetPolicies method. 00bfa047 cmMakefile: Out-of-line the cmMakefileCall. db74ce58 cmMakefile: Inline PushScope into PushFunctionScope. ca140c2e cmMakefile: Create a unified raii for macro scopes. d5dc4169 cmMakefile: Create a unified raii for function scopes.
| * | cmMakefile: Remove cacheOnly option from GetDefinitions.Stephen Kelly2015-06-071-1/+1
| |/ | | | | | | It is now unused.
| * cmMakefile: Simplify InitializeFromParent method.Stephen Kelly2015-06-061-1/+1
| | | | | | | | | | Provide a parent instead of requiring it to be computed through the cmLocalGenerator.
| * cmMakefile: Remove unused GetPolicies method.Stephen Kelly2015-06-061-6/+0
| |
| * cmMakefile: Out-of-line the cmMakefileCall.Stephen Kelly2015-06-061-9/+2
| |
| * cmMakefile: Create a unified raii for macro scopes.Stephen Kelly2015-06-041-0/+15
| |
| * cmMakefile: Create a unified raii for function scopes.Stephen Kelly2015-06-041-1/+15
| |
* | Merge topic 'move-Feature-API'Brad King2015-06-081-3/+0
|\ \ | | | | | | | | | | | | | | | f573bd22 cmLocalGenerator: Add Feature API from cmMakefile. ccbc2259 cmGeneratorTarget: Move Feature API from cmTarget.
| * | cmLocalGenerator: Add Feature API from cmMakefile.Stephen Kelly2015-06-061-3/+0
| |/
* | cmMakefile: Make the cmState::Snapshot accessible.Stephen Kelly2015-06-061-0/+2
|/
* Merge topic 'cmMakefile-Configure'Brad King2015-06-041-4/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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: Store unconfigured cmMakefiles.Stephen Kelly2015-06-041-1/+1
| | | | | | | | Not cmLocalGenerators.
| * cmMakefile: Implement ConfigureSubDirectory in terms of cmMakefile.Stephen Kelly2015-06-041-1/+1
| |
| * cmMakefile: Move Configure responsibility from cmLocalGenerator.Stephen Kelly2015-06-041-5/+2
| | | | | | | | The generator should only have a function at generate time.
| * cmMakefile: Refactor directories specified with the subdirs command.Stephen Kelly2015-06-041-0/+7
| | | | | | | | Store the directories on the cmMakefile as explicitly not-configured-yet.
| * Merge Configure state with GeneratingBuildSystem state.Stephen Kelly2015-06-041-3/+3
| |
* | cmMakefile: Add API for elseif to create backtrace.Stephen Kelly2015-06-021-0/+1
|/
* cmMakefile: Remove VarUsageStack.Stephen Kelly2015-05-191-2/+0
| | | | | | Store usage information in the cmDefintions value instead. We already pay for the memory as padding in the Def struct, so we might as well use it.
* cmMakefile: Use more suitable method name to log var usage.Stephen Kelly2015-05-191-1/+1
|
* cmMakefile: Move internal method to private scope.Stephen Kelly2015-05-191-2/+2
|
* cmMakefile: Remove Print() debugging facilities.Stephen Kelly2015-05-191-9/+0
| | | | They don't print things that are important in the modern implementation.
* cmMakefile: Rename method to something more appropriate.Stephen Kelly2015-05-191-1/+1
| | | | Allow the name to be used for something more-suitable.
* cmMakefile: Make the public ReadListFile method take one param.Stephen Kelly2015-05-191-6/+5
| | | | | Make the existing method a private overload. All external callers invoke the method with only one argument.
* cmMakefile: Remove CurrentListFile member.Stephen Kelly2015-05-191-10/+0
| | | | | It is never read externally. The CollapseFullPath removed in this commit is a repeat of a similar call inside ReadListFile.
* Merge topic 'use-std-unordered_map'Brad King2015-05-191-1/+13
|\ | | | | | | | | | | | | d7923b82 Use std::unordered_map instead of hash_map where available. 820777af Tests: Don't rely on ordering of targets in maps. 921d74d8 AutoGen: Don't iterate over a container while populating it.
| * Use std::unordered_map instead of hash_map where available.Stephen Kelly2015-05-181-1/+13
| |
* | cmListFileContext: Implement LessThanComparable.Stephen Kelly2015-05-181-20/+1
| | | | | | | | | | Move wrapping existing code from cmMakefile, and simplify the implementation there.
* | cmMakefile: Simplify CMP0054 handling.Stephen Kelly2015-05-181-2/+1
| |
* | cmMakefile: Add access to the top-level execution context.Stephen Kelly2015-05-181-0/+1
| | | | | | | | | | This is cheaper than getting the whole backtrace, and the cmListFileBacktrace will not always be composed of cmListFileContext objects.
* | cmMakefile: Replace deques with vectors.Stephen Kelly2015-05-181-3/+2
|/
* CTest: Stop telling 'make' to ignore errors with -iBrad King2015-05-121-0/+2
| | | | Add policy CMP0061 to maintain compatibility for existing projects.
* Merge topic 'refactor-cmMakefile-constructor'Brad King2015-05-051-1/+0
|\ | | | | | | | | | | 42142d4f cmMakefile: Inline Intialize method in constructor f39f0c0a cmMakefile: Initialize SuppressWatches member before use
| * cmMakefile: Inline Intialize method in constructorBrad King2015-05-041-1/+0
| | | | | | | | | | | | Since commit 80909041 (cmMakefile: Disable copy constructor, 2015-04-18) the only call to cmMakefile::Initialize is in one constructor. Inline it and drop the separate method.
* | cmMakefile: Extract an accessor for the global generator.Stephen Kelly2015-05-031-0/+1
|/ | | | | | Both for convenience, and because cmMakefile should not be the way to get access to the local generator, so that should go away in the future.
* cmState: Store the Current directories.Stephen Kelly2015-04-281-2/+0
|
* Introduce cmState::Snapshot.Stephen Kelly2015-04-281-1/+1
| | | | | | | Create snapshots for buildsystem directories during configure time. This class will be extended in follow up commits to snapshot all values in the cmState.
* cmMakefile: Require the localGenerator in the constructor.Stephen Kelly2015-04-281-8/+1
| | | | | Move the contents of cmMakeile::SetLocalGenerator to the Initialize method.
* cmMakefile: Inline SetHome* methods into last remaining caller.Stephen Kelly2015-04-281-11/+0
|
* cmMakefile: Delegate storage of Home dirs to the cmake class.Stephen Kelly2015-04-281-2/+0
| | | | There is no need to duplicate these on every cmMakefile.
* Merge topic 'clean-up-cmMakefile'Brad King2015-04-211-54/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8dc3a67c cmMakefile: Out-of-line the directory methods. 0f3c8cfa cmMakefile: Use method abstraction to access directories. b288a997 cmMakefile: Rename SetStart* directory API to SetCurrent*. 932d53bc cmMakefile: Remove redundant method duplication. 32b8f03a cmMakefile: Port users of GetStart* methods to new names. 54d6a918 cmMakefile: Rename GetCurrent{Output,Binary}Directory. 55d80d0a cmMakefile: Rename GetCurrent{,Source}Directory. b23cf06f cmake: Remove redundant start directories. fcf246ac cmMakefile: Populate Home directories on initialize. 8878bea7 cmake: Initialize Home directories on cmake for find-package mode. 044dc815 Use the Home directories from the cmake class where intended. d67e8f24 cmake: Fix directory used to find the cache 1ea085d1 cmMakefile: Initialize dir definitions early. f034bb2f Remove redundant calls to MakeStartDirectoriesCurrent. 3a68c323 cmMakefile: Fix wrong parameter names.
| * cmMakefile: Out-of-line the directory methods.Stephen Kelly2015-04-211-37/+4
| |
| * cmMakefile: Rename SetStart* directory API to SetCurrent*.Stephen Kelly2015-04-201-2/+2
| |
| * cmMakefile: Remove redundant method duplication.Stephen Kelly2015-04-201-8/+0
| |
| * cmMakefile: Rename GetCurrent{Output,Binary}Directory.Stephen Kelly2015-04-201-1/+1
| | | | | | | | Match names used in CMake code.
| * cmMakefile: Rename GetCurrent{,Source}Directory.Stephen Kelly2015-04-201-1/+1
| | | | | | | | Match the names used in cmake code.
| * cmMakefile: Initialize dir definitions early.Stephen Kelly2015-04-201-8/+0
| |