summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
Commit message (Collapse)AuthorAgeFilesLines
* cmMakefile: Remove VarUsageStack.Stephen Kelly2015-05-191-2/+0
| | | | | | Store usage information in the cmDefintions value instead. We already pay for the memory as padding in the Def struct, so we might as well use it.
* cmMakefile: Use more suitable method name to log var usage.Stephen Kelly2015-05-191-1/+1
|
* cmMakefile: Move internal method to private scope.Stephen Kelly2015-05-191-2/+2
|
* cmMakefile: Remove Print() debugging facilities.Stephen Kelly2015-05-191-9/+0
| | | | They don't print things that are important in the modern implementation.
* cmMakefile: Rename method to something more appropriate.Stephen Kelly2015-05-191-1/+1
| | | | Allow the name to be used for something more-suitable.
* cmMakefile: Make the public ReadListFile method take one param.Stephen Kelly2015-05-191-6/+5
| | | | | Make the existing method a private overload. All external callers invoke the method with only one argument.
* cmMakefile: Remove CurrentListFile member.Stephen Kelly2015-05-191-10/+0
| | | | | It is never read externally. The CollapseFullPath removed in this commit is a repeat of a similar call inside ReadListFile.
* Merge topic 'use-std-unordered_map'Brad King2015-05-191-1/+13
|\ | | | | | | | | | | | | d7923b82 Use std::unordered_map instead of hash_map where available. 820777af Tests: Don't rely on ordering of targets in maps. 921d74d8 AutoGen: Don't iterate over a container while populating it.
| * Use std::unordered_map instead of hash_map where available.Stephen Kelly2015-05-181-1/+13
| |
* | cmListFileContext: Implement LessThanComparable.Stephen Kelly2015-05-181-20/+1
| | | | | | | | | | Move wrapping existing code from cmMakefile, and simplify the implementation there.
* | cmMakefile: Simplify CMP0054 handling.Stephen Kelly2015-05-181-2/+1
| |
* | cmMakefile: Add access to the top-level execution context.Stephen Kelly2015-05-181-0/+1
| | | | | | | | | | This is cheaper than getting the whole backtrace, and the cmListFileBacktrace will not always be composed of cmListFileContext objects.
* | cmMakefile: Replace deques with vectors.Stephen Kelly2015-05-181-3/+2
|/
* CTest: Stop telling 'make' to ignore errors with -iBrad King2015-05-121-0/+2
| | | | Add policy CMP0061 to maintain compatibility for existing projects.
* 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
|