summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.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/cmNinjaTargetGenerator.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/cmNinjaTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaTargetGenerator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index 6f912b8..ae18a48 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -150,6 +150,9 @@ cmNinjaTargetGenerator::ComputeFlagsForObject(cmSourceFile *source,
language.c_str(),
this->GetConfigName());
+ this->LocalGenerator->AddVisibilityPresetFlags(flags, this->Target,
+ language.c_str());
+
// Add include directory flags.
const char *config = this->Makefile->GetDefinition("CMAKE_BUILD_TYPE");
{