@@ -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())