summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support files for C, C++ and ASM for the IAR toolchain.Alex Neundorf2013-04-154-0/+128
| | | | | | | The original feature request is at http://www.cmake.org/Bug/view.php?id=10176 Documentation can be found at http://www.iar.com/website1/1.0.1.0/675/1/ Alex
* CMake Nightly Date StampKitware Robot2013-04-101-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-091-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-081-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-071-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-061-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-051-1/+1
|
* Merge topic 'usr-move-relocatable'Brad King2013-04-042-44/+45
|\ | | | | | | | | 6c613b4 Handle usr-move without forcing absolute paths (#14041)
| * Handle usr-move without forcing absolute paths (#14041)Brad King2013-04-032-44/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 0c727b90 (install(EXPORT): Force absolute paths for usr-move, 2013-03-08) and commit d4774140 (configure_package_config_file: force absolute paths for usr-move, 2013-01-24) we supported Linux distributions implementing the "/usr move" by assuming that installation to (/usr)?/lib(64)? represents a non-relocatable system package. When cross-compiling one may prepare a package for installation into a system location on a target machine but install the package files on the *host* machine inside another path for use with CMAKE_FIND_ROOT_PATH. In this case the package development files must still be relocatable. Handle "/usr move" with a new approach that works with relocatable files. Teach configure_package_config_file and install(EXPORT) to generate special logic in a package configuration file or targets file for installation under (/usr)?/lib(64)?. Teach the file to recognize when it is loaded through a symlink that refers to the same realpath as its original install destination. In such a case, use the original install prefix. Otherwise, compute the prefix relative to the current file location to make it relocatable.
* | CMake Nightly Date StampKitware Robot2013-04-041-1/+1
| |
* | Merge topic 'qt4-pthread'Brad King2013-04-031-1/+1
|\ \ | |/ |/| | | | | bec8e64 Qt4: Fix typo setting a variable for FindThreads.
| * Qt4: Fix typo setting a variable for FindThreads.Clinton Stimpson2013-04-021-1/+1
| | | | | | | | Fixes bug 14055.
* | CMake Nightly Date StampKitware Robot2013-04-031-1/+1
| |
* | Merge topic 'automoc-vs11-workaround'Brad King2013-04-021-8/+42
|\ \ | | | | | | | | | | | | 20c99b1 automoc: Use a pre-build event in VS >= 7
| * | automoc: Use a pre-build event in VS >= 7Brad King2013-03-291-8/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In VS IDE generators add a pre-build event to perform automoc instead of using a separate custom target. This reduces the number of targets in the .sln that need to be loaded by the IDE. This also works around a VS 11 bug as discussed in issue 13900. Suggested-by: Hauke Heibel <hauke.heibel@gmail.com>
* | | Merge topic 'clarify-add_dependencies-error'Brad King2013-04-027-4/+26
|\ \ \ | |_|/ |/| | | | | | | | de13d68 add_dependencies: Distinguish target v. file dependencies in error (#14050)
| * | add_dependencies: Distinguish target v. file dependencies in error (#14050)Brad King2013-03-297-4/+26
| | | | | | | | | | | | | | | | | | | | | When called with a non-existent LHS target name the user may be trying to add file-level dependencies. Clarify the error message to explain the difference between target-level and file-level dependencies. Point the reader at the commands and options needed for the latter.
* | | CMake Nightly Date StampKitware Robot2013-04-021-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2013-04-011-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2013-03-311-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2013-03-301-1/+1
| |/ |/|
* | CMake Nightly Date StampKitware Robot2013-03-291-1/+1
|/
* Merge topic 'SystemTools-TrimWhitespace-all'Brad King2013-03-281-2/+2
|\ | | | | | | | | 674f918 cmSystemTools: Generalize TrimWhitespace to all whitespace
| * cmSystemTools: Generalize TrimWhitespace to all whitespacePetr Kmoch2013-03-271-2/+2
| | | | | | | | | | Modify cmSystemTools::TrimWhitespace() to remove all leading and trailing whitespace, not just spaces.
* | Merge topic 'fix-Qt5-incompatibility-check-version'Brad King2013-03-281-1/+1
|\ \ | | | | | | | | | | | | 535e53c Fix the Qt 5 version required to run the IncompatibleQt test.
| * | Fix the Qt 5 version required to run the IncompatibleQt test.Stephen Kelly2013-03-261-1/+1
| |/ | | | | | | | | | | | | | | | | | | The commit to add the INTERFACE_QT_MAJOR_VERSION in qtbase.git is 14054d45 (Set the INTERFACE_QT_MAJOR_VERSION to 5., 2013-03-16) which will be part of Qt 5.1.0. If there is a Qt 5.0.3 release, there is no guarantee it will contain that commit. Make sure such a Qt version does not fail with this test if not.
* | Merge topic 'error-on-exported-missing-include-dir'Brad King2013-03-285-0/+29
|\ \ | | | | | | | | | | | | 634bb33 Error if linked target has relative paths in INTERFACE_INCLUDE_DIRECTORIES
| * | Error if linked target has relative paths in INTERFACE_INCLUDE_DIRECTORIESStephen Kelly2013-03-265-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | We can do this check only if the TargetName is non-empty, which means that we're evaluating INTERFACE_INCLUDE_DIRECTORIES from a linked dependency which was set using target_link_libraries. It is possible to have relative paths in INCLUDE_DIRECTORIES already in CMake 2.8.10.2, so that part will require a policy to fix.
* | | Merge topic 'ExactCaseReadmeTxt'Brad King2013-03-281-50/+65
|\ \ \ | | | | | | | | | | | | | | | | | | | | 5479251 Modules/readme.txt: make lines a bit shorter for easier readability 140692d Modules/readme.txt: switch from "XXX" to "Xxx"
| * | | Modules/readme.txt: make lines a bit shorter for easier readabilityAlex Neundorf2013-03-281-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch doesn't make them 79 characters long, but at least gets rid of really long lines. While at it, fix spelling of "relevant". Alex
| * | | Modules/readme.txt: switch from "XXX" to "Xxx"Alex Neundorf2013-03-281-47/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using XXX as name of the package is ambiguous, since it can be interpreted as "ALLUPPERCASE" and also as "ExactCase (if the name is already ALLUPPERCASE)". After extensive discussion there is the conclusion that ExactCase is intended, so using a CamelCased name makes that more obvious. Alex
* | | | Merge topic 'use-java-INCLUDE_JARS'Brad King2013-03-281-18/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 8a2fca8 UseJava.cmake: require explicit request to include jars
| * | | | UseJava.cmake: require explicit request to include jarsMatthew Woehlke2013-03-281-18/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify add_jar to (partly) use cmake_parse_arguments, and to require using the named argument list INCLUDE_JARS to specify jar files (or jar targets) to use as dependencies when creating a jar. This preserves the ability to have such, while restoring the historic behavior that jar files listed as sources are ignored. (The code now explicitly ignores them, however, rather than adding them to an unused local variable, so that it is more clear that nothing is being done with them.)
* | | | | Merge topic 'dev/add-isystem-for-clang'Brad King2013-03-281-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4d668f3 Clang: Add -isystem flag support everywhere
| * | | | | Clang: Add -isystem flag support everywhereBen Boeckel2013-03-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In GNU.cmake, -isystem is not used if APPLE is set. However, Clang has pretty much always supported -isystem, so we should always use it. In the future, GNU.cmake should do a version check to see if -isystem is supported.
* | | | | | CMake Nightly Date StampKitware Robot2013-03-281-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2013-03-271-1/+1
| |_|_|_|/ |/| | | |
* | | | | Merge topic 'error-on-exported-missing-include-dir'Brad King2013-03-2620-9/+241
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | 28051f1 Report an error on IMPORTED targets with a faulty INTERFACE af81a3c install(EXPORT): Ensure clean INTERFACE_INCLUDE_DIRECTORIES
| * | | | Report an error on IMPORTED targets with a faulty INTERFACEStephen Kelly2013-03-266-5/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is considered an error if the INTERFACE_INCLUDE_DIRECTORIES contains a directory which does not exist, which indicates a programmer error by the upstream, or a packaging error. One of the RunCMake.CompatibleInterface tests also needs to be updated due to this change. Non-existant includes were used in the test, but are not needed.
| * | | | install(EXPORT): Ensure clean INTERFACE_INCLUDE_DIRECTORIESStephen Kelly2013-03-2615-4/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check that source and binary directories are not part of the INTERFACE_INCLUDE_DIRECTORIES for installed IMPORTED targets. This is limited to directories which do not contain generator expressions to evaluate. Such paths can only be checked at time of use of the imported target, which will be done in a follow up patch.
* | | | | Merge topic 'ep_retry_clone'Brad King2013-03-261-5/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 118f741 ExternalProject: Retry on a failed git clone
| * | | | | ExternalProject: Retry on a failed git cloneBill Hoffman2013-03-261-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Git sometimes fails to clone repositories due to network outage or server load. Try 3 times before giving up.
* | | | | | Merge topic 'vs-sln-header'Brad King2013-03-262-2/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c677838 VS: Fix VS 10/11 .sln headers (#14038)
| * | | | | | VS: Fix VS 10/11 .sln headers (#14038)Brad King2013-03-252-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The VS version we generate in the .sln header is used by VS when opening the file through Windows Explorer and possibly elsewhere. Fix our generators to use version strings known to VS to avoid a drop-down box. For VS 10, since commit 4f96af44 (Fix VS 10 .sln files for Windows Explorer, 2009-10-22) we use "Visual Studio 2010" instead of just "Visual Studio 10". This is correct except that for the Express edition we need "Visual C++ Express 2010". For VS 11, since commit f0d66ab4 (VS11: Fix comment generated at the top of *.sln files, 2011-10-20) we use "Visual Studio 11" in the .sln header but the preferred value is "Visual Studio 2012" (just as the first commit mentioned above fixed for VS 10). Also for the Express edition we need "Visual Studio Express 2012 for Windows Desktop".
* | | | | | | Merge topic 'fix-new-target-commands-docs'Brad King2013-03-262-7/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2e80f9f Fix new target commands documentation.
| * | | | | | | Fix new target commands documentation.Stephen Kelly2013-03-252-7/+4
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The target_include_directories and target_compile_defintions commands accepted targets as arguments until commit f6b16d4b (Don't allow targets args in the new target commands., 2013-01-29). This followed from discussion on the mailing list (target_include_directories() accepts only absolute paths ?, 2013-01-28): http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/5925/focus=5948 http://public.kitware.com/pipermail/cmake-developers/2013-January/006301.html It was also decided to allow relative paths in target_include_directories().
* | | | | | | Merge topic 'fix-COMPILE_DEFINITIONS-config'Brad King2013-03-2618-42/+118
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 1703b00 Test evaluation of per-config COMPILE_DEFINITIONS (#14037) a6286e9 Fix the evaluation of per-config COMPILE_DEFINITIONS (#14037)
| * | | | | | Test evaluation of per-config COMPILE_DEFINITIONS (#14037)Brad King2013-03-256-3/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the CompileDefinitions test to cover evaluation of config-specific generator expressions.
| * | | | | | Fix the evaluation of per-config COMPILE_DEFINITIONS (#14037)Stephen Kelly2013-03-2512-39/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The API for retrieving per-config COMPILE_DEFINITIONS has long existed because of the COMPILE_DEFINITIONS_<CONFIG> style properties. Ensure that the provided configuration being generated is also used to evaluate the generator expressions in cmTarget::GetCompileDefinitions. Both the generic COMPILE_DEFINITIONS and the config-specific variant need to be evaluated with the requested configuration. This has the side-effect that the COMPILE_DEFINITIONS does not need to be additionally evaluated with no configuration, so the callers can be cleaned up a bit too.
* | | | | | | CMake Nightly Date StampKitware Robot2013-03-261-1/+1
| |/ / / / / |/| | | | |