summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmPolicies: Implement abstraction for PolicyMap.Stephen Kelly2015-05-043-7/+34
| | | | Hide the detail that it is a std::map.
* Port to static cmPolicies API.Stephen Kelly2015-05-0426-157/+83
|
* cmPolicies: Make all API static.Stephen Kelly2015-05-042-7/+7
|
* cmPolicies: Remove unused DefinePolicy method.Stephen Kelly2015-05-042-19/+0
| | | | Policies are no longer defined at runtime.
* cmPolicies: Remove unused cmPolicy class.Stephen Kelly2015-05-042-339/+1
|
* cmPolicies: Loop over all policies using enum constants.Stephen Kelly2015-05-041-8/+8
|
* cmPolicies: Trivialize GetPolicyStatus method.Stephen Kelly2015-05-041-18/+5
| | | | | It would be possible to implement this with an XMacro and switch statement, but every codepath currently would still return WARN.
* cmPolicies: Use more-direct ID access.Stephen Kelly2015-05-041-2/+2
|
* cmPolicies: Implement in terms of public API.Stephen Kelly2015-05-041-1/+1
|
* cmPolicies: Make private method file-static.Stephen Kelly2015-05-042-31/+27
|
* cmPolicies: Implement short description access with XMacros.Stephen Kelly2015-05-041-15/+23
|
* cmPolicies: Implement version check with XMacro.Stephen Kelly2015-05-041-28/+27
|
* cmPolicies: Implement id to version with XMacro.Stephen Kelly2015-05-041-13/+21
|
* cmPolicies: Implement id to string conversion with XMacro.Stephen Kelly2015-05-042-26/+25
|
* cmPolicies: Introduce XMacro table for policy data.Stephen Kelly2015-05-041-72/+199
| | | | Use it to populate the policy enum.
* cmPolicies: Implement more-compact IsPolicyNewerThan.Stephen Kelly2015-05-041-17/+6
|
* cmPolicies: Parse string for id conversion.Stephen Kelly2015-05-042-14/+37
| | | | Remove now-unused PolicyStringMap.
* cmPolicies: Make private method file-static.Stephen Kelly2015-05-032-35/+31
|
* cmPolicies: Remove runtime check for programming errors.Stephen Kelly2015-05-031-26/+0
|
* cmPolicies: Remove unused forward declaration.Stephen Kelly2015-05-031-1/+0
|
* cmPolicies: Remove unused static data.Stephen Kelly2015-05-032-5/+0
|
* cmPolicies: Remove unused header.Stephen Kelly2015-05-031-1/+0
|
* cmPolicies: Fix values for policies 57-60.Stephen Kelly2015-05-031-1/+1
|
* CMake Nightly Date StampKitware Robot2015-05-021-1/+1
|
* Merge topic 'refactor-RaiseScope'Brad King2015-05-011-20/+24
|\ | | | | | | | | | | e8ae46e5 cmMakefile: Implement RaiseScope without relying on Parent. 30a021cc cmMakefile: Implement RaiseScope in terms of local Get method.
| * cmMakefile: Implement RaiseScope without relying on Parent.Stephen Kelly2015-04-301-20/+24
| |
| * cmMakefile: Implement RaiseScope in terms of local Get method.Stephen Kelly2015-04-301-1/+1
| | | | | | | | The cmDefinitions::Get will change behavior in follow up commits.
* | Merge topic 'fix-cmState-try_compile-languages'Brad King2015-05-014-2/+9
|\ \ | | | | | | | | | | | | 27343e3b cmGlobalGenerator: Finish storing enabled languages in cmState
| * | cmGlobalGenerator: Finish storing enabled languages in cmStateBrad King2015-04-304-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 74de9a73 (cmGlobalGenerator: Delegate storage of enabled languages to cmState, 2015-04-11) the original LanguageEnabled member of cmGlobalGenerator was left behind by mistake. One use of it in EnableLanguagesFromGenerator (for try_compile) was left, but the member is not populated anymore. Drop the member and teach EnableLanguagesFromGenerator to copy the list of enabled languages from one cmState to the other. Reported-by: Matt McCormick <matt.mccormick@kitware.com>
* | | Merge topic 'cmComputeLinkInformation-minor-cleanup'Brad King2015-05-011-5/+7
|\ \ \ | | | | | | | | | | | | | | | | faede40b cmComputeLinkInformation: Reduce 'if' nesting in AddItem
| * | | cmComputeLinkInformation: Reduce 'if' nesting in AddItemBrad King2015-04-211-5/+7
| | | | | | | | | | | | | | | | | | | | Also add a comment explaining why interface libraries still get a link item.
* | | | CMake Nightly Date StampKitware Robot2015-05-011-1/+1
| |_|/ |/| |
* | | Merge topic 'refactor-cmDefinitions'Brad King2015-04-303-134/+179
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b48ea26a cmDefinitions: Invert conditional code. 5ccff640 cmDefinitions: Externalize looping for ClosureKeys. f79cd99d cmDefinitions: Implement MakeClosure in terms of reverse iterators. aa4d1ee8 cmDefinitions: Convert MakeClosure into a static method. 60becdc6 cmDefinitions: Implement MakeClosure in terms of a list of ancestors. d858f363 cmDefinitions: Use list of cmDefinitions* to create closure. aaaa65b6 cmMakefile: Remove stack adaptor for the VarStack. f983d891 cmDefinitions: Replace recursion with loop. 24885d4e cmDefinitions: Replace private constructor with MakeClosure. 012a75a0 cmDefinitions: Make ClosureKeys API vector-based. ca9fa77d cmDefinitions: Inline GetClosureKeys implementation. 78e1454e cmDefinitions: Replace ClosureKeys recursion with looping. 818bf727 cmDefinitions: Change LocalKeys to return a vector. 5067ae41 cmDefinitions: Externalize the Set logic. 60200ca5 cmDefinitions: Add an Erase method. b43c162e cmMakefile: Use the Internal class to enclose the VarStack.
| * | | cmDefinitions: Invert conditional code.Stephen Kelly2015-04-291-5/+6
| | | | | | | | | | | | | | | | Return the simple case first.
| * | | cmDefinitions: Externalize looping for ClosureKeys.Stephen Kelly2015-04-293-18/+20
| | | |
| * | | cmDefinitions: Implement MakeClosure in terms of reverse iterators.Stephen Kelly2015-04-293-22/+16
| | | | | | | | | | | | | | | | Iterate directly over the parent content provided by cmMakefile.
| * | | cmDefinitions: Convert MakeClosure into a static method.Stephen Kelly2015-04-293-11/+16
| | | | | | | | | | | | | | | | Accept a range of cmDefinitions*.
| * | | cmDefinitions: Implement MakeClosure in terms of a list of ancestors.Stephen Kelly2015-04-292-13/+17
| | | |
| * | | cmDefinitions: Use list of cmDefinitions* to create closure.Stephen Kelly2015-04-291-3/+11
| | | |
| * | | cmMakefile: Remove stack adaptor for the VarStack.Stephen Kelly2015-04-291-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | cmDefinitions: Replace recursion with loop.Stephen Kelly2015-04-291-18/+16
| | | |
| * | | cmDefinitions: Replace private constructor with MakeClosure.Stephen Kelly2015-04-293-20/+10
| | | |
| * | | cmDefinitions: Make ClosureKeys API vector-based.Stephen Kelly2015-04-293-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | cmDefinitions: Inline GetClosureKeys implementation.Stephen Kelly2015-04-292-11/+1
| | | |
| * | | cmDefinitions: Replace ClosureKeys recursion with looping.Stephen Kelly2015-04-291-14/+14
| | | |
| * | | cmDefinitions: Change LocalKeys to return a vector.Stephen Kelly2015-04-293-9/+10
| | | | | | | | | | | | | | | | This is more efficient and we lose nothing.
| * | | cmDefinitions: Externalize the Set logic.Stephen Kelly2015-04-292-11/+10
| | | |
| * | | cmDefinitions: Add an Erase method.Stephen Kelly2015-04-292-0/+7
| | | |
| * | | cmMakefile: Use the Internal class to enclose the VarStack.Stephen Kelly2015-04-291-46/+95
| | | | | | | | | | | | | | | | Put knowledge of the implementation details in one place.
* | | | Merge topic 'if-IN_LIST'Brad King2015-04-304-1/+44
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | aed6239e if: Implement new IN_LIST operator