summaryrefslogtreecommitdiffstats
path: root/Source/cmRulePlaceholderExpander.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-02-03 16:31:54 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-02-03 16:32:01 (GMT)
commit999a8663c5479c1e9afff50fbdcb90fea5bc3de4 (patch)
treefa92b4e610d54c4230952d9b3cd10b2227b0c920 /Source/cmRulePlaceholderExpander.cxx
parentea5c6c3c86c8f22634e32cb8d1ebe8bc1a2c0752 (diff)
parentafcd9fe66943259ea9521ff77b32673e0cdf70b2 (diff)
downloadCMake-999a8663c5479c1e9afff50fbdcb90fea5bc3de4.zip
CMake-999a8663c5479c1e9afff50fbdcb90fea5bc3de4.tar.gz
CMake-999a8663c5479c1e9afff50fbdcb90fea5bc3de4.tar.bz2
Merge topic 'aix-no-export-all'
afcd9fe669 AIX: Add an option to disable automatic exports from shared libraries 67f30811ce AIX: Improve name of internal symbol export list file 0ffd54f094 AIX: Add ExportImportList option to skip the object files 0dcfb63cb9 AIX: Revise ExportImportList to build output more incrementally Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4308
Diffstat (limited to 'Source/cmRulePlaceholderExpander.cxx')
-rw-r--r--Source/cmRulePlaceholderExpander.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmRulePlaceholderExpander.cxx b/Source/cmRulePlaceholderExpander.cxx
index 0a1d109..5ab1b3a 100644
--- a/Source/cmRulePlaceholderExpander.cxx
+++ b/Source/cmRulePlaceholderExpander.cxx
@@ -85,6 +85,11 @@ std::string cmRulePlaceholderExpander::ExpandRuleVariable(
return replaceValues.ObjectsQuoted;
}
}
+ if (replaceValues.AIXExports) {
+ if (variable == "AIX_EXPORTS") {
+ return replaceValues.AIXExports;
+ }
+ }
if (replaceValues.Defines && variable == "DEFINES") {
return replaceValues.Defines;
}