diff --git a/extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj b/extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj index 179f98f9ee..abfcf61a88 100644 --- a/extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj +++ b/extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj @@ -1611,6 +1611,7 @@ INSTALL_PATH = "$(HOME)/Applications"; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; ONLY_ACTIVE_ARCH = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; @@ -1628,6 +1629,7 @@ MACOSX_DEPLOYMENT_TARGET = 10.5; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_PREPROCESSOR_DEFINITIONS = ( diff --git a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h index e1f1a90907..6dde17c63c 100644 --- a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h +++ b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h @@ -550,6 +550,7 @@ private: } s.add ("GCC_VERSION = " + gccVersion); + s.add ("CLANG_CXX_LANGUAGE_STANDARD = \"c++0x\""); { StringArray linkerFlags, librarySearchPaths; diff --git a/extras/Introjucer/Source/Project/jucer_NewProjectWizard.cpp b/extras/Introjucer/Source/Project/jucer_NewProjectWizard.cpp index 3905b865f9..a26982f605 100644 --- a/extras/Introjucer/Source/Project/jucer_NewProjectWizard.cpp +++ b/extras/Introjucer/Source/Project/jucer_NewProjectWizard.cpp @@ -34,9 +34,8 @@ static void createFileCreationOptionComboBox (Component& setupComp, const char** types) { ComboBox* c = new ComboBox(); - c->setComponentID ("filesToCreate"); itemsCreated.add (c); - setupComp.addAndMakeVisible (c); + setupComp.addChildAndSetID (c, "filesToCreate"); const char* fileOptions[] = { "Create a Main.cpp file", "Create a Main.cpp file and a basic window", @@ -436,40 +435,34 @@ public: setOpaque (true); setSize (600, 500); - projectName.setComponentID ("projectName"); + addChildAndSetID (&projectName, "projectName"); projectName.setText ("NewProject"); projectName.setBounds ("100, 14, parent.width / 2 - 10, top + 22"); - addAndMakeVisible (&projectName); nameLabel.attachToComponent (&projectName, true); projectName.addListener (this); - projectType.setComponentID ("projectType"); + addChildAndSetID (&projectType, "projectType"); projectType.addItemList (getWizards(), 1); projectType.setSelectedId (1, true); projectType.setBounds ("100, projectName.bottom + 4, projectName.right, top + 22"); - addAndMakeVisible (&projectType); typeLabel.attachToComponent (&projectType, true); projectType.addListener (this); - fileOutline.setComponentID ("fileOutline"); + addChildAndSetID (&fileOutline, "fileOutline"); fileOutline.setColour (GroupComponent::outlineColourId, Colours::black.withAlpha (0.2f)); fileOutline.setTextLabelPosition (Justification::centred); - addAndMakeVisible (&fileOutline); fileOutline.setBounds ("10, projectType.bottom + 20, projectType.right, parent.height - 10"); - fileBrowser.setComponentID ("fileBrowser"); + addChildAndSetID (&fileBrowser, "fileBrowser"); fileBrowser.setBounds ("fileOutline.left + 10, fileOutline.top + 20, fileOutline.right - 10, fileOutline.bottom - 12"); fileBrowser.setFilenameBoxLabel ("Folder:"); - addAndMakeVisible (&fileBrowser); - createButton.setComponentID ("createButton"); + addChildAndSetID (&createButton, "createButton"); createButton.setBounds ("right - 140, bottom - 24, parent.width - 10, parent.height - 10"); - addAndMakeVisible (&createButton); createButton.addListener (this); - cancelButton.setComponentID ("cancelButton"); + addChildAndSetID (&cancelButton, "cancelButton"); cancelButton.setBounds ("right - 140, createButton.top, createButton.left - 10, createButton.bottom"); - addAndMakeVisible (&cancelButton); cancelButton.addListener (this); updateCustomItems(); diff --git a/extras/Introjucer/Source/Project/jucer_ProjectContentComponent.cpp b/extras/Introjucer/Source/Project/jucer_ProjectContentComponent.cpp index 588047628b..951ec311cf 100644 --- a/extras/Introjucer/Source/Project/jucer_ProjectContentComponent.cpp +++ b/extras/Introjucer/Source/Project/jucer_ProjectContentComponent.cpp @@ -76,8 +76,7 @@ void ProjectContentComponent::setProject (Project* newProject) if (project != nullptr) { - addAndMakeVisible (projectTree = new TreeView()); - projectTree->setComponentID ("tree"); + addChildAndSetID (projectTree = new TreeView(), "tree"); projectTree->setRootItemVisible (true); projectTree->setMultiSelectEnabled (true); projectTree->setDefaultOpenness (true); @@ -93,9 +92,9 @@ void ProjectContentComponent::setProject (Project* newProject) projectTree->setBounds ("0, 0, left + " + lastTreeWidth + ", parent.height"); - addAndMakeVisible (resizerBar = new ResizableEdgeComponent (projectTree, &treeSizeConstrainer, - ResizableEdgeComponent::rightEdge)); - resizerBar->setComponentID ("resizer"); + addChildAndSetID (resizerBar = new ResizableEdgeComponent (projectTree, &treeSizeConstrainer, ResizableEdgeComponent::rightEdge), + "resizer"); + resizerBar->setBounds ("tree.right, 0, tree.right + 4, parent.height"); project->addChangeListener (this); diff --git a/extras/Introjucer/Source/Project/jucer_ProjectInformationComponent.cpp b/extras/Introjucer/Source/Project/jucer_ProjectInformationComponent.cpp index af796262be..d6c91d3e4d 100644 --- a/extras/Introjucer/Source/Project/jucer_ProjectInformationComponent.cpp +++ b/extras/Introjucer/Source/Project/jucer_ProjectInformationComponent.cpp @@ -7,7 +7,7 @@ the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded and re-saved. - Created for JUCE version: JUCE v2.0.9 + Created for JUCE version: JUCE v2.0.16 ------------------------------------------------------------------------------ @@ -795,25 +795,17 @@ private: ProjectInformationComponent::ProjectInformationComponent (Project& project_) : project (project_) { - addAndMakeVisible (&viewport); - viewport.setComponentID ("ykdBpb"); - viewport.setBounds (RelativeRectangle ("8, 8, parent.width - 8, parent.height - 74")); - viewport.setScrollBarThickness (16); - addAndMakeVisible (&openProjectButton); - openProjectButton.setComponentID ("a550a652e2666ee7"); - openProjectButton.setBounds (RelativeRectangle ("8, parent.height - 34, left + 227, top + 24")); - openProjectButton.setButtonText ("Open Project in "); + //[Constructor_pre] + //[/Constructor_pre] + addChildAndSetID (&viewport, "ykdBpb"); + addChildAndSetID (&openProjectButton, "a550a652e2666ee7"); + addChildAndSetID (&saveAndOpenButton, "dRGMyYx"); + addChildAndSetID (rollover = new RolloverHelpComp(), "QqLJBF"); + + initialiseComponentState(); + openProjectButton.addListener (this); - openProjectButton.setColour (TextButton::buttonColourId, Colour (0xffddddff)); - addAndMakeVisible (&saveAndOpenButton); - saveAndOpenButton.setComponentID ("dRGMyYx"); - saveAndOpenButton.setBounds (RelativeRectangle ("8, parent.height - 65, left + 227, top + 24")); - saveAndOpenButton.setButtonText ("Save And Open in"); saveAndOpenButton.addListener (this); - saveAndOpenButton.setColour (TextButton::buttonColourId, Colour (0xffddddff)); - addAndMakeVisible (rollover = new RolloverHelpComp()); - rollover->setComponentID ("QqLJBF"); - rollover->setBounds (RelativeRectangle ("246, parent.height - 68, parent.width - 8, parent.height - 4")); //[UserPreSize] viewport.setViewedComponent (new ProjectSettingsComponent (project), true); @@ -832,8 +824,7 @@ ProjectInformationComponent::ProjectInformationComponent (Project& project_) setSize (808, 638); - - //[Constructor] You can add your own custom stuff here.. + //[Constructor] project.addChangeListener (this); //[/Constructor] } @@ -843,26 +834,13 @@ ProjectInformationComponent::~ProjectInformationComponent() //[Destructor_pre]. You can add your own custom destruction code here.. project.removeChangeListener (this); //[/Destructor_pre] - - rollover = 0; - + rollover = nullptr; //[Destructor]. You can add your own custom destruction code here.. //[/Destructor] } //============================================================================== -void ProjectInformationComponent::resized() -{ - //[Userresized_Pre] - //[/Userresized_Pre] - - - - //[Userresized_Post] - //[/Userresized_Post] -} - void ProjectInformationComponent::buttonClicked (Button* buttonThatWasClicked) { //[UserbuttonClicked_Pre] @@ -870,13 +848,13 @@ void ProjectInformationComponent::buttonClicked (Button* buttonThatWasClicked) if (buttonThatWasClicked == &openProjectButton) { - //[UserButtonCode_a550a652e2666ee7] -- add your button handler code here.. - //[/UserButtonCode_a550a652e2666ee7] + //[UserButtonCode_openProjectButton] -- add your button handler code here.. + //[/UserButtonCode_openProjectButton] } else if (buttonThatWasClicked == &saveAndOpenButton) { - //[UserButtonCode_dRGMyYx] -- add your button handler code here.. - //[/UserButtonCode_dRGMyYx] + //[UserButtonCode_saveAndOpenButton] -- add your button handler code here.. + //[/UserButtonCode_saveAndOpenButton] } //[UserbuttonClicked_Post] @@ -893,6 +871,11 @@ void ProjectInformationComponent::paint (Graphics& g) //[/UserPaint] } +void ProjectInformationComponent::initialiseComponentState() +{ + BinaryData::ImageProvider imageProvider; + ComponentBuilder::initialiseFromValueTree (*this, getComponentState(), &imageProvider); +} //[MiscUserCode] You can add your own definitions of your custom methods or any other code here... @@ -903,7 +886,6 @@ void ProjectInformationComponent::changeListenerCallback (ChangeBroadcaster*) //[/MiscUserCode] - //============================================================================== //======================= Jucer Information Section ========================== //============================================================================== @@ -936,3 +918,18 @@ JUCER_COMPONENT_METADATA_START JUCER_COMPONENT_METADATA_END */ #endif + +ValueTree ProjectInformationComponent::getComponentState() +{ + const unsigned char data[] = + "COMPONENT\0\x01\x08id\0\x01\t\x05tO9EG1a\0""className\0\x01\x1d\x05ProjectInformationComponent\0width\0\x01\x05\x05""808\0height\0\x01\x05\x05""638\0""background\0\x01\x08\x05""f6f9ff\0parentClasses\0\x01)\x05public Component, public ChangeListener\0" + "constructorParams\0\x01\x13\x05Project& project_\0memberInitialisers\0\x01\x14\x05project (project_)\0\x01\x04""COMPONENTS\0\0\x01\x04VIEWPORT\0\x01\x06id\0\x01\x08\x05ykdBpb\0memberName\0\x01\n\x05viewport\0position\0\x01,\x05""8, 8, parent.width - " + "8, parent.height - 74\0scrollBarV\0\x01\x03\x05""1\0scrollBarH\0\x01\x03\x05""1\0scrollbarWidth\0\x01\x04\x05""16\0\0TEXTBUTTON\0\x01\x0fid\0\x01\x12\x05""a550a652e2666ee7\0memberName\0\x01\x13\x05openProjectButton\0""focusOrder\0\x01\x03\x05""0\0tex" + "t\0\x01\x12\x05Open Project in \0""createCallback\0\x01\x03\x05""1\0radioGroup\0\x01\x03\x05""0\0""connectedLeft\0\x01\x03\x05""0\0""connectedRight\0\x01\x03\x05""0\0""connectedTop\0\x01\x03\x05""0\0""connectedBottom\0\x01\x03\x05""0\0""backgroundCol" + "our\0\x01\n\x05""FFDDDDFF\0textColour\0\x01\x02\x05\0""backgroundColourOn\0\x01\x02\x05\0textColourOn\0\x01\x02\x05\0position\0\x01-\x05""8, parent.height - 34, left + 227, top + 24\0\0TEXTBUTTON\0\x01\x0cid\0\x01\t\x05""dRGMyYx\0name\0\x01\x02\x05\0" + "memberName\0\x01\x13\x05saveAndOpenButton\0position\0\x01-\x05""8, parent.height - 65, left + 227, top + 24\0text\0\x01\x12\x05Save And Open in\0""createCallback\0\x01\x03\x05""1\0radioGroup\0\x01\x03\x05""0\0""connectedLeft\0\x01\x03\x05""0\0""conne" + "ctedRight\0\x01\x03\x05""0\0""connectedTop\0\x01\x03\x05""0\0""connectedBottom\0\x01\x03\x05""0\0""backgroundColour\0\x01\n\x05""FFDDDDFF\0\0GENERICCOMPONENT\0\x01\x04id\0\x01\x08\x05QqLJBF\0memberName\0\x01\n\x05rollover\0position\0\x01>\x05""246, p" + "arent.height - 68, parent.width - 8, parent.height - 4\0""class\0\x01\x12\x05RolloverHelpComp\0\0MARKERS_X\0\0\0MARKERS_Y\0\0\0METHODS\0\0\0"; + + return ValueTree::readFromData (data, sizeof (data)); +} diff --git a/extras/Introjucer/Source/Project/jucer_ProjectInformationComponent.h b/extras/Introjucer/Source/Project/jucer_ProjectInformationComponent.h index c14e79c5d2..67dd0a434a 100644 --- a/extras/Introjucer/Source/Project/jucer_ProjectInformationComponent.h +++ b/extras/Introjucer/Source/Project/jucer_ProjectInformationComponent.h @@ -7,7 +7,7 @@ the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded and re-saved. - Created for JUCE version: JUCE v2.0.9 + Created for JUCE version: JUCE v2.0.16 ------------------------------------------------------------------------------ @@ -45,7 +45,6 @@ public: void changeListenerCallback (ChangeBroadcaster*); //[/UserMethods] - void resized(); void buttonClicked (Button* buttonThatWasClicked); void paint (Graphics& g); @@ -64,6 +63,9 @@ private: TextButton saveAndOpenButton; ScopedPointer rollover; + void initialiseComponentState(); + static ValueTree getComponentState(); + //============================================================================== JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ProjectInformationComponent); diff --git a/extras/JuceDemo/Builds/MacOSX/Juce Demo.xcodeproj/project.pbxproj b/extras/JuceDemo/Builds/MacOSX/Juce Demo.xcodeproj/project.pbxproj index 5bad6798f1..de98a1de91 100644 --- a/extras/JuceDemo/Builds/MacOSX/Juce Demo.xcodeproj/project.pbxproj +++ b/extras/JuceDemo/Builds/MacOSX/Juce Demo.xcodeproj/project.pbxproj @@ -2012,6 +2012,7 @@ INSTALL_PATH = "$(HOME)/Applications"; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; ONLY_ACTIVE_ARCH = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; @@ -2030,6 +2031,7 @@ MACOSX_DEPLOYMENT_TARGET = 10.4; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_PREPROCESSOR_DEFINITIONS = ( diff --git a/extras/JuceDemo/Builds/iOS/Juce Demo.xcodeproj/project.pbxproj b/extras/JuceDemo/Builds/iOS/Juce Demo.xcodeproj/project.pbxproj index e014797428..adae1a2f00 100644 --- a/extras/JuceDemo/Builds/iOS/Juce Demo.xcodeproj/project.pbxproj +++ b/extras/JuceDemo/Builds/iOS/Juce Demo.xcodeproj/project.pbxproj @@ -1999,6 +1999,7 @@ INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Applications"; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; ONLY_ACTIVE_ARCH = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; @@ -2015,6 +2016,7 @@ INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Applications"; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_PREPROCESSOR_DEFINITIONS = ( diff --git a/extras/audio plugin demo/Builds/MacOSX/JuceDemoPlugin.xcodeproj/project.pbxproj b/extras/audio plugin demo/Builds/MacOSX/JuceDemoPlugin.xcodeproj/project.pbxproj index a9012aa821..fd7db56303 100644 --- a/extras/audio plugin demo/Builds/MacOSX/JuceDemoPlugin.xcodeproj/project.pbxproj +++ b/extras/audio plugin demo/Builds/MacOSX/JuceDemoPlugin.xcodeproj/project.pbxproj @@ -1861,6 +1861,7 @@ OTHER_REZFLAGS = "-d ppc_$ppc -d i386_$i386 -d ppc64_$ppc64 -d x86_64_$x86_64 -I /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/A/Headers -I \"$(DEVELOPER_DIR)/Extras/CoreAudio/AudioUnits/AUPublic/AUBase\""; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; OTHER_LDFLAGS = "-bundle"; ONLY_ACTIVE_ARCH = YES; COPY_PHASE_STRIP = NO; @@ -1881,6 +1882,7 @@ OTHER_REZFLAGS = "-d ppc_$ppc -d i386_$i386 -d ppc64_$ppc64 -d x86_64_$x86_64 -I /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/A/Headers -I \"$(DEVELOPER_DIR)/Extras/CoreAudio/AudioUnits/AUPublic/AUBase\""; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; OTHER_LDFLAGS = "-bundle"; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_SYMBOLS_PRIVATE_EXTERN = YES; diff --git a/extras/audio plugin host/Builds/MacOSX/Plugin Host.xcodeproj/project.pbxproj b/extras/audio plugin host/Builds/MacOSX/Plugin Host.xcodeproj/project.pbxproj index 5b0a322138..b439ed185b 100644 --- a/extras/audio plugin host/Builds/MacOSX/Plugin Host.xcodeproj/project.pbxproj +++ b/extras/audio plugin host/Builds/MacOSX/Plugin Host.xcodeproj/project.pbxproj @@ -1933,6 +1933,7 @@ INSTALL_PATH = "$(HOME)/Applications"; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; ONLY_ACTIVE_ARCH = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; @@ -1950,6 +1951,7 @@ MACOSX_DEPLOYMENT_TARGET = 10.5; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_PREPROCESSOR_DEFINITIONS = ( diff --git a/extras/binarybuilder/Builds/MacOSX/BinaryBuilder.xcodeproj/project.pbxproj b/extras/binarybuilder/Builds/MacOSX/BinaryBuilder.xcodeproj/project.pbxproj index 89e5bcf1a0..4719f9d5b4 100644 --- a/extras/binarybuilder/Builds/MacOSX/BinaryBuilder.xcodeproj/project.pbxproj +++ b/extras/binarybuilder/Builds/MacOSX/BinaryBuilder.xcodeproj/project.pbxproj @@ -436,6 +436,7 @@ INSTALL_PATH = "/usr/bin"; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; ONLY_ACTIVE_ARCH = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; @@ -451,6 +452,7 @@ INSTALL_PATH = "/usr/bin"; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_PREPROCESSOR_DEFINITIONS = ( diff --git a/extras/example projects/Builds/MacOSX/HelloWorld.xcodeproj/project.pbxproj b/extras/example projects/Builds/MacOSX/HelloWorld.xcodeproj/project.pbxproj index dbf2d052e7..d30ca4c22b 100644 --- a/extras/example projects/Builds/MacOSX/HelloWorld.xcodeproj/project.pbxproj +++ b/extras/example projects/Builds/MacOSX/HelloWorld.xcodeproj/project.pbxproj @@ -1391,6 +1391,7 @@ INSTALL_PATH = "$(HOME)/Applications"; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; ONLY_ACTIVE_ARCH = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; @@ -1406,6 +1407,7 @@ INSTALL_PATH = "$(HOME)/Applications"; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_PREPROCESSOR_DEFINITIONS = ( diff --git a/extras/example projects/Builds/iOS/HelloWorld.xcodeproj/project.pbxproj b/extras/example projects/Builds/iOS/HelloWorld.xcodeproj/project.pbxproj index 3bc85eda2d..934dd29339 100644 --- a/extras/example projects/Builds/iOS/HelloWorld.xcodeproj/project.pbxproj +++ b/extras/example projects/Builds/iOS/HelloWorld.xcodeproj/project.pbxproj @@ -1390,6 +1390,7 @@ INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Applications"; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; ONLY_ACTIVE_ARCH = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; @@ -1404,6 +1405,7 @@ INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Applications"; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_PREPROCESSOR_DEFINITIONS = ( diff --git a/extras/static library/Builds/MacOSX/juce.xcodeproj/project.pbxproj b/extras/static library/Builds/MacOSX/juce.xcodeproj/project.pbxproj index 2421a37bc4..75efbb0ff0 100644 --- a/extras/static library/Builds/MacOSX/juce.xcodeproj/project.pbxproj +++ b/extras/static library/Builds/MacOSX/juce.xcodeproj/project.pbxproj @@ -1836,6 +1836,7 @@ DEPLOYMENT_LOCATION = YES; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; ONLY_ACTIVE_ARCH = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; @@ -1852,6 +1853,7 @@ DEPLOYMENT_LOCATION = YES; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_PREPROCESSOR_DEFINITIONS = ( diff --git a/extras/the jucer/Builds/MacOSX/Jucer.xcodeproj/project.pbxproj b/extras/the jucer/Builds/MacOSX/Jucer.xcodeproj/project.pbxproj index 1238b628f1..045c887b64 100644 --- a/extras/the jucer/Builds/MacOSX/Jucer.xcodeproj/project.pbxproj +++ b/extras/the jucer/Builds/MacOSX/Jucer.xcodeproj/project.pbxproj @@ -1654,6 +1654,7 @@ INSTALL_PATH = "$(HOME)/Applications"; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; ONLY_ACTIVE_ARCH = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; @@ -1669,6 +1670,7 @@ INSTALL_PATH = "$(HOME)/Applications"; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_PREPROCESSOR_DEFINITIONS = (