summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Test that linking using the debug keyword to tll works.Stephen Kelly2013-05-161-0/+8
|
* Test transitive includes from setting the LINK_LIBRARIES property.Stephen Kelly2013-05-062-0/+17
| | | | | | | | Commit b8259c3d (Centralize maintenance of usage requirement include directories, 2013-04-29) changed the handling of the property. Previously setting the property directly instead of via target_link_libraries would not result in transitive include directory handling.
* Memoize usage requirement include directories in a config-specific mapStephen Kelly2013-05-061-4/+18
| | | | | | | Commit 42ebb188 (Memoize includes and defines from interface libraries., 2013-02-22) introduced caching of the includes. Fix the memoization to be configuration-specific so that we do not accumulate entries across multiple evaluations in a multi-config generator.
* Fix include dir propagation from conditionally linked targetsStephen Kelly2013-05-061-12/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generator expressions, including configuration-specific expressions may be used as link libraries of targets. The old-style keywords of target_link_libraries are handled in terms of new generator expressions. However, the generator expressions expect target names to be valid against a regular expression, whereas target_link_libraries does not require validation. In generator expression constructed without any action from the user we need to ensure that only valid expressions are generated. Ensure that strings which are not valid target names are not used in generator expressions which validate the argument. Code like target_link_libraries(B debug A) generates usage requirement references such as "$<$<CONFIG:DEBUG>:A>". When cmTarget::GetIncludeDirectories uses such references it generates expressions like: $<TARGET_PROPERTY:$<$<CONFIG:DEBUG>:A>,INTERFACE_INCLUDE_DIRECTORIES> When the conditions are false such references evaluate as an empty string and the expression fails with an error such as: $<TARGET_PROPERTY:tgt,prop> expression requires a non-empty target name. Fix this by teaching cmTarget::GetIncludeDirectories to wrap the above expression inside a conditional: $<$<BOOL:$<$<CONFIG:DEBUG>:A>>:...> so that $<TARGET_PROPERTY:...> will not be evaluated with an empty target.
* Centralize maintenance of usage requirement include directoriesStephen Kelly2013-05-063-15/+17
| | | | | | Maintain a target's internal list of usage requirement include directories whenever the LINK_LIBRARIES property is set by either target_link_libraries or set_property.
* CMake Nightly Date StampKitware Robot2013-04-251-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-241-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-231-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-221-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-211-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-201-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-191-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-181-1/+1
|
* Merge topic 'doc-get_filename_component'Brad King2013-04-171-9/+10
|\ | | | | | | | | df71f96 get_filename_component: Document path components more clearly (#14091)
| * get_filename_component: Document path components more clearly (#14091)Brad King2013-04-161-9/+10
| | | | | | | | | | Organize component names in a table to explain each in more detail. Clearly state that PATH is the directory name.
* | Merge topic 'missing-fclose-in-trycompile'Brad King2013-04-171-0/+1
|\ \ | | | | | | | | | | | | ce441fa try_compile: add missing fclose() to recently added error case
| * | try_compile: add missing fclose() to recently added error caseRolf Eike Beer2013-04-161-0/+1
| |/ | | | | | | | | | | | | | | In commit 236133e7 (Handle targets in the LINK_LIBRARIES of try_compile, 2013-02-09) an error return case was added without closing the file in progress. Add the missing fclose() call. Spotted by sevenhill.
* | Merge topic 'fix-clear-INCLUDE_DIRECTORIES-prop'Brad King2013-04-172-0/+15
|\ \ | | | | | | | | | | | | 5a5e0fa Fix clearing of the INCLUDE_DIRECTORIES DIRECTORY property.
| * | Fix clearing of the INCLUDE_DIRECTORIES DIRECTORY property.Stephen Kelly2013-04-102-0/+15
| | | | | | | | | | | | | | | This was broken by commit 18a3195a (Keep track of INCLUDE_DIRECTORIES as a vector of structs., 2012-11-19).
* | | CMake Nightly Date StampKitware Robot2013-04-171-1/+1
| |/ |/|
* | CMake Nightly Date StampKitware Robot2013-04-161-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-151-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-141-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-131-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-121-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-111-1/+1
| |
* | 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.