- 19 May, 2015 2 commits
-
-
Stephen Kelly authored
It is never read externally. The CollapseFullPath removed in this commit is a repeat of a similar call inside ReadListFile.
-
Stephen Kelly authored
There is no need to store this as a member variable.
-
- 18 May, 2015 7 commits
-
-
Stephen Kelly authored
The backtrace will soon not be implemented in terms of a stack of cmListFileContext objects. Keep the cmListFileContext in the API for convenience for now.
-
Stephen Kelly authored
Move wrapping existing code from cmMakefile, and simplify the implementation there.
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Stephen Kelly authored
This is cheaper than getting the whole backtrace, and the cmListFileBacktrace will not always be composed of cmListFileContext objects.
-
Stephen Kelly authored
-
Brad King authored
The lexical scope counting added by commit v3.2.0-rc1~332^2~1 (Track nested loop levels in CMake language with a stack of counters, 2014-11-18) forgot to account for scopes popped by error messages about unclosed scopes. Teach the error handler to pop the lexical scope it reports as unclosed. Re-order the lexical scope RAII object to be inside the variable scope RAII object scope so that the lexical scope is fully closed before we check assertions about variable scopes. Extend the RunCMake.Syntax test with a case covering this.
-
- 17 May, 2015 1 commit
-
-
Stephen Kelly authored
For consistency with all other closure-related methods.
-
- 15 May, 2015 1 commit
-
-
Stephen Kelly authored
-
- 14 May, 2015 4 commits
-
-
Stephen Kelly authored
-
Stephen Kelly authored
The variable is initialized by the constructor already.
-
Stephen Kelly authored
Do not depend on the local generator for that.
-
Stephen Kelly authored
Access the state from the local generator in the cmMakefile.
-
- 12 May, 2015 1 commit
-
-
Brad King authored
Add policy CMP0061 to maintain compatibility for existing projects.
-
- 04 May, 2015 4 commits
-
-
Stephen Kelly authored
Hide the detail that it is a std::map.
-
Stephen Kelly authored
-
- 03 May, 2015 4 commits
-
-
Stephen Kelly authored
-
Stephen Kelly authored
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.
-
Stephen Kelly authored
-
Stephen Kelly authored
No callers handle the possibility that it can return null, and that is no longer possible anyway.
-
- 01 May, 2015 3 commits
-
-
Stephen Kelly authored
-
Stephen Kelly authored
All structural knowledge of the stack of scopes is now external.
-
Stephen Kelly authored
-
- 30 Apr, 2015 3 commits
-
-
Stephen Kelly authored
-
Stephen Kelly authored
The cmDefinitions::Get will change behavior in follow up commits.
-
This reverts commit 242c3966 (add_custom_command: Diagnose MAIN_DEPENDENCY limitation, 2015-03-09) and the follow up commit b372a99a (UseSWIG: Do not use MAIN_DEPENDENCY on custom commands, 2015-03-26). I misdiagnosed the underlying issue that prompted creation of policy CMP0057. The actual issue surfaces when a single custom command's MAIN_DEPENDENCY is listed in more than one target; this issue will have to be addressed independently.
-
- 29 Apr, 2015 9 commits
-
-
Stephen Kelly authored
-
Stephen Kelly authored
Iterate directly over the parent content provided by cmMakefile.
-
Stephen Kelly authored
Accept a range of cmDefinitions*.
-
Stephen Kelly authored
The purpose of the stack is to allow access only to the top of it. Access to items which are not at the top is needed, so cmDefinitions objects get a Parent pointer. The existence of the Parent pointer is a workaround for the inappropriate use of stack in the first place. Remove it now.
-
Stephen Kelly authored
-
Stephen Kelly authored
Construct the final list directly in a named return value. Use a single set to track bindings already found. Co-Author: Brad King <brad.king@kitware.com>
-
Stephen Kelly authored
This is more efficient and we lose nothing.
-
Stephen Kelly authored
-
Stephen Kelly authored
Put knowledge of the implementation details in one place.
-
- 28 Apr, 2015 1 commit
-
-
Stephen Kelly authored
-