summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Move property definition to cmState.Stephen Kelly2015-04-131-15/+0
|
* Merge topic 'introduce-cmState'Brad King2015-04-131-23/+24
|\ | | | | | | | | | | | | | | 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-8/+7
| |
| * cmMakefile: Remove unused CacheManager accessor.Stephen Kelly2015-04-131-5/+0
| | | | | | | | Remove unneeded friend declarations from cmCacheManager.
| * Port to cmState.Stephen Kelly2015-04-131-13/+14
| |
| * Introduce cmState class.Stephen Kelly2015-04-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-27/+0
| |
* | cmMakefile: Remove bad comment.Stephen Kelly2015-04-121-1/+0
| |
* | cmMakefile: Internalize setting of CMakeInstance on Properties.Stephen Kelly2015-04-121-0/+1
| |
* | cmMakefile: Out-of-line Home directory accessors.Stephen Kelly2015-04-121-0/+10
|/
* cmCacheManager: Port consumers to non-iterator API.Stephen Kelly2015-04-081-8/+6
| | | | | This simplifies reasoning about the follow-up commit which ports away from cmCacheManager to a class with the same method names.
* cmMakefile: Port away from CacheEntry.Initialized.Stephen Kelly2015-04-081-6/+7
| | | | The API has no other external users.
* cmCacheManager: Rename GetCacheValue to GetInitializedCacheValue.Stephen Kelly2015-04-071-4/+5
| | | | | Being initialized is a requirement for this method to return something, and is what differentiates it from using GetIterator with it.GetValue.
* cmMakefile: Remove cache version accessors.Stephen Kelly2015-04-071-10/+0
| | | | | They are only used by legacy code. Inline them there to simplify cmMakefile.
* cmMakefile: Simplify GetDefinitions implementation.Stephen Kelly2015-04-071-6/+6
|
* Revert topic 'refactor-cache-api'Brad King2015-04-071-22/+32
| | | | | | 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.
* cmCacheManager: Port consumers to non-iterator API.Stephen Kelly2015-04-061-8/+6
| | | | | This simplifies reasoning about the follow-up commit which ports away from cmCacheManager to a class with the same method names.
* cmMakefile: Port away from CacheEntry.Initialized.Stephen Kelly2015-04-061-6/+7
| | | | The API has no other external users.
* cmCacheManager: Rename GetCacheValue to GetInitializedCacheValue.Stephen Kelly2015-04-061-4/+5
| | | | | Being initialized is a requirement for this method to return something, and is what differentiates it from using GetIterator with it.GetValue.
* cmMakefile: Remove cache version accessors.Stephen Kelly2015-04-061-10/+0
| | | | | They are only used by legacy code. Inline them there to simplify cmMakefile.
* cmMakefile: Simplify GetDefinitions implementation.Stephen Kelly2015-04-061-6/+6
|
* cmCacheManager: Remove unused methodStephen Kelly2015-04-051-5/+0
|
* Do not treat DEFINITIONS as a built-in directory propertyStephen Kelly2015-04-021-2/+13
| | | | | | | | Add policy CMP0059 to cover this change. The property has been deprecated since CMake 2.4 anyway. This will help clean up cmMakefile -- the DefineFlagsOrig member should not need to exist.
* cmMakefile: Remove unused PreOrder member.Stephen Kelly2015-04-011-6/+3
| | | | Remove references from dependendent API.
* cmMakefile: Remove unused Prefix member.Stephen Kelly2015-04-011-1/+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-1/+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.
* Fix warnings from clang scanbuild.Bill Hoffman2015-03-251-2/+6
|
* Merge topic 'cmAlgorithms-cleanup'Brad King2015-03-121-0/+1
|\ | | | | | | | | | | | | 95dd238f cmRemoveDuplicates: Fix iterator -> const_iterator. 4448f175 cmInstalledFile: Move Property implementation out of line. 7916d7ba Include cmAlgorithms where it is used.
| * Include cmAlgorithms where it is used.Stephen Kelly2015-03-101-0/+1
| |
* | add_custom_command: Diagnose MAIN_DEPENDENCY limitation.Nils Gladitz2015-03-091-0/+27
|/ | | | | The new policy CMP0057 diagnoses reuse of the same MAIN_DEPENDENCY across multiple custom commands.
* Merge topic 'minor-cleanups'Brad King2015-02-231-16/+6
|\ | | | | | | | | | | | | | | c021f59c cmMakefile: Store macro list in a vector not in a map. 2d130896 cmMakefile: Fix list of macros generation. f1969234 cmFunctionCommand: Remove ineffectual code. 1116698a cmTarget: Don't needlessly clear vectors in the destructor.
| * cmMakefile: Store macro list in a vector not in a map.Stephen Kelly2015-02-211-16/+6
| | | | | | | | | | The signature was computed (incorrectly) and stored as the map value, but never used. Remove it now.
| * cmMakefile: Fix list of macros generation.Stephen Kelly2015-02-211-1/+1
| | | | | | | | | | It was broken by commit 7ee56f03 (Convert loops into the commonly used pattern., 2015-01-17).
* | Convert some raw loops to cmWrap.Stephen Kelly2015-02-201-7/+1
| |
* | cmMakefile: Add flag to result and manipulate in place.Stephen Kelly2015-02-181-5/+5
| | | | | | | | | | Rather than creating a string, manipulating it, and then copying it to the result.
* | cmMakefile: Replace two loops with std::replace.Stephen Kelly2015-02-181-13/+2
| |
* | cmMakefile: Replace loop with composed algorithm.Stephen Kelly2015-02-181-12/+5
|/
* Replace common loop pattern with cmJoinStephen Kelly2015-02-111-27/+3
|
* Convert loops into the commonly used pattern.Stephen Kelly2015-02-111-21/+13
|
* 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 list include.Stephen Kelly2015-02-061-0/+1
| | | | | | | | Include it only where used.
* | cmMakefile: Remove ExpandSourceListArguments.Stephen Kelly2015-02-051-13/+0
|/
* Features: Define meaning for no language standard defaultBrad King2015-01-291-2/+44
| | | | | | | | | | | | Define an empty string in CMAKE_<LANG>_STANDARD_DEFAULT to mean that the toolchain has no notion of lanuage standard levels. In this case the <LANG>_STANDARD[_REQUIRED] properties will have no effect. Update the RunCMake.CompileFeatures test to exclude the LinkImplementationFeatureCycle test when there is no standard default. It can never fail because no use of specific features will adjust the CXX_STANDARD level required for any target since the standard levels have no meaning in this case.
* Replace foo.size() pattern with !foo.empty().Stephen Kelly2015-01-181-4/+4
|
* Replace 'foo.size() == 0' pattern with foo.empty().Stephen Kelly2015-01-181-1/+1
|
* Replace 'foo.size() > 0' pattern with !foo.empty().Stephen Kelly2015-01-181-1/+1
|
* Merge topic 'delete-algorithm'Brad King2015-01-151-39/+7
|\ | | | | | | | | | | | | | | 65b81da4 cmVariableWatch: Use the cmDeleteAll algorithm with for_each. 30d2de9a cmGeneratorExpressionEvaluator: Replace own algorithm with cmDeleteAll. 4a6e795b Use the cmDeleteAll algorithm instead of trivial raw loops. abb4a678 Add a generic algorithm for deleting items in a container.
| * Use the cmDeleteAll algorithm instead of trivial raw loops.Stephen Kelly2015-01-131-39/+7
| |
* | Merge topic 'fix-COMPILE_FEATURES-genex'Brad King2015-01-151-5/+6
|\ \ | |/ |/| | | | | | | 45ec182d Features: Fix the COMPILE_FEATURES genex for unavailable features. 2bead0eb cmMakefile: Rename a method to what it really does.