| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
They don't print things that are important in the modern implementation.
|
|
|
|
| |
Allow the name to be used for something more-suitable.
|
|
|
|
|
| |
Make the existing method a private overload. All external callers
invoke the method with only one argument.
|
|
|
|
|
| |
It is never read externally. The CollapseFullPath removed in this commit
is a repeat of a similar call inside ReadListFile.
|
|\
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| | |
Move wrapping existing code from cmMakefile, and simplify the
implementation there.
|
| | |
|
| |
| |
| |
| |
| | |
This is cheaper than getting the whole backtrace, and the cmListFileBacktrace
will not always be composed of cmListFileContext objects.
|
|/ |
|
|
|
|
| |
Add policy CMP0061 to maintain compatibility for existing projects.
|
|\
| |
| |
| |
| |
| | |
42142d4f cmMakefile: Inline Intialize method in constructor
f39f0c0a cmMakefile: Initialize SuppressWatches member before use
|
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
Create snapshots for buildsystem directories during configure time.
This class will be extended in follow up commits to snapshot
all values in the cmState.
|
|
|
|
|
| |
Move the contents of cmMakeile::SetLocalGenerator to the Initialize
method.
|
| |
|
|
|
|
| |
There is no need to duplicate these on every cmMakefile.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Match names used in CMake code.
|
| |
| |
| |
| | |
Match the names used in cmake code.
|
| | |
|
| | |
|
|/
|
|
|
| |
It is no longer necessary to be able to copy it. Additionally, this
gives us one less reason to copy cmTarget.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
These are different from other ListFiles in that a project() command is
required if it is top-level.
|
|
|
|
|
|
| |
There is no reason for this to be a responsibility of
ReadListFile. Additionally, the only user of it already computes
it itself.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
f081c5bd cmState: Move CacheEntryType enum from cmCacheManager.
f71fdf0e cmMakefile: Remove unused CacheManager accessor.
ff7169a0 Port to cmState.
a6b1ad13 Introduce cmState class.
|
| | |
|
| |
| |
| |
| | |
Remove unneeded friend declarations from cmCacheManager.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|/ |
|
|
|
|
|
| |
They are only used by legacy code. Inline them there to simplify
cmMakefile.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
They are only used by legacy code. Inline them there to simplify
cmMakefile.
|
| |
|
| |
|