summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include_directories
Commit message (Collapse)AuthorAgeFilesLines
* Report an error on IMPORTED targets with a faulty INTERFACEStephen Kelly2013-03-264-0/+24
| | | | | | | | | | 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-2611-0/+56
| | | | | | | | | | 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.
* Don't populate INTERFACE includes and defines properties in tll.Stephen Kelly2013-02-132-7/+12
| | | | | | | | | This is a partial revert of commit 77cecb77 (Add includes and compile definitions with target_link_libraries., 2012-11-05). As the interface includes and defines are now determined by the link closure, there is no need to populate the corresponding properties explicitly.
* Whitelist target types in target_{include_directories,compile_definitions}Stephen Kelly2013-02-084-0/+12
| | | | | Setting include directories or compile definitions on a target created with add_custom_target does not make sense.
* Test printing origin of include dirs from tll().Stephen Kelly2013-02-072-3/+16
|
* Output include directories as LOG messages, not warnings.Stephen Kelly2013-01-211-4/+4
|
* Specify the target whose includes are being listed.Stephen Kelly2013-01-211-4/+4
|
* Store includes from the same include_directories call together.Stephen Kelly2013-01-211-7/+0
| | | | | | Otherwise, we get a separate IncludeDirectoriesEntry for each include, and that causes unnecessary and confusing splitting in the output when debugging the INCLUDE_DIRECTORIES property.
* Add a way to print the origins of used include directories.Stephen Kelly2013-01-034-0/+82
|
* GenEx: Fix reporting about not-found include directories and libraries.Stephen Kelly2012-10-175-0/+22
This fixes a regression introduced in commit 290e92ad (Move GetIncludeDirectories to cmGeneratorTarget, 2012-09-16) which loops over cmGeneratorTargets before they get created, so the container is empty.