summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmListFileBacktrace: Implement in terms of cmState::Snapshot.Stephen Kelly2015-07-061-28/+6
| | | | Avoid copying many strings into each backtrace object.
* cmListFile: Remove FilePath member from cmListFileContext.Stephen Kelly2015-07-061-13/+22
| | | | | There is no need to store the FilePath for every function, as it is known by other means.
* cmMakefile: Set the FilePath on the frame from the cmState.Stephen Kelly2015-07-061-2/+8
| | | | To verify unit tests pass and for future bisecting.
* cmMakefile: Create intermediate variables for snapshot frames.Stephen Kelly2015-07-061-2/+4
|
* cmMakefile: Create a scoped context for parsing listfiles.Stephen Kelly2015-07-061-0/+30
| | | | Update the Syntax tests to check for updated/improved backtraces.
* cmMakefile: Access the execution list file from the cmState.Stephen Kelly2015-07-051-1/+2
|
* cmState: Store execution context.Stephen Kelly2015-07-051-10/+31
| | | | | Extend snapshot creation API to store the file being executed and the entry point to get to that context.
* cmState: Store snapshots for more different types.Stephen Kelly2015-07-041-0/+33
| | | | Adjust cmMakefile implementation to create the snapshots.
* cmMakefile: Split CallStack into two pieces.Stephen Kelly2015-07-041-16/+19
|
* cmMakefile: Merge two Scope types and instances.Stephen Kelly2015-06-301-30/+18
|
* cmMakefile: Rename a variable.Stephen Kelly2015-06-301-3/+3
|
* cmMakefile: Expand the scope of scoped buildsystem file state.Stephen Kelly2015-06-301-3/+1
|
* cmMakefile: Compute the filename processed in a scope.Stephen Kelly2015-06-301-3/+6
|
* cmMakefile: Inline ProcessBuildsystemFile into only caller.Stephen Kelly2015-06-301-43/+39
|
* cmMakefile: Don't use string comparison to check directory level.Stephen Kelly2015-06-301-2/+1
|
* cmMakefile: Avoid invoking EnforceDirectoryLevelRules.Stephen Kelly2015-06-301-1/+0
| | | | | This is part of the CMP0000 implementation and only needs to be invoked for top-level buildsystem files currently.
* cmMakefile: Add filename to ReadListFile auto scopes.Stephen Kelly2015-06-301-6/+6
|
* cmMakefile: Remove IncludeScope Quiet call.Stephen Kelly2015-06-301-1/+0
|
* cmMakefile: Make listfile scopes responsible for logical checks.Stephen Kelly2015-06-301-17/+6
| | | | Remove the LexicalPushPop.
* cmMakefile: Move the lexical scope.Stephen Kelly2015-06-301-3/+2
|
* cmMakefile: Add automatic scopes to listfile readers.Stephen Kelly2015-06-301-6/+51
|
* cmMakefile: Move the IncludeScope to where it is used.Stephen Kelly2015-06-301-20/+20
|
* Merge topic 'fix-function-missing-end'Brad King2015-06-231-1/+0
|\ | | | | | | | | 5d85fb4f Fix assertion failure on unmatched function or macro
| * Fix assertion failure on unmatched function or macroBrad King2015-06-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix in commit v3.2.3~3^2 (Fix assertion failure on unmatched foreach in function, 2015-05-18) broke handling of unmatched non-loop blocks because it assumed all function blockers removed during error unwinding were for loops, essentially switching the set of mishandled cases. The purpose of the loop block push/pop operations is to define a scope matching the lifetime of the loop function blockers. Since our function blockers already have the proper lifetime, simply move the push/pop operations to their constructor/destructor. Extend the RunCMake.Syntax test with a case covering this.
* | Merge topic 'minor-cleanups'Brad King2015-06-221-7/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 820986ed cmLocalGenerator: Constify GetIncludeDirectories method. b3e2e332 QtAutogen: Get the global generator from the Makefile. 61c0113c cmLocalUnixMakefileGenerator3: Remove unused method. 080489b8 cmMakefile: Use member directly instead of through method. 8bfaadfa cmMakefile: Move IsRoot API from cmLocalGenerator. 217c243d cmake: Update the current snapshot when Resetting. eb05dcd6 cmLocalGenerator: Add IssueMessage method. cfae7fa4 cmMakefile: Use cmOutputConverter instead of cmLocalGenerator. ccf7760f cmOutputConverter: Constify API.
| * | cmMakefile: Use member directly instead of through method.Stephen Kelly2015-06-211-1/+1
| | | | | | | | | | | | This function will not be around much longer anyway.
| * | cmMakefile: Move IsRoot API from cmLocalGenerator.Stephen Kelly2015-06-211-0/+5
| | |
| * | cmMakefile: Use cmOutputConverter instead of cmLocalGenerator.Stephen Kelly2015-06-211-6/+7
| | |
* | | Merge topic 'clean-up-ReadListFile'Brad King2015-06-221-64/+76
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 81eb2c58 cmMakefile: Simplify filename handling. 5c837686 cmMakefile: Make the IncludeScope more responsible. c10ab014 cmMakefile: Move IncludeScope. 3404f8a0 cmMakefile: Move ListFile parsing responsibility out of internal method. a1858136 cmMakefile: Rename parameter. ad47e6e5 cmMakefile: Inline ReadListFileInternal into caller. 254be613 cmMakefile: Move resource management into the IncludeScope. 826b6e68 cmMakefile: Move IncludeScope to ReadDependentFile. e53072d6 cmMakefile: Move IncludeScope instance. b7166afa cmMakefile: Remove File from IncludeScope. 27f229b9 cmMakefile: Move include scope out of ReadListFileInternal. 9166b49d cmMakefile: Change order of raii scopes. 384a0dba cmMakefile: Simplify condition handling. 5e24ff17 cmMakefile: Split file handling from execution. d5aaa2b9 cmMakefile: Move check for unused variables. fff3c6cd cmMakefile: Move a container population. ...
| * | | cmMakefile: Simplify filename handling.Stephen Kelly2015-06-211-7/+3
| | | | | | | | | | | | | | | | This method has only one caller.
| * | | cmMakefile: Make the IncludeScope more responsible.Stephen Kelly2015-06-211-3/+5
| | | | | | | | | | | | | | | | | | | | It is now responsible for all resource management when including a file.
| * | | cmMakefile: Move IncludeScope.Stephen Kelly2015-06-211-1/+2
| | | |
| * | | cmMakefile: Move ListFile parsing responsibility out of internal method.Stephen Kelly2015-06-211-19/+39
| | | |
| * | | cmMakefile: Rename parameter.Stephen Kelly2015-06-211-9/+9
| | | |
| * | | cmMakefile: Inline ReadListFileInternal into caller.Stephen Kelly2015-06-211-16/+11
| | | |
| * | | cmMakefile: Move resource management into the IncludeScope.Stephen Kelly2015-06-211-5/+2
| | | |
| * | | cmMakefile: Move IncludeScope to ReadDependentFile.Stephen Kelly2015-06-211-10/+15
| | | | | | | | | | | | | | | | | | | | Add replacement simple push/pop in the other two callers of ReadListFile.
| * | | cmMakefile: Move IncludeScope instance.Stephen Kelly2015-06-211-1/+2
| | | |
| * | | cmMakefile: Remove File from IncludeScope.Stephen Kelly2015-06-211-7/+8
| | | | | | | | | | | | | | | | Get it from the Makefile instead.
| * | | cmMakefile: Move include scope out of ReadListFileInternal.Stephen Kelly2015-06-211-6/+7
| | | | | | | | | | | | | | | | Simplify the ReadListFileInternal API.
| * | | cmMakefile: Change order of raii scopes.Stephen Kelly2015-06-211-1/+1
| | | |
| * | | cmMakefile: Simplify condition handling.Stephen Kelly2015-06-211-13/+9
| | | |
| * | | cmMakefile: Split file handling from execution.Stephen Kelly2015-06-211-8/+11
| | | |
| * | | cmMakefile: Move check for unused variables.Stephen Kelly2015-06-211-5/+2
| | | |
| * | | cmMakefile: Move a container population.Stephen Kelly2015-06-211-5/+3
| | | |
| * | | cmMakefile: Rename variables.Stephen Kelly2015-06-211-7/+7
| | | |
| * | | cmMakefile: Change return type of ReadListFileInternal.Stephen Kelly2015-06-211-3/+1
| | | |
| * | | cmMakefile: Move listfile parsing responsibility.Stephen Kelly2015-06-211-10/+11
| |/ /
* | | cmMakefile: Use GetExecutionFileStack method.Stephen Kelly2015-06-211-1/+1
| | |
* | | cmMakefile: Add filename context to ExpandArguments.Stephen Kelly2015-06-211-6/+23
|/ / | | | | | | | | | | | | | | | | The cmListFileArgument currently stores a FilePath for use in this method. The filename is the same as the CMAKE_CURRENT_LIST_FILE, except if executing a macro or function defined in another file. Set the context filename when expanding the arguments of macros and functions using the filename recorded when defining the prototype.