summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'refactor-cmMakefile-constructor'Brad King2015-05-051-1/+0
|\ | | | | | | | | | | 42142d4f cmMakefile: Inline Intialize method in constructor f39f0c0a cmMakefile: Initialize SuppressWatches member before use
| * cmMakefile: Inline Intialize method in constructorBrad King2015-05-041-1/+0
| | | | | | | | | | | | Since commit 80909041 (cmMakefile: Disable copy constructor, 2015-04-18) the only call to cmMakefile::Initialize is in one constructor. Inline it and drop the separate method.
* | cmMakefile: Extract an accessor for the global generator.Stephen Kelly2015-05-031-0/+1
|/ | | | | | 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.
* cmState: Store the Current directories.Stephen Kelly2015-04-281-2/+0
|
* Introduce cmState::Snapshot.Stephen Kelly2015-04-281-1/+1
| | | | | | | Create snapshots for buildsystem directories during configure time. This class will be extended in follow up commits to snapshot all values in the cmState.
* cmMakefile: Require the localGenerator in the constructor.Stephen Kelly2015-04-281-8/+1
| | | | | Move the contents of cmMakeile::SetLocalGenerator to the Initialize method.
* cmMakefile: Inline SetHome* methods into last remaining caller.Stephen Kelly2015-04-281-11/+0
|
* cmMakefile: Delegate storage of Home dirs to the cmake class.Stephen Kelly2015-04-281-2/+0
| | | | There is no need to duplicate these on every cmMakefile.
* Merge topic 'clean-up-cmMakefile'Brad King2015-04-211-54/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8dc3a67c cmMakefile: Out-of-line the directory methods. 0f3c8cfa cmMakefile: Use method abstraction to access directories. b288a997 cmMakefile: Rename SetStart* directory API to SetCurrent*. 932d53bc cmMakefile: Remove redundant method duplication. 32b8f03a cmMakefile: Port users of GetStart* methods to new names. 54d6a918 cmMakefile: Rename GetCurrent{Output,Binary}Directory. 55d80d0a cmMakefile: Rename GetCurrent{,Source}Directory. b23cf06f cmake: Remove redundant start directories. fcf246ac cmMakefile: Populate Home directories on initialize. 8878bea7 cmake: Initialize Home directories on cmake for find-package mode. 044dc815 Use the Home directories from the cmake class where intended. d67e8f24 cmake: Fix directory used to find the cache 1ea085d1 cmMakefile: Initialize dir definitions early. f034bb2f Remove redundant calls to MakeStartDirectoriesCurrent. 3a68c323 cmMakefile: Fix wrong parameter names.
| * cmMakefile: Out-of-line the directory methods.Stephen Kelly2015-04-211-37/+4
| |
| * cmMakefile: Rename SetStart* directory API to SetCurrent*.Stephen Kelly2015-04-201-2/+2
| |
| * cmMakefile: Remove redundant method duplication.Stephen Kelly2015-04-201-8/+0
| |
| * cmMakefile: Rename GetCurrent{Output,Binary}Directory.Stephen Kelly2015-04-201-1/+1
| | | | | | | | Match names used in CMake code.
| * cmMakefile: Rename GetCurrent{,Source}Directory.Stephen Kelly2015-04-201-1/+1
| | | | | | | | Match the names used in cmake code.
| * cmMakefile: Initialize dir definitions early.Stephen Kelly2015-04-201-8/+0
| |
| * cmMakefile: Fix wrong parameter names.Stephen Kelly2015-04-201-3/+3
| |
* | cmMakefile: Disable copy constructor.Stephen Kelly2015-04-201-1/+2
|/ | | | | It is no longer necessary to be able to copy it. Additionally, this gives us one less reason to copy cmTarget.
* cmMakefile: Remove always-null first parameter to ReadListFile.Stephen Kelly2015-04-181-1/+0
|
* cmMakefile: Determine the file to read before calling Internal.Stephen Kelly2015-04-181-2/+2
|
* cmMakefile: Delegate ListFile reading to internal method.Stephen Kelly2015-04-181-0/+6
|
* cmMakefile: Add wrapper for reading listfiles which have an origin.Stephen Kelly2015-04-181-0/+2
| | | | | | Such files are delegates from other files, and so they set the CMAKE_PARENT_LIST_FILE to the originator. They also may set a policy scope.
* cmMakefile: Add a method for processing buildsystem files.Stephen Kelly2015-04-181-1/+4
| | | | | These are different from other ListFiles in that a project() command is required if it is top-level.
* cmMakefile: Remove fullPath parameter from ReadListFile.Stephen Kelly2015-04-181-1/+0
| | | | | | There is no reason for this to be a responsibility of ReadListFile. Additionally, the only user of it already computes it itself.
* Port cmCommand consumers to cmState.Stephen Kelly2015-04-151-8/+0
|
* Move property definition to cmState.Stephen Kelly2015-04-131-3/+0
|
* Merge topic 'introduce-cmState'Brad King2015-04-131-3/+3
|\ | | | | | | | | | | | | | | f081c5bd cmState: Move CacheEntryType enum from cmCacheManager. f71fdf0e cmMakefile: Remove unused CacheManager accessor. ff7169a0 Port to cmState. a6b1ad13 Introduce cmState class.
| * cmState: Move CacheEntryType enum from cmCacheManager.Stephen Kelly2015-04-131-1/+2
| |
| * cmMakefile: Remove unused CacheManager accessor.Stephen Kelly2015-04-131-2/+0
| | | | | | | | Remove unneeded friend declarations from cmCacheManager.
| * Introduce cmState class.Stephen Kelly2015-04-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At this point, it is an interface to the cache. It will be extended to be a universal interface for access to and manipulation of configuration-time data (defintions, properties on targets, directories, source files etc). This will allow porting all command implementations away from the cmMakefile and cmTarget classes, and result in something more-purely related to configuration-time processing of cmake commands. That should serve at least the following goals: * Split the CMake implementation more definitively into three stages: Configuration, computation and generation, and be able to implement each optimally for memory access patterns etc. * Make better IDE integration possible by making more configuration data available. * Make it possiblte to use a smaller library than CMakeLib.a in cpack and ctest, resulting in smaller executables. * Make it possible to run the configure step multiple times in the same CMake run (#14539). Manage its lifetime in the cmake class, and add a convenience accessor to cmMakefile.
* | cmMakefile: Remove unused method.Stephen Kelly2015-04-121-1/+0
| |
* | cmMakefile: Out-of-line Home directory accessors.Stephen Kelly2015-04-121-8/+2
|/
* cmMakefile: Remove cache version accessors.Stephen Kelly2015-04-071-8/+0
| | | | | They are only used by legacy code. Inline them there to simplify cmMakefile.
* Revert topic 'refactor-cache-api'Brad King2015-04-071-0/+8
| | | | | | This topic was never tested without some follow-up commits. The GetCacheEntryValue API returns a pointer to memory freed on return. It will have to be revised along with the rest of the original topic.
* cmMakefile: Remove cache version accessors.Stephen Kelly2015-04-061-8/+0
| | | | | They are only used by legacy code. Inline them there to simplify cmMakefile.
* cmCacheManager: Remove unused methodStephen Kelly2015-04-051-3/+0
|
* cmMakefile: Remove one wrong and one insufficiently helpful comment.Stephen Kelly2015-04-041-3/+2
|
* cmMakefile: Remove bogus comment.Stephen Kelly2015-04-041-4/+0
|
* cmMakefile: Remove unused PreOrder member.Stephen Kelly2015-04-011-10/+2
| | | | Remove references from dependendent API.
* cmMakefile: Remove unused Prefix member.Stephen Kelly2015-04-011-2/+0
| | | | | Unused since it was added in commit 1f42f521 (NEW: move from tools and config to create CMake, 2000-08-29).
* cmMakefile: Remove unused SubDirectoryOrder member.Stephen Kelly2015-04-011-2/+0
| | | | | The last use was removed in v2.4.0~2054 (ENH: add support for out of source source, 2005-03-14)
* cmMakefile: Remove AddExtraDirectory method.Stephen Kelly2015-04-011-6/+0
| | | | It has no effect.
* cmMakefile: Remove unused method.Stephen Kelly2015-04-011-6/+0
| | | | | The last user was removed in commit v2.4.0~1516 (ENH: removed unused files, 2005-06-20).
* cmMakefile: Remove bogus comment.Stephen Kelly2015-04-011-4/+0
|
* cmMakefile: Store macro list in a vector not in a map.Stephen Kelly2015-02-211-3/+2
| | | | | The signature was computed (incorrectly) and stored as the map value, but never used. Remove it now.
* Merge topic 'cmStandardIncludes-cleanup'Brad King2015-02-101-0/+1
|\ | | | | | | | | | | | | af65da0a cmStandardIncludes: Remove list include. e848cc50 cmStandardIncludes: Remove deque include. 5fea6898 cmStandardIncludes: Remove some VS6 workarounds.
| * cmStandardIncludes: Remove deque include.Stephen Kelly2015-02-061-0/+1
| | | | | | | | Include it only where used.
* | cmMakefile: Remove ExpandSourceListArguments.Stephen Kelly2015-02-051-11/+0
|/
* Merge topic 'fix-COMPILE_FEATURES-genex'Brad King2015-01-151-3/+3
|\ | | | | | | | | | | 45ec182d Features: Fix the COMPILE_FEATURES genex for unavailable features. 2bead0eb cmMakefile: Rename a method to what it really does.
| * cmMakefile: Rename a method to what it really does.Stephen Kelly2015-01-121-3/+3
| | | | | | | | The method does not test availability of compile features.
* | cmMakefile: store the number of last matches in a CMake varBen Boeckel2014-12-031-0/+3
| | | | | | | | | | | | | | | | | | With PushScope and PopScope, keeping track of another bit of data for each scope isn't easy. Instead, store it as another CMake variable so it gets implicitly tracked along with everything else. This works in a revert of commit 7d674b5f0b28a610333644d417c2e8cb796cc9e4.