summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move property initialization to cmState.Stephen Kelly2015-04-152-8/+2
|
* Move global properties to cmState.Stephen Kelly2015-04-154-41/+70
|
* cmake: Remove the happy global property scope pattern.Stephen Kelly2015-04-157-18/+9
| | | | | | | | | Global properties are already global in scope, so remove the overload for specifying it and port users of the API. The call from cmMakefile::GetProperty can be simplified because the scope is only used during chaining, and there is no further chaining after processing global properties.
* cmake: Remove unused cmCommand methods.Stephen Kelly2015-04-152-42/+0
|
* Port cmCommand consumers to cmState.Stephen Kelly2015-04-1511-37/+18
|
* cmState: Move cmCommand-related methods from cmake class.Stephen Kelly2015-04-134-82/+128
|
* cmake: Simplify command clean up loop.Stephen Kelly2015-04-131-13/+6
|
* cmake: Simplify RemoveUnscriptableCommands algorithm.Stephen Kelly2015-04-132-23/+8
| | | | Remove obsolete RemoveCommand method.
* cmState: Move try_compile state from cmake class.Stephen Kelly2015-04-133-8/+22
|
* cmake: Get enabled languages from cmState.Stephen Kelly2015-04-131-8/+3
| | | | | The check for a global generator is redundant - the enabled languages are only populated by the global generator.
* cmGlobalGenerator: Delegate storage of enabled languages to cmState.Stephen Kelly2015-04-133-12/+36
|
* Move property definition to cmState.Stephen Kelly2015-04-1312-97/+87
|
* Merge topic 'introduce-cmState'Brad King2015-04-1357-396/+595
|\ | | | | | | | | | | | | | | 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-1350-266/+239
| |
| * cmMakefile: Remove unused CacheManager accessor.Stephen Kelly2015-04-133-9/+0
| | | | | | | | Remove unneeded friend declarations from cmCacheManager.
| * Port to cmState.Stephen Kelly2015-04-1319-151/+156
| |
| * Introduce cmState class.Stephen Kelly2015-04-139-0/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge topic 'cmake-cleanups'Brad King2015-04-1320-157/+185
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 07d44d63 cmake: Remove confusing duplication. ea819b29 cmMakefile: Remove unused method. 6ad86c7f cmMakefile: Remove bad comment. fca2b542 cmMakefile: Internalize setting of CMakeInstance on Properties. 7bb4e3db cmMakefile: Out-of-line Home directory accessors. 6241253a cmake: Out-of-line Home and Start directory methods. 0ee3ccb3 cmake: Fix variable name bugs. 57dd094e Use vector, not list for cmCommand storage. 6deb43e6 Remove some files which do not need to be in BootstrapCommands. ecdb1b3b Add some missing includes. 04b307b9 cmake: Simplify CommandExists method. 0f1f324b cmake: Rename oddly named variables. 275185ac cmake: Constify GetCommand method. c57f086a cmake: Don't lower-case a string needlessly. 23368c9b cmake: Use make_pair instead of Foo::value_type. 14c70b8c cmake: out-of-line try compile state methods. ...
| * | cmake: Remove confusing duplication.Stephen Kelly2015-04-121-4/+0
| | |
| * | cmMakefile: Remove unused method.Stephen Kelly2015-04-122-28/+0
| | |
| * | cmMakefile: Remove bad comment.Stephen Kelly2015-04-121-1/+0
| | |
| * | cmMakefile: Internalize setting of CMakeInstance on Properties.Stephen Kelly2015-04-122-1/+1
| | |
| * | cmMakefile: Out-of-line Home directory accessors.Stephen Kelly2015-04-122-8/+12
| | |
| * | cmake: Out-of-line Home and Start directory methods.Stephen Kelly2015-04-122-26/+38
| | |
| * | cmake: Fix variable name bugs.Stephen Kelly2015-04-122-5/+5
| | |
| * | Use vector, not list for cmCommand storage.Stephen Kelly2015-04-126-10/+10
| | |
| * | Remove some files which do not need to be in BootstrapCommands.Stephen Kelly2015-04-124-3/+7
| | |
| * | Add some missing includes.Stephen Kelly2015-04-121-0/+2
| | |
| * | cmake: Simplify CommandExists method.Stephen Kelly2015-04-121-2/+1
| | |
| * | cmake: Rename oddly named variables.Stephen Kelly2015-04-121-6/+6
| | |
| * | cmake: Constify GetCommand method.Stephen Kelly2015-04-122-3/+3
| | |
| * | cmake: Don't lower-case a string needlessly.Stephen Kelly2015-04-121-1/+1
| | |
| * | cmake: Use make_pair instead of Foo::value_type.Stephen Kelly2015-04-121-2/+2
| | | | | | | | | | | | It works with all supported compilers.
| * | cmake: out-of-line try compile state methods.Stephen Kelly2015-04-122-4/+12
| | |
| * | cmake: Remove duplicate condition.Stephen Kelly2015-04-121-4/+0
| | |
| * | cmake: Remove DebugConfigs member.Stephen Kelly2015-04-124-35/+19
| | | | | | | | | | | | It adds needless complexity to global property handling.
| * | Test expected value of DEBUG_CONFIGURATIONS global property.Stephen Kelly2015-04-123-0/+53
| | |
| * | cmake: Remove method with no external users.Stephen Kelly2015-04-122-8/+5
| | | | | | | | | | | | Port internal users to access the member.
| * | cmake: Don't set the CMakeInstance on the Properties member.Stephen Kelly2015-04-121-1/+0
| | | | | | | | | | | | | | | There is no need, as global properties have nowhere to chain up to.
| * | cmGlobalGenerator: Store languages as vector, not map.Stephen Kelly2015-04-122-8/+11
| | | | | | | | | | | | The second component of the map is never used.
* | | Merge branch 'release'Brad King2015-04-130-0/+0
|\ \ \
| * \ \ Merge branch 'custom-command-multiple-outputs' into releaseBrad King2015-04-105-31/+130
| |\ \ \
| * \ \ \ Merge branch 'fix-libarchive-mktemp' into releaseBrad King2015-04-091-3/+5
| |\ \ \ \
| * \ \ \ \ Merge branch 'fix-liblzma-optimize' into releaseBrad King2015-04-091-0/+10
| |\ \ \ \ \
| | * | | | | liblzma: Disable GNU 3.3 compiler optimizationsBrad King2015-04-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The GNU 3.3 optimizer causes bad behavior in liblzma, so disable it.
| | * | | | | liblzma: Disable XL compiler optimizationsBrad King2015-04-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Somehow the XL compiler optimizations create incorrect behavior in liblzma and lead to crashes or truncated output during compression.
| * | | | | | Merge branch 'fix-liblzma-access-alignment' into releaseBrad King2015-04-011-1/+7
| |\ \ \ \ \ \ | | |/ / / / /
| * | | | | | Merge branch 'curl-cygwin-no-windows' into releaseBrad King2015-03-261-2/+8
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'FindMFC-CMP0054' into releaseBrad King2015-03-261-1/+1
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'file-LOCK-close' into releaseBrad King2015-03-262-0/+7
| |\ \ \ \ \ \ \ \