Browse Source

Introjucer: improvements for VS2010 and old PPC Xcode targets.

tags/2021-05-28
jules 13 years ago
parent
commit
1cb0847568
2 changed files with 9 additions and 2 deletions
  1. +7
    -0
      extras/Introjucer/Source/Project Saving/jucer_ProjectExport_MSVC.h
  2. +2
    -2
      extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h

+ 7
- 0
extras/Introjucer/Source/Project Saving/jucer_ProjectExport_MSVC.h View File

@@ -1181,6 +1181,13 @@ protected:
if (extraLinkerOptions.isNotEmpty())
link->createNewChildElement ("AdditionalOptions")->addTextElement (replacePreprocessorTokens (config, extraLinkerOptions).trim()
+ " %(AdditionalOptions)");
if (msvcDelayLoadedDLLs.isNotEmpty())
link->createNewChildElement ("DelayLoadDLLs")->addTextElement (msvcDelayLoadedDLLs);
if (config.config [Ids::msvcModuleDefinitionFile].toString().isNotEmpty())
link->createNewChildElement ("ModuleDefinitionFile")
->addTextElement (config.config [Ids::msvcModuleDefinitionFile].toString());
}
{


+ 2
- 2
extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h View File

@@ -631,8 +631,7 @@ private:
const String sdk (config.getMacSDKVersion());
const String sdkCompat (config.getMacCompatibilityVersion());
if (sdk == osxVersion10_4) { s.add ("SDKROOT = macosx10.4"); gccVersion = "4.0"; }
else if (sdk == osxVersion10_5) s.add ("SDKROOT = macosx10.5");
if (sdk == osxVersion10_5) s.add ("SDKROOT = macosx10.5");
else if (sdk == osxVersion10_6) s.add ("SDKROOT = macosx10.6");
else if (sdk == osxVersion10_7) s.add ("SDKROOT = macosx10.7");
@@ -642,6 +641,7 @@ private:
else if (sdkCompat == osxVersion10_7) s.add ("MACOSX_DEPLOYMENT_TARGET = 10.7");
s.add ("MACOSX_DEPLOYMENT_TARGET_ppc = 10.4");
s.add ("SDKROOT_ppc = macosx10.5");
if (xcodeExcludedFiles64Bit.isNotEmpty())
{


Loading…
Cancel
Save