summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-28 03:15:59 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-28 03:15:59 (GMT)
commit0e15f3412f6e3b6a05267dd64a968167d32a1385 (patch)
treee4d62e7f38c8282ec7bed21024b8a902de43b745 /Source/cmGlobalXCodeGenerator.cxx
parentaf95f61d76f2a9e86aed35adae5302c8c60fdb35 (diff)
downloadCMake-0e15f3412f6e3b6a05267dd64a968167d32a1385.zip
CMake-0e15f3412f6e3b6a05267dd64a968167d32a1385.tar.gz
CMake-0e15f3412f6e3b6a05267dd64a968167d32a1385.tar.bz2
COMP: Restored shared local variable removed by previous change.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 630fda3..6c2d258 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1067,6 +1067,9 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
{
std::string flags;
std::string defFlags;
+ bool shared = ((target.GetType() == cmTarget::SHARED_LIBRARY) ||
+ (target.GetType() == cmTarget::MODULE_LIBRARY));
+
// Add the export symbol definition for shared library objects.
if(const char* exportMacro = target.GetExportMacro())
{