Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmPolicies: Implement abstraction for PolicyMap. | Stephen Kelly | 2015-05-04 | 3 | -7/+34 |
| | | | | Hide the detail that it is a std::map. | ||||
* | Port to static cmPolicies API. | Stephen Kelly | 2015-05-04 | 26 | -157/+83 |
| | |||||
* | cmPolicies: Make all API static. | Stephen Kelly | 2015-05-04 | 2 | -7/+7 |
| | |||||
* | cmPolicies: Remove unused DefinePolicy method. | Stephen Kelly | 2015-05-04 | 2 | -19/+0 |
| | | | | Policies are no longer defined at runtime. | ||||
* | cmPolicies: Remove unused cmPolicy class. | Stephen Kelly | 2015-05-04 | 2 | -339/+1 |
| | |||||
* | cmPolicies: Loop over all policies using enum constants. | Stephen Kelly | 2015-05-04 | 1 | -8/+8 |
| | |||||
* | cmPolicies: Trivialize GetPolicyStatus method. | Stephen Kelly | 2015-05-04 | 1 | -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 Kelly | 2015-05-04 | 1 | -2/+2 |
| | |||||
* | cmPolicies: Implement in terms of public API. | Stephen Kelly | 2015-05-04 | 1 | -1/+1 |
| | |||||
* | cmPolicies: Make private method file-static. | Stephen Kelly | 2015-05-04 | 2 | -31/+27 |
| | |||||
* | cmPolicies: Implement short description access with XMacros. | Stephen Kelly | 2015-05-04 | 1 | -15/+23 |
| | |||||
* | cmPolicies: Implement version check with XMacro. | Stephen Kelly | 2015-05-04 | 1 | -28/+27 |
| | |||||
* | cmPolicies: Implement id to version with XMacro. | Stephen Kelly | 2015-05-04 | 1 | -13/+21 |
| | |||||
* | cmPolicies: Implement id to string conversion with XMacro. | Stephen Kelly | 2015-05-04 | 2 | -26/+25 |
| | |||||
* | cmPolicies: Introduce XMacro table for policy data. | Stephen Kelly | 2015-05-04 | 1 | -72/+199 |
| | | | | Use it to populate the policy enum. | ||||
* | cmPolicies: Implement more-compact IsPolicyNewerThan. | Stephen Kelly | 2015-05-04 | 1 | -17/+6 |
| | |||||
* | cmPolicies: Parse string for id conversion. | Stephen Kelly | 2015-05-04 | 2 | -14/+37 |
| | | | | Remove now-unused PolicyStringMap. | ||||
* | cmPolicies: Make private method file-static. | Stephen Kelly | 2015-05-03 | 2 | -35/+31 |
| | |||||
* | cmPolicies: Remove runtime check for programming errors. | Stephen Kelly | 2015-05-03 | 1 | -26/+0 |
| | |||||
* | cmPolicies: Remove unused forward declaration. | Stephen Kelly | 2015-05-03 | 1 | -1/+0 |
| | |||||
* | cmPolicies: Remove unused static data. | Stephen Kelly | 2015-05-03 | 2 | -5/+0 |
| | |||||
* | cmPolicies: Remove unused header. | Stephen Kelly | 2015-05-03 | 1 | -1/+0 |
| | |||||
* | cmPolicies: Fix values for policies 57-60. | Stephen Kelly | 2015-05-03 | 1 | -1/+1 |
| | |||||
* | CMake Nightly Date Stamp | Kitware Robot | 2015-05-02 | 1 | -1/+1 |
| | |||||
* | Merge topic 'refactor-RaiseScope' | Brad King | 2015-05-01 | 1 | -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 Kelly | 2015-04-30 | 1 | -20/+24 |
| | | |||||
| * | cmMakefile: Implement RaiseScope in terms of local Get method. | Stephen Kelly | 2015-04-30 | 1 | -1/+1 |
| | | | | | | | | The cmDefinitions::Get will change behavior in follow up commits. | ||||
* | | Merge topic 'fix-cmState-try_compile-languages' | Brad King | 2015-05-01 | 4 | -2/+9 |
|\ \ | | | | | | | | | | | | | 27343e3b cmGlobalGenerator: Finish storing enabled languages in cmState | ||||
| * | | cmGlobalGenerator: Finish storing enabled languages in cmState | Brad King | 2015-04-30 | 4 | -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 King | 2015-05-01 | 1 | -5/+7 |
|\ \ \ | | | | | | | | | | | | | | | | | faede40b cmComputeLinkInformation: Reduce 'if' nesting in AddItem | ||||
| * | | | cmComputeLinkInformation: Reduce 'if' nesting in AddItem | Brad King | 2015-04-21 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | | | | | Also add a comment explaining why interface libraries still get a link item. | ||||
* | | | | CMake Nightly Date Stamp | Kitware Robot | 2015-05-01 | 1 | -1/+1 |
| |_|/ |/| | | |||||
* | | | Merge topic 'refactor-cmDefinitions' | Brad King | 2015-04-30 | 3 | -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 Kelly | 2015-04-29 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | Return the simple case first. | ||||
| * | | | cmDefinitions: Externalize looping for ClosureKeys. | Stephen Kelly | 2015-04-29 | 3 | -18/+20 |
| | | | | |||||
| * | | | cmDefinitions: Implement MakeClosure in terms of reverse iterators. | Stephen Kelly | 2015-04-29 | 3 | -22/+16 |
| | | | | | | | | | | | | | | | | Iterate directly over the parent content provided by cmMakefile. | ||||
| * | | | cmDefinitions: Convert MakeClosure into a static method. | Stephen Kelly | 2015-04-29 | 3 | -11/+16 |
| | | | | | | | | | | | | | | | | Accept a range of cmDefinitions*. | ||||
| * | | | cmDefinitions: Implement MakeClosure in terms of a list of ancestors. | Stephen Kelly | 2015-04-29 | 2 | -13/+17 |
| | | | | |||||
| * | | | cmDefinitions: Use list of cmDefinitions* to create closure. | Stephen Kelly | 2015-04-29 | 1 | -3/+11 |
| | | | | |||||
| * | | | cmMakefile: Remove stack adaptor for the VarStack. | Stephen Kelly | 2015-04-29 | 1 | -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 Kelly | 2015-04-29 | 1 | -18/+16 |
| | | | | |||||
| * | | | cmDefinitions: Replace private constructor with MakeClosure. | Stephen Kelly | 2015-04-29 | 3 | -20/+10 |
| | | | | |||||
| * | | | cmDefinitions: Make ClosureKeys API vector-based. | Stephen Kelly | 2015-04-29 | 3 | -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 Kelly | 2015-04-29 | 2 | -11/+1 |
| | | | | |||||
| * | | | cmDefinitions: Replace ClosureKeys recursion with looping. | Stephen Kelly | 2015-04-29 | 1 | -14/+14 |
| | | | | |||||
| * | | | cmDefinitions: Change LocalKeys to return a vector. | Stephen Kelly | 2015-04-29 | 3 | -9/+10 |
| | | | | | | | | | | | | | | | | This is more efficient and we lose nothing. | ||||
| * | | | cmDefinitions: Externalize the Set logic. | Stephen Kelly | 2015-04-29 | 2 | -11/+10 |
| | | | | |||||
| * | | | cmDefinitions: Add an Erase method. | Stephen Kelly | 2015-04-29 | 2 | -0/+7 |
| | | | | |||||
| * | | | cmMakefile: Use the Internal class to enclose the VarStack. | Stephen Kelly | 2015-04-29 | 1 | -46/+95 |
| | | | | | | | | | | | | | | | | Put knowledge of the implementation details in one place. | ||||
* | | | | Merge topic 'if-IN_LIST' | Brad King | 2015-04-30 | 4 | -1/+44 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | aed6239e if: Implement new IN_LIST operator |