summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Port some of the generator API to cmGeneratorTarget.Stephen Kelly2013-11-2219-117/+154
| | | | | | | Just enough to reach the BuildMacContentDirectory method and the NeedRelinkBeforeInstall methods. In the future, those methods can be moved to cmGeneratorTarget.
* Order cmGeneratorTargetsType elements deterministically.Stephen Kelly2013-11-222-1/+18
| | | | | | | | | | Define a custom ordering functor to deterministically and strictly order the cmTarget* key. Otherwise the order would be dependent on runtime pointer values, which breaks assumptions of some generators. The functor orders first by target name, and then by directory. Multiple global targets may have the same name, such as edit_cache, but their directory differentiates them.
* Merge topic 'FixIssue14029'Brad King2013-11-226-7/+37
|\ | | | | | | | | 9619719 FindSDL: Add additional search paths on MSVC (#14029)
| * FindSDL: Add additional search paths on MSVC (#14029)Benjamin Eikel2013-11-216-7/+37
| | | | | | | | | | | | | | | | Add an architecture-specific library directory path suffix for each component. Use different search path for SDL_sound. Project files in VisualC directory suggest that a win32lib will hold the libraries. Reported-by: Paul Hampson <Paul.Hampson@Pobox.com>
* | Merge topic 'add-cmHasLiteralPrefix'Brad King2013-11-2217-35/+58
|\ \ | | | | | | | | | | | | | | | 4fe963f Use new cmHasLiteralPrefix function 7d4b2b2 cmStandardIncludes: Add new cmHasLiteralPrefix function.
| * | Use new cmHasLiteralPrefix functionStephen Kelly2013-11-2116-34/+33
| | |
| * | cmStandardIncludes: Add new cmHasLiteralPrefix function.Stephen Kelly2013-11-211-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | This allows avoiding error-prone hard-coding of literal string lengths. Borland is not able to process the template version of this method. Make it use the macro version instead. This means that Borland will also use the macro versions of cmArray*.
* | | Merge topic 'cmake-credits'Brad King2013-11-228-0/+531
|\ \ \ | | | | | | | | | | | | | | | | 8ad8a9b cmake-gui: Reference LGPLv2.1 when redistributing Qt
| * | | cmake-gui: Reference LGPLv2.1 when redistributing QtBrad King2013-11-218-0/+531
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Download http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt and place it as Licenses/LGPLv2.1.txt in our source tree. When building cmake-gui, use option CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL to enable notification in the "About" dialog of how the distribution of Qt is licensed. Install the license file as ${CMAKE_ROOT}/Licenses/LGPLv2.1.txt so that the dialog can display a path to it.
* | | | Merge topic 'use-generator-target'Brad King2013-11-221-2/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | aa29e64 Add a null check to the generator target accessor.
| * | | | Add a null check to the generator target accessor.Stephen Kelly2013-11-211-2/+5
| | | | |
* | | | | Merge topic 'cross-compiling-toolchain-variables'Brad King2013-11-2221-9/+267
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7521da2 Introduce CMAKE_STAGING_PREFIX variable.
| * | | | | Introduce CMAKE_STAGING_PREFIX variable.Stephen Kelly2013-11-2121-9/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable can be useful in cross-compiling contexts where the sysroot is read-only or where the sysroot should otherwise remain pristine. If the new CMAKE_STAGING_PREFIX variable is set, it is used instead of CMAKE_INSTALL_PREFIX when generating the installation rules in cmake_install.cmake. This way, the CMAKE_INSTALL_PREFIX variable always refers to the installation prefix on the target device, regardless of whether host==target. If any -rpath paths passed to the linker contain the CMAKE_STAGING_PREFIX, the matching path fragments are replaced with the CMAKE_INSTALL_PREFIX. Matching paths in the -rpath-link are not transformed. The cross-prefix usr-move workaround is assumed not to require extension regarding CMAKE_STAGING_PREFIX. The staging area is a single prefix, so there is no scope for cross-prefix symlinks. The CMAKE_INSTALL_PREFIX is still used to determine the workaround path, and that variable remains the relevant one even if CMAKE_STAGING_PREFIX is used. If the generated export files are deployed to the target, the workaround will still be in place, and still be employed if required.
* | | | | | Merge topic 'qt-dialog-reconfigure'Brad King2013-11-221-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b566987 cmake-gui: Configure again if a variable is changed before Generate is pushed.
| * | | | | | cmake-gui: Configure again if a variable is changed before Generate is pushed.Clinton Stimpson2013-11-211-0/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2013-11-221-1/+1
| | | | | | |
* | | | | | | Merge topic 'genex-docs'Brad King2013-11-211-77/+171
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e729df Help: Reformat cmake-generator-expressions.7 manual
| * | | | | | | Help: Reformat cmake-generator-expressions.7 manualStephen Kelly2013-11-211-77/+171
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use definition lists instead of a preformatted block to enumerate the genex documentation. Consistently capitalize the description. Use ``...`` to format genex parameters in the description. Turn references to commands into links. Add high level documentation about the motivation for generator expressions. Regroup expressions into subsections for different genex types. Add a high-level description and example of the expressions in each section. Explode the documentation for filesystem artifacts, instead of only referring to the variations.
* | | | | | | Merge topic 'missing-target-error'Brad King2013-11-2124-23/+148
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a02f3d2 Add policy CMP0040 to disallow custom commands on missing targets
| * | | | | | | Add policy CMP0040 to disallow custom commands on missing targetsNils Gladitz2013-11-2124-23/+148
| |/ / / / / /
* | | | | | | Merge topic 'cmake-credits'Brad King2013-11-212-6/+14
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | 6fc4ab9 Credit Kitware and csimsoft for their maintenance roles
| * | | | | | Credit Kitware and csimsoft for their maintenance rolesBrad King2013-11-192-6/+14
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | Add maintenance credit to command-line "--version" output and the cmake-gui "About" dialog.
* | | | | | Merge topic 'FindwxWidgets-3.0.0'Brad King2013-11-211-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2cd5597 FindwxWidgets: Add support for wxWidgets 3.0.0 (#14587)
| * | | | | | FindwxWidgets: Add support for wxWidgets 3.0.0 (#14587)Arnaud Desmier2013-11-201-0/+6
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | Add the "wxWidgets-3.0.0" path suffix and the "30" library names. While at it, add the "wxWidgets-2.9.5" suffix too.
* | | | | | Merge topic 'find_backtrace'Brad King2013-11-213-0/+93
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c6f339c Add FindBacktrace.cmake module.
| * | | | | | Add FindBacktrace.cmake module.Vadim Zhukov2013-10-163-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It designed to search for implementation of backtrace(3) routine. Currently it is used in OpenBSD Ports for building Clementine music player. A lot of input from brad.king@ and neundorf@.
* | | | | | | CMake Nightly Date StampKitware Robot2013-11-211-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'constify'Brad King2013-11-2012-74/+83
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15eeace cmTarget: Trivially make more API const. be9dfb6 cmTarget: Make GetExportMacro const. 0794c13 cmTarget: Make NameResolvesToFramework const. 1c27521 cmGlobalGenerator: Make NameResolvesToFramework const. 37554ac cmMakefile: Make FindTarget const. 8841d73 cmMakefile: Make IsAlias const. 36e31cd cmTarget: Make GetInterfaceLinkLibraries const. 04d398d cmTarget: Make GetTargetSourceFileFlags const. 50d1520 cmTarget: Make custom command accessors API const. 0f87643 cmGeneratorTarget: Make GetIncludeDirectories const.
| * | | | | | cmTarget: Trivially make more API const.Stephen Kelly2013-11-192-25/+26
| | | | | | |
| * | | | | | cmTarget: Make GetExportMacro const.Stephen Kelly2013-11-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The std::string member is only used for memory management.
| * | | | | | cmTarget: Make NameResolvesToFramework const.Stephen Kelly2013-11-192-3/+3
| | | | | | |
| * | | | | | cmGlobalGenerator: Make NameResolvesToFramework const.Stephen Kelly2013-11-192-9/+11
| | | | | | |
| * | | | | | cmMakefile: Make FindTarget const.Stephen Kelly2013-11-192-8/+6
| | | | | | |
| * | | | | | cmMakefile: Make IsAlias const.Stephen Kelly2013-11-192-2/+2
| | | | | | |
| * | | | | | cmTarget: Make GetInterfaceLinkLibraries const.Stephen Kelly2013-11-192-2/+2
| | | | | | |
| * | | | | | cmTarget: Make GetTargetSourceFileFlags const.Stephen Kelly2013-11-192-6/+7
| | | | | | |
| * | | | | | cmTarget: Make custom command accessors API const.Stephen Kelly2013-11-197-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add specific mutators instead of providing non-const refs.
| * | | | | | cmGeneratorTarget: Make GetIncludeDirectories const.Stephen Kelly2013-11-192-3/+3
| | |_|/ / / | |/| | | |
* | | | | | Merge topic 'add-missing-parent-group'Brad King2013-11-201-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2751b93 CPackComponent: handle the documented PARENT_GROUP parameter
| * | | | | | CPackComponent: handle the documented PARENT_GROUP parameterNils Gladitz2013-11-191-1/+1
| |/ / / / /
* | | | | | Merge topic 'dev/better-eclipse-language-support'Brad King2013-11-207-6/+69
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a990722 eclipse: Support custom natures via a global property 51726cc eclipse: Add natures for Eclipse based on enabled languages 4a352d4 Notify extra generators about languages
| * | | | | | eclipse: Support custom natures via a global propertyBen Boeckel2013-11-193-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful for enabling natures not recognized by the Eclipse generator directly in a project.
| * | | | | | eclipse: Add natures for Eclipse based on enabled languagesBen Boeckel2013-11-192-6/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds support for the Java nature if Java is being used.
| * | | | | | Notify extra generators about languagesBen Boeckel2013-11-193-0/+13
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some generators can use the any enabled languages to add extra support in the relevant build tool. One such is Eclipse since there are many plugins available for various languages.
* | | | | | Merge topic 'remove-LOCATION-property-use'Brad King2013-11-208-29/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a247911 Tests: Don't read the LOCATION property from build targets. cffcdd8 KDevelop: Use GetLocation(0) instead of LOCATION property.
| * | | | | | Tests: Don't read the LOCATION property from build targets.Stephen Kelly2013-11-197-28/+13
| | | | | | |
| * | | | | | KDevelop: Use GetLocation(0) instead of LOCATION property.Stephen Kelly2013-11-191-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | This can be migrated to use cmGeneratorTarget later.
* | | | | | Merge topic 'fix-help-format-warning-exit'Brad King2013-11-202-13/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e7434d4 cmDocumentation: Fix exit after help output format warnings
| * | | | | | cmDocumentation: Fix exit after help output format warningsBrad King2013-11-192-13/+16
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After warning that a help output format is no longer supported, fix the return value from cmDocumentation::CheckOptions to indicate that it was still a help option that was parsed. Otherwise CMake moves on to treat the help output file name as a source tree and complains that it does not exist.
* | | | | | Merge topic 'vs9-map-Fd'Brad King2013-11-201-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | bf1db49 VS: Map /Fd to ProgramDataBaseFileName for VS 7,8,9 (#14577)