summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-05 13:38:59 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-06-05 13:38:59 (GMT)
commitff8917fdd2e8739a46c84ab03911258c23779744 (patch)
tree501e695d25bd0256e932d090eb1b70dc71bd8f8b /Source/cmMakefileTargetGenerator.cxx
parent4d15c0b7c6f11c7486da7e760c59a1e7daabacab (diff)
parentcd1fa537a03377974a4d0a27e592785f931a41e5 (diff)
downloadCMake-ff8917fdd2e8739a46c84ab03911258c23779744.zip
CMake-ff8917fdd2e8739a46c84ab03911258c23779744.tar.gz
CMake-ff8917fdd2e8739a46c84ab03911258c23779744.tar.bz2
Merge topic 'VISIBILITY_PRESET-property'
cd1fa53 Add a COMPILE_OPTION for a VISIBILITY_INLINES_HIDDEN target property. 0e9f4bc Introduce target property <LANG>_VISIBILITY_PRESET
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 699a7fd..10b7849 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -271,6 +271,9 @@ std::string cmMakefileTargetGenerator::GetFlags(const std::string &l)
this->LocalGenerator->AddCMP0018Flags(flags, this->Target,
lang, this->ConfigName);
+ this->LocalGenerator->AddVisibilityPresetFlags(flags, this->Target,
+ lang);
+
// Add include directory flags.
this->AddIncludeFlags(flags, lang);