summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmCacheManager: Port consumers to non-iterator API.Stephen Kelly2015-04-0813-115/+117
| | | | | This simplifies reasoning about the follow-up commit which ports away from cmCacheManager to a class with the same method names.
* Port QtDialog to non-iterator cache API.Stephen Kelly2015-04-081-32/+40
|
* Port CursesDialog to non-iterator cache API.Stephen Kelly2015-04-083-76/+110
|
* cmMakefile: Port away from CacheEntry.Initialized.Stephen Kelly2015-04-081-6/+7
| | | | The API has no other external users.
* cmCacheManager: Add non-iterator-based API.Stephen Kelly2015-04-081-0/+75
| | | | | | The iterator pattern is an unusual one for CMake, and it hinders refactoring all configuration-time data manipulation into a single class.
* cmCacheManager: Return a C string from GetValue.Stephen Kelly2015-04-081-1/+1
| | | | | | | This is for consistency with other CMake access interfaces such as definitions and properties which use a null value as a 'not present' value. It is source compatible with existing callers, and it returns a pointer into actual real cache entry storage.
* cmCacheManager: Rename GetCacheValue to GetInitializedCacheValue.Stephen Kelly2015-04-078-37/+51
| | | | | Being initialized is a requirement for this method to return something, and is what differentiates it from using GetIterator with it.GetValue.
* Add API for cache loading, deleting and saving to the cmake class.Stephen Kelly2015-04-079-21/+61
| | | | | Migrate existing users of the CacheManager API to use the new API. The CacheManager will be going away soon.
* cmMakefile: Remove cache version accessors.Stephen Kelly2015-04-074-22/+8
| | | | | They are only used by legacy code. Inline them there to simplify cmMakefile.
* cmMakefile: Simplify GetDefinitions implementation.Stephen Kelly2015-04-071-6/+6
|
* Merge topic 'refactor-cache-api'Brad King2015-04-0729-471/+311
|\ | | | | | | | | 3347c5e4 Revert topic 'refactor-cache-api'
| * Revert topic 'refactor-cache-api'Brad King2015-04-0729-471/+311
| | | | | | | | | | | | 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.
* | Merge topic 'refactor-cache-api'Brad King2015-04-0729-311/+471
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | 9410e24a cmCacheManager: Port consumers to non-iterator API. 7b7ae3b1 Port QtDialog to non-iterator cache API. 228c629c Port CursesDialog to non-iterator cache API. 2e50f5e7 cmMakefile: Port away from CacheEntry.Initialized. e6224367 cmCacheManager: Add non-iterator-based API. 9ada4c04 cmCacheManager: Rename GetCacheValue to GetInitializedCacheValue. 1fe7f24c Add API for cache loading, deleting and saving to the cmake class. 08c642c6 cmMakefile: Remove cache version accessors. cec8f97e cmMakefile: Simplify GetDefinitions implementation.
| * cmCacheManager: Port consumers to non-iterator API.Stephen Kelly2015-04-0613-115/+117
| | | | | | | | | | This simplifies reasoning about the follow-up commit which ports away from cmCacheManager to a class with the same method names.
| * Port QtDialog to non-iterator cache API.Stephen Kelly2015-04-061-32/+40
| |
| * Port CursesDialog to non-iterator cache API.Stephen Kelly2015-04-063-76/+110
| |
| * cmMakefile: Port away from CacheEntry.Initialized.Stephen Kelly2015-04-061-6/+7
| | | | | | | | The API has no other external users.
| * cmCacheManager: Add non-iterator-based API.Stephen Kelly2015-04-061-0/+75
| | | | | | | | | | | | The iterator pattern is an unusual one for CMake, and it hinders refactoring all configuration-time data manipulation into a single class.
| * cmCacheManager: Rename GetCacheValue to GetInitializedCacheValue.Stephen Kelly2015-04-068-37/+51
| | | | | | | | | | Being initialized is a requirement for this method to return something, and is what differentiates it from using GetIterator with it.GetValue.
| * Add API for cache loading, deleting and saving to the cmake class.Stephen Kelly2015-04-069-21/+61
| | | | | | | | | | Migrate existing users of the CacheManager API to use the new API. The CacheManager will be going away soon.
| * cmMakefile: Remove cache version accessors.Stephen Kelly2015-04-064-22/+8
| | | | | | | | | | They are only used by legacy code. Inline them there to simplify cmMakefile.
| * cmMakefile: Simplify GetDefinitions implementation.Stephen Kelly2015-04-061-6/+6
| |
* | Merge topic 'vs-compiler-feature-2013-update'Brad King2015-04-072-8/+17
|\ \ | | | | | | | | | | | | | | | ecb1d5b4 Features: VS 2013 Update 3 supports initializer lists (#15494) 827309af Tests: Fix CompileFeatures cxx_generalized_initializers example
| * | Features: VS 2013 Update 3 supports initializer lists (#15494)Brad King2015-04-062-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 2013 originally claimed to support initializer lists but a bug was found in which it generated bad code silently. For this reason we previously considered support to not be present. However, Update 3 adds a hard error on cases that previously generated bad code, so it is now safe to use initializer lists with VS 2013 Update 3 or greater. At worst a compiler error will be issued in the cases that do not work, but that is no different from any other compiler-specific workaround a project code may need.
| * | Tests: Fix CompileFeatures cxx_generalized_initializers exampleBrad King2015-04-061-2/+6
| |/ | | | | | | | | | | | | | | | | The only reason this failed to compile on VS 2013 was because the compiler uses different initializer_list constructor argument types than our dummy implementation. The standard does not specify the non-default constructor argument types for initializer_list. Use a template to match any two-arg constructor a compiler might select (e.g. begin/end or begin/len). Use #error to preserve the error on VS 2013.
* | Merge topic 'minor-cleanups'Brad King2015-04-072-2/+0
|\ \ | | | | | | | | | | | | c22f6c15 Remove unused includes.
| * | Remove unused includes.Stephen Kelly2015-04-062-2/+0
| | |
* | | Merge topic 'gcov-module-coverage-exclude'Brad King2015-04-071-0/+6
|\ \ \ | | | | | | | | | | | | | | | | d2240390 Help: Add notes for topic 'gcov-module-coverage-exclude'
| * | | Help: Add notes for topic 'gcov-module-coverage-exclude'Brad King2015-04-061-0/+6
| | | |
* | | | CMake Nightly Date StampKitware Robot2015-04-071-1/+1
| |_|/ |/| |
* | | Merge topic 'minor-cleanups'Brad King2015-04-0610-81/+7
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c37cf7fa cmCacheManager: Remove unused method 64556e3d cmCacheManager: Remove unused overloads. 23bb5d22 cmCacheManager: Remove use of intermediate overload. 510562e3 cmGlobalGenerator: Don't fetch the cache manager in a loop. 629e9489 cmake: Clear member rather than explicit erase. d280bae9 cmake: Be clear that there is no chaining after global properties. 364c7ea1 cmake: Remove unused method. 47acfe1d cmake: Remove unused member. a469bf7b cmMakefile: Remove one wrong and one insufficiently helpful comment. 257c1649 cmListFile: Remove unused member. fe17092c cmMakefile: Remove bogus comment. 199b28ac Remove duplicate tag name.
| * | cmCacheManager: Remove unused methodStephen Kelly2015-04-054-27/+0
| | |
| * | cmCacheManager: Remove unused overloads.Stephen Kelly2015-04-052-24/+0
| | |
| * | cmCacheManager: Remove use of intermediate overload.Stephen Kelly2015-04-051-1/+2
| | |
| * | cmGlobalGenerator: Don't fetch the cache manager in a loop.Stephen Kelly2015-04-051-2/+1
| | | | | | | | | | | | It doesn't change from Makefile to Makefile.
| * | cmake: Clear member rather than explicit erase.Stephen Kelly2015-04-051-1/+1
| | |
| * | cmake: Be clear that there is no chaining after global properties.Stephen Kelly2015-04-051-3/+2
| | |
| * | cmake: Remove unused method.Stephen Kelly2015-04-051-3/+0
| | |
| * | cmake: Remove unused member.Stephen Kelly2015-04-052-2/+0
| | |
| * | cmMakefile: Remove one wrong and one insufficiently helpful comment.Stephen Kelly2015-04-041-3/+2
| | |
| * | cmListFile: Remove unused member.Stephen Kelly2015-04-042-11/+0
| | | | | | | | | | | | | | | It is written, but not read since commit v2.4.0~575 (ENH: Since list file cache does not make much sense any more ..., 2006-02-07).
| * | cmMakefile: Remove bogus comment.Stephen Kelly2015-04-041-4/+0
| | |
| * | Remove duplicate tag name.Stephen Kelly2015-04-041-1/+0
| | |
* | | Merge topic 'cpack-one-component-only'Brad King2015-04-062-2/+4
|\ \ \ | | | | | | | | | | | | | | | | 0ffd3534 CPack single component packaging
| * | | CPack single component packagingDomen Vrankar2015-04-052-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPM, DEB and archive packages were not created in cases when CPACK_<generator>_COMPONENT_INSTALL was set to ON and a single component existed. Patch also changes CPackRPM test to implicitly test for this case.
* | | | Merge topic 'improve-properties-help'Brad King2015-04-066-39/+43
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f82b5e8 Help: Link to properties in set_tests_properties. 66f5af29 Help: Link to properties in set_directory_properties docs. f7dd3f7c Help: Add link in set_source_files_properties command docs. 3b256173 Help: Shorten too-long title marker. 8fc3a2fb Help: Add references to cmake-property sections.
| * | | | Help: Link to properties in set_tests_properties.Stephen Kelly2015-04-043-29/+22
| | | | | | | | | | | | | | | | | | | | Remove help for specific properties to their own help pages.
| * | | | Help: Link to properties in set_directory_properties docs.Stephen Kelly2015-04-041-6/+3
| | | | | | | | | | | | | | | | | | | | Remove claim that CMake will report an error for unknown properties.
| * | | | Help: Add link in set_source_files_properties command docs.Stephen Kelly2015-04-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Remove claim about unrecognized properties being ignored. Such properties can be retrieved later by the user.
| * | | | Help: Shorten too-long title marker.Stephen Kelly2015-04-041-1/+1
| | | | |