diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-12 11:13:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-15 19:36:22 (GMT) |
commit | 522bdac14963acf7c147f5518ea51382b042bf96 (patch) | |
tree | a52af802f40343b92da941080225ad0c2ea21e4d /Source/cmExportFileGenerator.cxx | |
parent | 4ee872cb99f49ac5a95768da454f3313ba87182f (diff) | |
download | CMake-522bdac14963acf7c147f5518ea51382b042bf96.zip CMake-522bdac14963acf7c147f5518ea51382b042bf96.tar.gz CMake-522bdac14963acf7c147f5518ea51382b042bf96.tar.bz2 |
Export the INTERFACE_PIC property.
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r-- | Source/cmExportFileGenerator.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx index fc78eeb..4a7c6f9 100644 --- a/Source/cmExportFileGenerator.cxx +++ b/Source/cmExportFileGenerator.cxx @@ -127,6 +127,18 @@ void cmExportFileGenerator::GenerateImportConfig(std::ostream& os, //---------------------------------------------------------------------------- void cmExportFileGenerator::PopulateInterfaceProperty(const char *propName, + cmTarget *target, + ImportPropertyMap &properties) +{ + const char *input = target->GetProperty(propName); + if (input) + { + properties[propName] = input; + } +} + +//---------------------------------------------------------------------------- +void cmExportFileGenerator::PopulateInterfaceProperty(const char *propName, const char *outputName, cmTarget *target, cmGeneratorExpression::PreprocessContext preprocessRule, |