diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-03-24 20:18:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-03-26 14:45:07 (GMT) |
commit | af81a3c31b206633742eb13d41c54a9bc807ffea (patch) | |
tree | b309b37bc371f153819eeffb909b586eb89b74dc /Source/cmExportFileGenerator.h | |
parent | ddbe2e1d7da460684e4d81fc8b3f69510f87b78e (diff) | |
download | CMake-af81a3c31b206633742eb13d41c54a9bc807ffea.zip CMake-af81a3c31b206633742eb13d41c54a9bc807ffea.tar.gz CMake-af81a3c31b206633742eb13d41c54a9bc807ffea.tar.bz2 |
install(EXPORT): Ensure clean INTERFACE_INCLUDE_DIRECTORIES
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.
Diffstat (limited to 'Source/cmExportFileGenerator.h')
-rw-r--r-- | Source/cmExportFileGenerator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmExportFileGenerator.h b/Source/cmExportFileGenerator.h index 776be61..9f958a2 100644 --- a/Source/cmExportFileGenerator.h +++ b/Source/cmExportFileGenerator.h @@ -107,6 +107,11 @@ protected: ImportPropertyMap &properties); void GenerateInterfaceProperties(cmTarget *target, std::ostream& os, const ImportPropertyMap &properties); + void PopulateIncludeDirectoriesInterface( + cmTarget *target, + cmGeneratorExpression::PreprocessContext preprocessRule, + ImportPropertyMap &properties, + std::vector<std::string> &missingTargets); void SetImportLinkInterface(const char* config, std::string const& suffix, cmGeneratorExpression::PreprocessContext preprocessRule, |