summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Watcom: Suppress WMake interactive prompt on errorBrad King2013-11-251-1/+1
| | | | | | | | | Add the "-e" option to build.make invocations of wmake as part of the silencing flags. From "wmake /?": -e erase files after error (no prompt) This prevents test timeouts on error.
* Merge topic 'use-generator-target'Brad King2013-11-2521-118/+172
|\ | | | | | | | | | | c34968a Port some of the generator API to cmGeneratorTarget. abb13ea Order cmGeneratorTargetsType elements deterministically.
| * 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 'make-cpack-options-boolean'Brad King2013-11-251-7/+7
|\ \ | | | | | | | | | | | | 5bc6444 CPack: use IsOn instead of IsSet for boolean CPack options
| * | CPack: use IsOn instead of IsSet for boolean CPack optionsNils Gladitz2013-11-191-7/+7
| | | | | | | | | | | | | | | The CPackComponent macros specifically set CPack options to FALSE which CPack previously interpreted to mean "true".
* | | CMake Nightly Date StampKitware Robot2013-11-251-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2013-11-241-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2013-11-231-1/+1
| |/ |/|
* | 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-222-0/+18
|\ \ \ | | | | | | | | | | | | | | | | 8ad8a9b cmake-gui: Reference LGPLv2.1 when redistributing Qt
| * | | cmake-gui: Reference LGPLv2.1 when redistributing QtBrad King2013-11-212-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-223-1/+31
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7521da2 Introduce CMAKE_STAGING_PREFIX variable.
| * | | | | Introduce CMAKE_STAGING_PREFIX variable.Stephen Kelly2013-11-213-1/+31
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'missing-target-error'Brad King2013-11-213-23/+57
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | a02f3d2 Add policy CMP0040 to disallow custom commands on missing targets
| * | | | | | Add policy CMP0040 to disallow custom commands on missing targetsNils Gladitz2013-11-213-23/+57
| |/ / / / /
* | | | | | 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.
* | | | | 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 'dev/better-eclipse-language-support'Brad King2013-11-205-6/+60
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-191-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | 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-201-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | a247911 Tests: Don't read the LOCATION property from build targets. cffcdd8 KDevelop: Use GetLocation(0) instead of LOCATION property.
| * | | | 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)
| * | | VS: Map /Fd to ProgramDataBaseFileName for VS 7,8,9 (#14577)Brad King2013-11-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 42ba1b08 (VS: Separate compiler and linker PDB files, 2013-04-05) the VS generators no longer add ProgramDataBaseFileName. Therefore we should allow projects to do so by mapping the /Fd option. For VS >= 10 our flag tables map /Fd to ProgramDataBaseFileName already. Add the mapping for VS 7, 8, and 9.
* | | | CMake Nightly Date StampKitware Robot2013-11-201-1/+1
| |_|/ |/| |
* | | Merge topic 'cross-compiling-toolchain-variables'Brad King2013-11-194-7/+114
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 7cd65c9 Add CMAKE_SYSROOT variable to set --sysroot when cross compiling. 5096967 Allow toolchain files to specify an external toolchain. 76552d5 Add compiler target compile options. f41ecd1 CMakeDetermineCompilerId: Look for internal file only on host
| * | Add CMAKE_SYSROOT variable to set --sysroot when cross compiling.Stephen Kelly2013-11-194-7/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As CMAKE_ROOT_FIND_PATH can be a list, a new CMAKE_SYSROOT is introduced, which is never a list. The contents of this variable is passed to supporting compilers as --sysroot. It is also accounted for when processing implicit link directories reported by the compiler, and when generating RPATH information.