summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmMakefile: Skip Global targets for CMP0019 evaluation.Stephen Kelly2015-08-281-1/+2
|
* cmLocalGenerator: Create from already-constructed cmMakefile.Stephen Kelly2015-08-281-5/+4
| | | | Don't manage the lifetime of the cmMakefile with cmLocalGenerator.
* cmGlobalGenerator: Remove MakeLocalGenerator method.Stephen Kelly2015-08-281-1/+1
| | | | Inline implementation to callers.
* cmMakefile: Remove cmLocalGenerator member.Stephen Kelly2015-08-281-5/+6
|
* cmLocalGenerator: Remove Parent pointer.Stephen Kelly2015-08-281-1/+1
|
* Merge topic 'minor-cleanups'Brad King2015-08-271-16/+10
|\ | | | | | | | | | | | | | | | | | | | | 7f551b4f cmGlobalGenerator: Implement VS6 check without virtual method. cd6293cd cmMakefile: Fix style. de6b2895 cmTarget: Remove vestigal method declaration. e35ee02d cmTarget: Fix indentation. 00f2298f Reduce uses of cmMakefile::GetGlobalGenerator. 6254ba95 cmMakefile: Remove Internal class. cf0a78dc cmGeneratorTarget: Issue messages through the local generator.
| * cmMakefile: Fix style.Stephen Kelly2015-08-251-1/+2
| |
| * cmMakefile: Remove Internal class.Stephen Kelly2015-08-251-15/+8
| | | | | | | | Move only remaining state to the direct class.
* | cmState: Move ProjectName from cmMakefile.Stephen Kelly2015-08-251-3/+3
| |
* | cmMakefile: Use std::string in ProjectName API.Stephen Kelly2015-08-251-2/+2
| |
* | cmMakefile: Out-of-line GetProjectName.Stephen Kelly2015-08-251-0/+4
|/
* cmState: Move directory Properties from cmMakefile.Stephen Kelly2015-08-241-139/+8
|
* cmMakefile: Inline GetDefinitions into GetProperty.Stephen Kelly2015-08-241-1/+5
| | | | It will soon move to cmState.
* Merge topic 'cmState-definitions'Brad King2015-08-241-108/+27
|\ | | | | | | | | | | | | | | | | | | bff27391 cmState: Host variable definitions. 6954c893 cmState: Add a VariableScope snapshot type. 1fc645bd cmState: Add a Base snapshot type. 0f070dd3 cmMakefile: Decouple the container of cmDefinitions from scoping logic. 25e04ddf cmDefinitions: Implement in terms of cmLinkedTree. 4bbe261c cmMakefile: Extract InitializeVarScope method.
| * cmState: Host variable definitions.Stephen Kelly2015-08-231-148/+13
| |
| * cmState: Add a VariableScope snapshot type.Stephen Kelly2015-08-231-0/+14
| | | | | | | | Match the scopes currently used in cmMakefile for definitions.
| * cmMakefile: Decouple the container of cmDefinitions from scoping logic.Stephen Kelly2015-08-231-24/+56
| | | | | | | | Maintain a Parent tree node for writing to in RaiseScope.
| * cmDefinitions: Implement in terms of cmLinkedTree.Stephen Kelly2015-08-231-19/+22
| | | | | | | | | | | | | | Store the definitions in a cmLinkedTree in the cmMakefile. This can be moved to cmState and then the tree will provide snapshotting possibilities. It will also make the Closure copy created at the start of each cmMakefile unnecesarry.
| * cmMakefile: Extract InitializeVarScope method.Stephen Kelly2015-08-231-1/+6
| |
* | Fix iOS Bundle layouts (#15669)Gregor Jasny2015-08-241-0/+12
|/ | | | | | | | | | In contrast to Mac OS X App bundle layout the iOS one lacks the Contents/MacOSX structure. See also the Bundle Structures documentation in Mac Developer Library: https://developer.apple.com/library/mac/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html For now detect iOS targets by checking the SDK name/path.
* cmGlobalGenerator: Store a container of cmMakefiles.Stephen Kelly2015-08-071-0/+1
| | | | For use at configure-time.
* Merge topic 'cmState-policies'Brad King2015-08-061-98/+32
|\ | | | | | | | | | | | | | | | | | | | | | | | | 757a1f54 cmState: Move PolicyState from cmMakefile. 52dbe654 cmState: Record the end position of each directory. 65a5e0c6 cmLinkedTree: Add Clear API. 34835433 cmState: Add Type for policy scope. af0de01c cmState: Remove call stack parent tracking. 6ae8b30b cmMakefile: Move policy barriers inside cmState scopes. a5fc17b5 cmMakefile: Re-order policy entries and barriers. 0a01e6c6 cmState: Add Snapshot Type accessor. f0005bb4 Tests: Verify generate-time policy scope behavior.
| * cmState: Move PolicyState from cmMakefile.Stephen Kelly2015-08-021-84/+9
| | | | | | | | | | Implement lexical scope checking in terms of the state stack instead of barriers.
| * cmState: Add Type for policy scope.Stephen Kelly2015-08-021-0/+11
| |
| * cmMakefile: Move policy barriers inside cmState scopes.Stephen Kelly2015-08-011-22/+21
| |
| * cmMakefile: Re-order policy entries and barriers.Stephen Kelly2015-08-011-12/+11
| | | | | | | | Make the barriers surround the entries.
* | Merge topic 'refactor-evaluation-files'Brad King2015-08-061-0/+21
|\ \ | | | | | | | | | | | | | | | 12c3f248 cmGeneratorExpressionEvaluationFile: Require generator context. 6c0e9ee2 cmMakefile: Store EvaluationFiles.
| * | cmGeneratorExpressionEvaluationFile: Require generator context.Stephen Kelly2015-08-011-1/+1
| | | | | | | | | | | | | | | Avoid storing a cmMakefile as a member, and evaluate in the context of a cmLocalGenerator instead.
| * | cmMakefile: Store EvaluationFiles.Stephen Kelly2015-08-011-0/+21
| |/ | | | | | | | | Relieve the cmGlobalGenerator of this responsibility. Evaluate the generator expressions in the context of the cmLocalGenerator.
* | Merge topic 'fix-missing-subdir-error'Brad King2015-08-061-2/+2
|\ \ | |/ |/| | | | | c4d2f64f add_subdirectory: Fix error message on missing CMakeLists.txt (#15680)
| * add_subdirectory: Fix error message on missing CMakeLists.txt (#15680)Brad King2015-08-041-2/+2
| | | | | | | | | | | | Refactoring in commit v3.3.0-rc1~76^2 (cmMakefile: Handle CMP0014 before configuring the generator, 2015-05-14) accidentally left the file name "/CMakeLists.txt" in the error message. Remove it and add a test case.
| * Merge branch 'fix-function-missing-end' into releaseBrad King2015-06-221-1/+0
| |\
* | | cmMakefile: Simplify generate-time cmGeneratorTarget creation.Stephen Kelly2015-07-291-0/+1
| | |
* | | cmMakefile: Move method out of line.Stephen Kelly2015-07-291-0/+5
| | |
* | | cmMakefile: Return target from all AddUtilityCommand signaturesBrad King2015-07-291-11/+12
| | |
* | | Merge topic 'trace-expand'Brad King2015-07-271-2/+14
|\ \ \ | | | | | | | | | | | | | | | | 594bafe5 cmake: add --trace-expand option
| * | | cmake: add --trace-expand optionBen Boeckel2015-07-231-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The --trace option is helpful, but sometimes, what you're looking for is deep under many layers of function calls and figuring out what instance of the function call you're looking at is tedious to determine (usually involving patching and message()). Instead, add a --trace-expand option to trace while expanding commands into what CMake actually sees.
* | | | Merge topic 'policy-refactor'Brad King2015-07-271-58/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8329fc01 cmPolicies: Replace unused include. 5447ca1a cmMakefile: Remove CMP0001 handling to callers. d0dcce15 cmMakefile: Simplify computation of ancient policy status. 658bfc5c cmMakefile: Remove redundant condition from policy status computation. f4a25874 cmMakefile: Inline internal policy status method. 3c45471c cmPolicies: Enable RVO for internal method. 71e69fc9 cmPolicies: Store only state that users can set. 84e18056 cmMakefile: Convert recursion to loop.
| * | | | cmMakefile: Remove CMP0001 handling to callers.Stephen Kelly2015-07-251-19/+0
| | | | |
| * | | | cmMakefile: Simplify computation of ancient policy status.Stephen Kelly2015-07-251-14/+7
| | | | |
| * | | | cmMakefile: Remove redundant condition from policy status computation.Stephen Kelly2015-07-251-5/+0
| | | | |
| * | | | cmMakefile: Inline internal policy status method.Stephen Kelly2015-07-251-29/+18
| | | | |
| * | | | cmPolicies: Enable RVO for internal method.Stephen Kelly2015-07-251-2/+4
| | | | |
| * | | | cmMakefile: Convert recursion to loop.Stephen Kelly2015-07-251-12/+10
| |/ / /
* | | | cmMakefile: Move the InitializeFromParent methodStephen Kelly2015-07-251-2/+2
| | | |
* | | | cmState: Host buildsystem properties for directories.Stephen Kelly2015-07-251-134/+36
| | | |
* | | | cmMakefile: Don't clear buildsystem properties.Stephen Kelly2015-07-221-33/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead put a sentinal empty entry in the container when a property is overwritten. Use this sentinal when reading from the containers. Use iterator::operator+(size_type) directly instead of std::advance, because this only really makes sense if using RandomAccessIterators.
* | | | cmMakefile: Use Ranges for buildsystem property access.Stephen Kelly2015-07-221-16/+12
| | | | | | | | | | | | | | | | Don't return vector copies.
* | | | cmMakefile: Split accessors for include directories and origins.Stephen Kelly2015-07-221-14/+10
| | | |
* | | | cmMakefile: Split accessors for compile options and origins.Stephen Kelly2015-07-221-12/+8
| | | |