summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmGlobalGenerator: Add NVI wrapper to create local generator.Stephen Kelly2015-05-161-4/+4
|
* cmState: Store the Source and Binary directories.Stephen Kelly2015-04-281-6/+4
|
* cmMakefile: Delegate storage of Home dirs to the cmake class.Stephen Kelly2015-04-281-4/+6
| | | | There is no need to duplicate these on every cmMakefile.
* cmMakefile: Rename SetStart* directory API to SetCurrent*.Stephen Kelly2015-04-201-2/+2
|
* cmMakefile: Port users of GetStart* methods to new names.Stephen Kelly2015-04-201-2/+2
|
* cmake: Remove redundant start directories.Stephen Kelly2015-04-201-42/+2
| | | | | | | | | They are maintained as containing the same content as the 'home' directories, but they are never read from. Fix some comments and help strings which confused the two by name. They actually mean what is called CMAKE_SOURCE_DIR in cmake code.
* cmake: Initialize Home directories on cmake for find-package mode.Stephen Kelly2015-04-201-4/+5
| | | | | The Home directories can be used to initialize cmMakefile directories internally.
* cmake: Fix directory used to find the cacheStephen Kelly2015-04-201-1/+1
| | | | | The start and home directories are the same, but the intent of the code here is to use what is currently called the HomeOutput directory.
* Merge topic 'clean-up-ReadListFile'Brad King2015-04-201-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 05245b42 cmMakefile: Move some preamble out of the Internal method. 6e23a4bd cmMakefile: Remove always-null first parameter to ReadListFile. d21ebcb2 cmMakefile: Swap parameters of calls to ReadListFile. 95a27267 cmMakefile: Extract conditional code to caller. 7d248547 cmMakefile: Remove intermediate variable. 9db15954 cmMakefile: Move condition to the only calling context where it is true. 5d4480a8 cmMakefile: Populate CMAKE_PARENT_LIST_FILE in callers. 3a8ac242 cmMakefile: Collapse nested conditional. 5947d9b0 cmMakefile: Convert filenametoread into a std::string. e2d0e0fb cmMakefile: Remove intermediate variable. 3a1ad171 cmMakefile: Combine duplicate condition. f0dae032 cmMakefile: Re-order independent statements. 08da8742 cmMakefile: Split a conditional. 3dc4fe02 cmMakefile: Re-order independent variable setting. e4f8f1f1 cmMakefile: Remove intermediate variable. 2d6121a9 cmMakefile: Remove use of intermediate variable. ...
| * cmMakefile: Remove always-null first parameter to ReadListFile.Stephen Kelly2015-04-181-3/+3
| |
* | Merge topic 'add-GreenHills-MULTI-generator'Brad King2015-04-201-0/+3
|\ \ | |/ |/| | | | | | | | | 66b641f4 Help: Add notes for topic 'add-GreenHills-MULTI-generator' 48004d9d Add a 'Green Hills MULTI' generator on Windows 051d8be1 cmLocalGenerator: Constify some cmTarget and cmGeneratorTarget arguments
| * Add a 'Green Hills MULTI' generator on WindowsGeoff Viola2015-04-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Green Hills MULTI is an IDE for embedded real-time systems. The IDE's product page can be found here: http://www.ghs.com/products/MULTI_IDE.html It supports cross compiling on ARM, Intel x86, and other architectures with various operating systems. The IDE exists on Linux and Windows host systems, but CMake will currently only generate the project files on Windows host systems.
* | Port Global property interaction to cmState.Stephen Kelly2015-04-151-6/+8
| |
* | Move property initialization to cmState.Stephen Kelly2015-04-151-8/+1
| |
* | Move global properties to cmState.Stephen Kelly2015-04-151-39/+3
| |
* | cmake: Remove the happy global property scope pattern.Stephen Kelly2015-04-151-8/+2
| | | | | | | | | | | | | | | | | | 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-151-26/+0
| |
* | Port cmCommand consumers to cmState.Stephen Kelly2015-04-151-1/+1
| |
* | cmState: Move cmCommand-related methods from cmake class.Stephen Kelly2015-04-131-80/+8
| |
* | cmake: Simplify command clean up loop.Stephen Kelly2015-04-131-13/+6
| |
* | cmake: Simplify RemoveUnscriptableCommands algorithm.Stephen Kelly2015-04-131-22/+8
| | | | | | | | Remove obsolete RemoveCommand method.
* | cmState: Move try_compile state from cmake class.Stephen Kelly2015-04-131-7/+6
| |
* | 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.
* | Move property definition to cmState.Stephen Kelly2015-04-131-38/+1
| |
* | Merge topic 'introduce-cmState'Brad King2015-04-131-61/+64
|\ \ | | | | | | | | | | | | | | | | | | | | | 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-20/+20
| | |
| * | Port to cmState.Stephen Kelly2015-04-131-42/+41
| | |
| * | Introduce cmState class.Stephen Kelly2015-04-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-131-60/+77
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | |
| * | | cmake: Out-of-line Home and Start directory methods.Stephen Kelly2015-04-121-0/+32
| | | |
| * | | cmake: Fix variable name bugs.Stephen Kelly2015-04-121-2/+2
| | | |
| * | | Use vector, not list for cmCommand storage.Stephen Kelly2015-04-121-2/+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-121-2/+2
| | | |
| * | | 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-121-0/+10
| | | |
| * | | cmake: Remove duplicate condition.Stephen Kelly2015-04-121-4/+0
| | | |
| * | | cmake: Remove DebugConfigs member.Stephen Kelly2015-04-121-30/+15
| | | | | | | | | | | | | | | | It adds needless complexity to global property handling.
| * | | cmake: Remove method with no external users.Stephen Kelly2015-04-121-5/+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.
* | | | cmake: Provide guidance when an invalid -G option is givenGerald Combs2015-04-101-0/+16
|/ / / | | | | | | | | | | | | | | | | | | Print a list of generators if no generator or an invalid one is supplied. Signed-off-by: Gerald Combs <gerald@wireshark.org>
* | | Merge topic 'refactor-cache-api'Brad King2015-04-091-65/+101
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ba404938 cmCacheManager: Port consumers to non-iterator API. f3922a9a Port QtDialog to non-iterator cache API. 3e6a76e4 Port CursesDialog to non-iterator cache API. 9e641567 cmMakefile: Port away from CacheEntry.Initialized. 1e2dbfce cmCacheManager: Add non-iterator-based API. 60a62a91 cmCacheManager: Return a C string from GetValue. 77f2807c cmCacheManager: Rename GetCacheValue to GetInitializedCacheValue. 14973054 Add API for cache loading, deleting and saving to the cmake class. 1f2c12eb cmMakefile: Remove cache version accessors. 97c50a8d cmMakefile: Simplify GetDefinitions implementation.
| * | cmCacheManager: Port consumers to non-iterator API.Stephen Kelly2015-04-081-42/+42
| | | | | | | | | | | | | | | This simplifies reasoning about the follow-up commit which ports away from cmCacheManager to a class with the same method names.
| * | cmCacheManager: Rename GetCacheValue to GetInitializedCacheValue.Stephen Kelly2015-04-071-20/+27
| | | | | | | | | | | | | | | 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-071-5/+34
| |/ | | | | | | | | Migrate existing users of the CacheManager API to use the new API. The CacheManager will be going away soon.
| * Revert topic 'refactor-cache-api'Brad King2015-04-071-101/+65
| | | | | | | | | | | | 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-42/+42
| | | | | | | | | | This simplifies reasoning about the follow-up commit which ports away from cmCacheManager to a class with the same method names.