| @@ -13,12 +13,12 @@ ifeq ($(CONFIG),Debug) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Debug | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0 | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../.././bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := libjucedebug.a | |||
| BLDCMD = ar -rcs $(OUTDIR)/$(TARGET) $(OBJECTS) $(TARGET_ARCH) | |||
| endif | |||
| @@ -28,12 +28,12 @@ ifeq ($(CONFIG),Release) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Release | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../.././bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := libjuce.a | |||
| BLDCMD = ar -rcs $(OUTDIR)/$(TARGET) $(OBJECTS) $(TARGET_ARCH) | |||
| endif | |||
| @@ -1862,9 +1862,9 @@ | |||
| GCC_DYNAMIC_NO_PIC = NO; | |||
| GCC_ENABLE_FIX_AND_CONTINUE = NO; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_DEBUG=1", | |||
| "DEBUG=1 "); }; name = Debug; }; | |||
| "DEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Debug; }; | |||
| 9DE19CD5BB8E12A153385ADD = { isa = XCBuildConfiguration; buildSettings = { | |||
| ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | |||
| PREBINDING = NO; | |||
| @@ -1879,9 +1879,9 @@ | |||
| GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = YES; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_NDEBUG=1", | |||
| "NDEBUG=1 "); }; name = Release; }; | |||
| "NDEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Release; }; | |||
| 8E935B9E7F2982A06CD7EF99 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ALWAYS_SEARCH_USER_PATHS = NO; | |||
| GCC_C_LANGUAGE_STANDARD = c99; | |||
| @@ -1891,6 +1891,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = NO; | |||
| @@ -1906,6 +1907,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = NO; | |||
| @@ -26,7 +26,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="3" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG;_LIB" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;_LIB;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -69,7 +69,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG;_LIB" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_LIB;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -26,7 +26,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="3" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG;_LIB" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;_LIB;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -69,7 +69,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG;_LIB" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_LIB;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -26,7 +26,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="3" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_9A63150B;WIN32;_WINDOWS;_DEBUG;_LIB;JUCE_DLL_BUILD=1;JUCE_DLL=1" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;_LIB;JUCE_DLL_BUILD=1;JUCE_DLL=1;JUCER_VS2008_9A63150B=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -70,7 +70,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_9A63150B;WIN32;_WINDOWS;NDEBUG;_LIB;JUCE_DLL_BUILD=1;JUCE_DLL=1" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_LIB;JUCE_DLL_BUILD=1;JUCE_DLL=1;JUCER_VS2008_9A63150B=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -54,7 +54,7 @@ | |||
| <Optimization>Disabled</Optimization> | |||
| <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | |||
| <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
| <PreprocessorDefinitions>JUCER_VS2010_78A501D;WIN32;_WINDOWS;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <PreprocessorDefinitions>WIN32;_WINDOWS;DEBUG;_DEBUG;_LIB;JUCER_VS2010_78A501D=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | |||
| <RuntimeTypeInfo>true</RuntimeTypeInfo> | |||
| <PrecompiledHeader/> | |||
| @@ -92,7 +92,7 @@ | |||
| <ClCompile> | |||
| <Optimization>MaxSpeed</Optimization> | |||
| <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
| <PreprocessorDefinitions>JUCER_VS2010_78A501D;WIN32;_WINDOWS;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;_LIB;JUCER_VS2010_78A501D=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | |||
| <RuntimeTypeInfo>true</RuntimeTypeInfo> | |||
| <PrecompiledHeader/> | |||
| @@ -1862,9 +1862,9 @@ | |||
| GCC_DYNAMIC_NO_PIC = NO; | |||
| GCC_ENABLE_FIX_AND_CONTINUE = NO; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1", | |||
| "_DEBUG=1", | |||
| "DEBUG=1 "); }; name = Debug; }; | |||
| "DEBUG=1", | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1"); }; name = Debug; }; | |||
| 9DE19CD5BB8E12A153385ADD = { isa = XCBuildConfiguration; buildSettings = { | |||
| ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | |||
| PREBINDING = NO; | |||
| @@ -1879,9 +1879,9 @@ | |||
| GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = YES; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1", | |||
| "_NDEBUG=1", | |||
| "NDEBUG=1 "); }; name = Release; }; | |||
| "NDEBUG=1", | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1"); }; name = Release; }; | |||
| 8E935B9E7F2982A06CD7EF99 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ALWAYS_SEARCH_USER_PATHS = NO; | |||
| GCC_C_LANGUAGE_STANDARD = c99; | |||
| @@ -1891,6 +1891,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = NO; | |||
| @@ -1906,6 +1907,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = NO; | |||
| @@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Debug | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0 | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := Jucer | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -32,12 +32,12 @@ ifeq ($(CONFIG),Release) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Release | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -O3 | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := Jucer | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -254,9 +254,9 @@ | |||
| GCC_DYNAMIC_NO_PIC = NO; | |||
| GCC_ENABLE_FIX_AND_CONTINUE = NO; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_DEBUG=1", | |||
| "DEBUG=1 "); }; name = Debug; }; | |||
| "DEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Debug; }; | |||
| 673FACB8969ADED17ACEFF7C = { isa = XCBuildConfiguration; buildSettings = { | |||
| ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | |||
| PREBINDING = NO; | |||
| @@ -268,9 +268,9 @@ | |||
| GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = YES; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_NDEBUG=1", | |||
| "NDEBUG=1 "); }; name = Release; }; | |||
| "NDEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Release; }; | |||
| 69D26A715A354ED1735D8438 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ALWAYS_SEARCH_USER_PATHS = NO; | |||
| GCC_C_LANGUAGE_STANDARD = c99; | |||
| @@ -280,6 +280,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -294,6 +295,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -54,7 +54,7 @@ | |||
| <Optimization>Disabled</Optimization> | |||
| <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | |||
| <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
| <PreprocessorDefinitions>JUCER_VS2010_78A501D;WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <PreprocessorDefinitions>WIN32;_WINDOWS;DEBUG;_DEBUG;JUCER_VS2010_78A501D=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | |||
| <RuntimeTypeInfo>true</RuntimeTypeInfo> | |||
| <PrecompiledHeader/> | |||
| @@ -92,7 +92,7 @@ | |||
| <ClCompile> | |||
| <Optimization>MaxSpeed</Optimization> | |||
| <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
| <PreprocessorDefinitions>JUCER_VS2010_78A501D;WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;JUCER_VS2010_78A501D=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | |||
| <RuntimeTypeInfo>true</RuntimeTypeInfo> | |||
| <PrecompiledHeader/> | |||
| @@ -219,7 +219,7 @@ class Unzipper : public ThreadWithProgressWindow | |||
| public: | |||
| Unzipper (ZipFile& zipFile_, const File& targetDir_) | |||
| : ThreadWithProgressWindow ("Unzipping...", true, true), | |||
| zipFile (zipFile_), targetDir (targetDir_), worked (true) | |||
| worked (true), zipFile (zipFile_), targetDir (targetDir_) | |||
| { | |||
| } | |||
| @@ -389,8 +389,8 @@ Component* JuceUpdater::refreshComponentForRow (int rowNumber, bool isRowSelecte | |||
| private: | |||
| JuceUpdater& updater; | |||
| TextButton applyButton; | |||
| VersionInfo* version; | |||
| TextButton applyButton; | |||
| }; | |||
| UpdateListComponent* c = dynamic_cast <UpdateListComponent*> (existingComponentToUpdate); | |||
| @@ -226,11 +226,13 @@ void Project::valueTreeParentChanged (ValueTree& tree) | |||
| } | |||
| //============================================================================== | |||
| const File Project::resolveFilename (const String& filename) const | |||
| const File Project::resolveFilename (String filename) const | |||
| { | |||
| if (filename.isEmpty()) | |||
| return File::nonexistent; | |||
| filename = replacePreprocessorDefs (getPreprocessorDefs(), filename); | |||
| if (File::isAbsolutePath (filename)) | |||
| return File (filename); | |||
| @@ -411,6 +413,9 @@ void Project::createPropertyEditors (Array <PropertyComponent*>& props) | |||
| "ePlugInCategory_Dither, ePlugInCategory_SoundField"); | |||
| } | |||
| props.add (new TextPropertyComponent (getProjectPreprocessorDefs(), "Preprocessor definitions", 32768, false)); | |||
| props.getLast()->setTooltip ("Extra preprocessor definitions. Use the form \"NAME1=value NAME2=value\", using whitespace or commas to separate the items - to include a space or comma in a definition, precede it with a backslash."); | |||
| for (int i = props.size(); --i >= 0;) | |||
| props.getUnchecked(i)->setPreferredHeight (22); | |||
| } | |||
| @@ -435,6 +440,11 @@ const Image Project::getSmallIcon() | |||
| return Image(); | |||
| } | |||
| const StringPairArray Project::getPreprocessorDefs() const | |||
| { | |||
| return parsePreprocessorDefs (getProjectPreprocessorDefs().toString()); | |||
| } | |||
| //============================================================================== | |||
| Project::Item Project::getMainGroup() | |||
| { | |||
| @@ -954,8 +964,8 @@ void Project::BuildConfiguration::createPropertyEditors (Array <PropertyComponen | |||
| props.add (new TextPropertyComponent (getHeaderSearchPath(), "Header search path", 16384, false)); | |||
| props.getLast()->setTooltip ("Extra header search paths. Use semi-colons to separate multiple paths."); | |||
| props.add (new TextPropertyComponent (getPreprocessorDefs(), "Preprocessor definitions", 32768, false)); | |||
| props.getLast()->setTooltip ("Extra preprocessor definitions. Use whitespace or commas as a delimiter."); | |||
| props.add (new TextPropertyComponent (getBuildConfigPreprocessorDefs(), "Preprocessor definitions", 32768, false)); | |||
| props.getLast()->setTooltip ("Extra preprocessor definitions. Use the form \"NAME1=value NAME2=value\", using whitespace or commas to separate the items - to include a space or comma in a definition, precede it with a backslash."); | |||
| if (getMacSDKVersion().toString().isEmpty()) | |||
| getMacSDKVersion() = osxVersionDefault; | |||
| @@ -976,12 +986,10 @@ void Project::BuildConfiguration::createPropertyEditors (Array <PropertyComponen | |||
| props.getUnchecked(i)->setPreferredHeight (22); | |||
| } | |||
| const StringArray Project::BuildConfiguration::parsePreprocessorDefs() const | |||
| const StringPairArray Project::BuildConfiguration::getAllPreprocessorDefs() const | |||
| { | |||
| StringArray defines; | |||
| defines.addTokens (getPreprocessorDefs().toString(), " ,;", String::empty); | |||
| defines.removeEmptyStrings (true); | |||
| return defines; | |||
| return mergePreprocessorDefs (project->getPreprocessorDefs(), | |||
| parsePreprocessorDefs (getBuildConfigPreprocessorDefs().toString())); | |||
| } | |||
| const StringArray Project::BuildConfiguration::getHeaderSearchPaths() const | |||
| @@ -56,7 +56,7 @@ public: | |||
| //============================================================================== | |||
| bool shouldBeAddedToBinaryResourcesByDefault (const File& file); | |||
| const File resolveFilename (const String& filename) const; | |||
| const File resolveFilename (String filename) const; | |||
| const String getRelativePathForFile (const File& file) const; | |||
| //============================================================================== | |||
| @@ -102,6 +102,9 @@ public: | |||
| //============================================================================== | |||
| Value getProjectValue (const Identifier& name) const { return projectRoot.getPropertyAsValue (name, getUndoManagerFor (projectRoot)); } | |||
| Value getProjectPreprocessorDefs() const { return getProjectValue (Ids::defines); } | |||
| const StringPairArray getPreprocessorDefs() const; | |||
| Value getBigIconImageItemID() const { return getProjectValue ("bigIcon"); } | |||
| Value getSmallIconImageItemID() const { return getProjectValue ("smallIcon"); } | |||
| const Image getBigIcon(); | |||
| @@ -238,8 +241,8 @@ public: | |||
| Value getTargetBinaryRelativePath() const { return getValue (Ids::binaryPath); } | |||
| Value getOptimisationLevel() const { return getValue (Ids::optimisation); } | |||
| const String getGCCOptimisationFlag() const; | |||
| Value getPreprocessorDefs() const { return getValue (Ids::defines); } | |||
| const StringArray parsePreprocessorDefs() const; | |||
| Value getBuildConfigPreprocessorDefs() const { return getValue (Ids::defines); } | |||
| const StringPairArray getAllPreprocessorDefs() const; // includes inherited definitions | |||
| Value getHeaderSearchPath() const { return getValue (Ids::headerPath); } | |||
| const StringArray getHeaderSearchPaths() const; | |||
| @@ -136,28 +136,48 @@ protected: | |||
| const String getPreprocessorDefs (const Project::BuildConfiguration& config, const String& joinString) const | |||
| { | |||
| StringArray defines; | |||
| defines.add (getExporterIdentifierMacro()); | |||
| defines.add ("WIN32"); | |||
| defines.add ("_WINDOWS"); | |||
| defines.add (config.isDebug().getValue() ? "_DEBUG" : "NDEBUG"); | |||
| StringPairArray defines; | |||
| defines.set ("WIN32", ""); | |||
| defines.set ("_WINDOWS", ""); | |||
| if (config.isDebug().getValue()) | |||
| { | |||
| defines.set ("DEBUG", ""); | |||
| defines.set ("_DEBUG", ""); | |||
| } | |||
| else | |||
| { | |||
| defines.set ("NDEBUG", ""); | |||
| } | |||
| if (project.isCommandLineApp()) | |||
| defines.add ("_CONSOLE"); | |||
| defines.set ("_CONSOLE", ""); | |||
| if (project.isLibrary()) | |||
| defines.add ("_LIB"); | |||
| defines.set ("_LIB", ""); | |||
| if (isRTAS()) | |||
| { | |||
| RelativePath rtasFolder (getRTASFolder().toString(), RelativePath::unknown); | |||
| defines.add ("JucePlugin_WinBag_path=" | |||
| + CodeHelpers::addEscapeChars (rtasFolder.getChildFile ("WinBag") | |||
| .toWindowsStyle().quoted())); | |||
| defines.set ("JucePlugin_WinBag_path", CodeHelpers::addEscapeChars (rtasFolder.getChildFile ("WinBag") | |||
| .toWindowsStyle().quoted())); | |||
| } | |||
| defines = mergePreprocessorDefs (defines, getAllPreprocessorDefs (config)); | |||
| StringArray result; | |||
| for (int i = 0; i < defines.size(); ++i) | |||
| { | |||
| String def (defines.getAllKeys()[i]); | |||
| const String value (defines.getAllValues()[i]); | |||
| if (value.isNotEmpty()) | |||
| def << "=" << value; | |||
| result.add (def); | |||
| } | |||
| defines.addArray (config.parsePreprocessorDefs()); | |||
| defines.addArray (parsePreprocessorDefs()); | |||
| return defines.joinIntoString (joinString); | |||
| return result.joinIntoString (joinString); | |||
| } | |||
| const StringArray getHeaderSearchPaths (const Project::BuildConfiguration& config) const | |||
| @@ -692,8 +712,9 @@ protected: | |||
| compiler->setAttribute ("WarningLevel", "4"); | |||
| compiler->setAttribute ("SuppressStartupBanner", "true"); | |||
| if (getExtraCompilerFlags().toString().isNotEmpty()) | |||
| compiler->setAttribute ("AdditionalOptions", getExtraCompilerFlags().toString().trim()); | |||
| const String extraFlags (replacePreprocessorTokens (config, getExtraCompilerFlags().toString()).trim()); | |||
| if (extraFlags.isNotEmpty()) | |||
| compiler->setAttribute ("AdditionalOptions", extraFlags); | |||
| } | |||
| createToolElement (xml, "VCManagedResourceCompilerTool"); | |||
| @@ -743,7 +764,7 @@ protected: | |||
| } | |||
| if (extraLinkerOptions.isNotEmpty()) | |||
| linker->setAttribute ("AdditionalOptions", extraLinkerOptions.trim()); | |||
| linker->setAttribute ("AdditionalOptions", replacePreprocessorTokens (config, extraLinkerOptions).trim()); | |||
| } | |||
| else | |||
| { | |||
| @@ -753,7 +774,7 @@ protected: | |||
| String extraLinkerOptions (getExtraLinkerFlags().toString()); | |||
| extraLinkerOptions << " /IMPLIB:" << FileHelpers::windowsStylePath (binariesPath + "/" + outputFileName.upToLastOccurrenceOf (".", false, false) + ".lib"); | |||
| linker->setAttribute ("AdditionalOptions", extraLinkerOptions.trim()); | |||
| linker->setAttribute ("AdditionalOptions", replacePreprocessorTokens (config, extraLinkerOptions).trim()); | |||
| linker->setAttribute ("OutputFile", FileHelpers::windowsStylePath (binariesPath + "/" + outputFileName)); | |||
| linker->setAttribute ("IgnoreDefaultLibraryNames", isDebug ? "libcmt.lib, msvcrt.lib" : ""); | |||
| @@ -969,7 +990,7 @@ private: | |||
| << "# ADD CPP /nologo " << (isDebug ? "/MTd" : "/MT") << " /W3 /GR /GX /" << optimisationFlag | |||
| << " /I " << getHeaderSearchPaths (config).joinIntoString (" /I ") | |||
| << " /D " << defines << " /D \"_UNICODE\" /D \"UNICODE\" /FD /c /Zm1024 " << extraDebugFlags | |||
| << " " << getExtraCompilerFlags().toString().trim() << newLine; | |||
| << " " << replacePreprocessorTokens (config, getExtraCompilerFlags().toString()).trim() << newLine; | |||
| if (! isDebug) | |||
| out << "# SUBTRACT CPP /YX" << newLine; | |||
| @@ -1000,7 +1021,7 @@ private: | |||
| << " /nologo /machine:I386 /out:\"" << targetBinary << "\" " | |||
| << (isDLL ? "/dll" : (project.isCommandLineApp() ? "/subsystem:console " | |||
| : "/subsystem:windows ")) | |||
| << getExtraLinkerFlags().toString().trim() << newLine; | |||
| << replacePreprocessorTokens (config, getExtraLinkerFlags().toString()).trim() << newLine; | |||
| } | |||
| } | |||
| @@ -128,25 +128,30 @@ private: | |||
| void writeDefineFlags (OutputStream& out, const Project::BuildConfiguration& config) | |||
| { | |||
| StringArray defines; | |||
| defines.add (getExporterIdentifierMacro() + "=1"); | |||
| defines.add ("LINUX=1"); | |||
| StringPairArray defines; | |||
| defines.set ("LINUX", "1"); | |||
| if (config.isDebug().getValue()) | |||
| { | |||
| defines.add ("DEBUG=1"); | |||
| defines.add ("_DEBUG=1"); | |||
| defines.set ("DEBUG", "1"); | |||
| defines.set ("_DEBUG", "1"); | |||
| } | |||
| else | |||
| { | |||
| defines.add ("NDEBUG=1"); | |||
| defines.set ("NDEBUG", "1"); | |||
| } | |||
| defines.addArray (config.parsePreprocessorDefs()); | |||
| defines.addArray (parsePreprocessorDefs()); | |||
| defines = mergePreprocessorDefs (defines, getAllPreprocessorDefs (config)); | |||
| for (int i = 0; i < defines.size(); ++i) | |||
| out << " -D " << defines[i].quoted(); | |||
| { | |||
| String def (defines.getAllKeys()[i]); | |||
| const String value (defines.getAllValues()[i]); | |||
| if (value.isNotEmpty()) | |||
| def << "=" << value; | |||
| out << " -D " << def.quoted(); | |||
| } | |||
| } | |||
| void writeHeaderPathFlags (OutputStream& out, const Project::BuildConfiguration& config) | |||
| @@ -198,7 +203,7 @@ private: | |||
| for (int i = 0; i < libs.size(); ++i) | |||
| out << " -l" << libs[i]; | |||
| out << " " << getExtraLinkerFlags().toString().trim() | |||
| out << " " << replacePreprocessorTokens (config, getExtraLinkerFlags().toString()).trim() | |||
| << newLine; | |||
| } | |||
| @@ -225,7 +230,7 @@ private: | |||
| out << " -O" << config.getGCCOptimisationFlag() << newLine; | |||
| out << " CXXFLAGS += $(CFLAGS) " << getExtraCompilerFlags().toString().trim() << newLine; | |||
| out << " CXXFLAGS += $(CFLAGS) " << replacePreprocessorTokens (config, getExtraCompilerFlags().toString()).trim() << newLine; | |||
| writeLinkerFlags (out, config); | |||
| @@ -352,7 +352,8 @@ private: | |||
| addPlistDictionaryKey (dict, "CFBundleVersion", project.getVersion().toString()); | |||
| StringArray documentExtensions; | |||
| documentExtensions.addTokens (getSetting ("documentExtensions").toString(), ",", String::empty); | |||
| documentExtensions.addTokens (replacePreprocessorDefs (project.getPreprocessorDefs(), getSetting ("documentExtensions").toString()), | |||
| ",", String::empty); | |||
| documentExtensions.trim(); | |||
| documentExtensions.removeEmptyStrings (true); | |||
| @@ -475,7 +476,7 @@ private: | |||
| getLinkerFlagsForStaticLibrary (juceLib, flags, librarySearchPaths); | |||
| } | |||
| flags.add (getExtraLinkerFlags().toString()); | |||
| flags.add (replacePreprocessorTokens (config, getExtraLinkerFlags().toString())); | |||
| flags.removeEmptyStrings (true); | |||
| } | |||
| @@ -521,8 +522,9 @@ private: | |||
| s.add ("GCC_OPTIMIZATION_LEVEL = " + config.getGCCOptimisationFlag()); | |||
| s.add ("INFOPLIST_FILE = " + infoPlistFile.getFileName()); | |||
| if (getExtraCompilerFlags().toString().isNotEmpty()) | |||
| s.add ("OTHER_CPLUSPLUSFLAGS = " + getExtraCompilerFlags().toString()); | |||
| const String extraFlags (replacePreprocessorTokens (config, getExtraCompilerFlags().toString()).trim()); | |||
| if (extraFlags.isNotEmpty()) | |||
| s.add ("OTHER_CPLUSPLUSFLAGS = " + extraFlags); | |||
| if (project.isGUIApplication()) | |||
| { | |||
| @@ -616,14 +618,12 @@ private: | |||
| } | |||
| } | |||
| StringArray defines; | |||
| defines.add (getExporterIdentifierMacro() + "=1"); | |||
| StringPairArray defines; | |||
| if (config.isDebug().getValue()) | |||
| { | |||
| defines.add ("_DEBUG=1"); | |||
| defines.add ("DEBUG=1 "); | |||
| defines.set ("_DEBUG", "1"); | |||
| defines.set ("DEBUG", "1"); | |||
| s.add ("ONLY_ACTIVE_ARCH = YES"); | |||
| s.add ("COPY_PHASE_STRIP = NO"); | |||
| s.add ("GCC_DYNAMIC_NO_PIC = NO"); | |||
| @@ -631,8 +631,8 @@ private: | |||
| } | |||
| else | |||
| { | |||
| defines.add ("_NDEBUG=1"); | |||
| defines.add ("NDEBUG=1 "); | |||
| defines.set ("_NDEBUG", "1"); | |||
| defines.set ("NDEBUG", "1"); | |||
| s.add ("GCC_GENERATE_DEBUGGING_SYMBOLS = NO"); | |||
| s.add ("GCC_SYMBOLS_PRIVATE_EXTERN = YES"); | |||
| } | |||
| @@ -640,17 +640,25 @@ private: | |||
| { | |||
| const String objCSuffix (getSetting ("objCExtraSuffix").toString().trim()); | |||
| if (objCSuffix.isNotEmpty()) | |||
| defines.add ("JUCE_ObjCExtraSuffix=" + objCSuffix); | |||
| defines.set ("JUCE_ObjCExtraSuffix", replacePreprocessorTokens (config, objCSuffix)); | |||
| } | |||
| { | |||
| defines.addArray (config.parsePreprocessorDefs()); | |||
| defines.addArray (parsePreprocessorDefs()); | |||
| defines = mergePreprocessorDefs (defines, getAllPreprocessorDefs (config)); | |||
| StringArray defsList; | |||
| for (int i = defines.size(); --i >= 0;) | |||
| defines.set (i, defines[i].quoted()); | |||
| for (int i = 0; i < defines.size(); ++i) | |||
| { | |||
| String def (defines.getAllKeys()[i]); | |||
| const String value (defines.getAllValues()[i]); | |||
| if (value.isNotEmpty()) | |||
| def << "=" << value; | |||
| defsList.add (def.quoted()); | |||
| } | |||
| s.add ("GCC_PREPROCESSOR_DEFINITIONS = (" + indentList (defines, ",") + ")"); | |||
| s.add ("GCC_PREPROCESSOR_DEFINITIONS = (" + indentList (defsList, ",") + ")"); | |||
| } | |||
| return s; | |||
| @@ -176,12 +176,13 @@ void ProjectExporter::createPropertyEditors (Array <PropertyComponent*>& props) | |||
| } | |||
| } | |||
| props.add (new TextPropertyComponent (getExtraPreprocessorDefs(), "Extra Preprocessor Definitions", 32768, false)); | |||
| props.getLast()->setTooltip ("Extra preprocessor definitions. Use whitespace or commas as a delimiter."); | |||
| props.add (new TextPropertyComponent (getExporterPreprocessorDefs(), "Extra Preprocessor Definitions", 32768, false)); | |||
| props.getLast()->setTooltip ("Extra preprocessor definitions. Use the form \"NAME1=value NAME2=value\", using whitespace or commas to separate the items - to include a space or comma in a definition, precede it with a backslash."); | |||
| props.add (new TextPropertyComponent (getExtraCompilerFlags(), "Extra compiler flags", 2048, false)); | |||
| props.getLast()->setTooltip ("Extra command-line flags to be passed to the compiler"); | |||
| props.getLast()->setTooltip ("Extra command-line flags to be passed to the compiler. This string can contain references to preprocessor definitions in the form ${NAME_OF_DEFINITION}, which will be replaced with their values."); | |||
| props.add (new TextPropertyComponent (getExtraLinkerFlags(), "Extra linker flags", 2048, false)); | |||
| props.getLast()->setTooltip ("Extra command-line flags to be passed to the linker. You might want to use this for adding additional libraries"); | |||
| props.getLast()->setTooltip ("Extra command-line flags to be passed to the linker. You might want to use this for adding additional libraries. This string can contain references to preprocessor definitions in the form ${NAME_OF_VALUE}, which will be replaced with their values."); | |||
| } | |||
| const Array<RelativePath> ProjectExporter::getVSTFilesRequired() const | |||
| @@ -199,10 +200,15 @@ const Array<RelativePath> ProjectExporter::getVSTFilesRequired() const | |||
| return s; | |||
| } | |||
| const StringArray ProjectExporter::parsePreprocessorDefs() const | |||
| const StringPairArray ProjectExporter::getAllPreprocessorDefs (const Project::BuildConfiguration& config) const | |||
| { | |||
| StringPairArray defs (mergePreprocessorDefs (config.getAllPreprocessorDefs(), | |||
| parsePreprocessorDefs (getExporterPreprocessorDefs().toString()))); | |||
| defs.set (getExporterIdentifierMacro(), "1"); | |||
| return defs; | |||
| } | |||
| const String ProjectExporter::replacePreprocessorTokens (const Project::BuildConfiguration& config, const String& sourceString) const | |||
| { | |||
| StringArray defines; | |||
| defines.addTokens (getExtraPreprocessorDefs().toString(), " ,;", String::empty); | |||
| defines.removeEmptyStrings (true); | |||
| return defines; | |||
| return replacePreprocessorDefs (getAllPreprocessorDefs (config), sourceString); | |||
| } | |||
| @@ -77,8 +77,11 @@ public: | |||
| Value getExtraCompilerFlags() const { return getSetting (Ids::extraCompilerFlags); } | |||
| Value getExtraLinkerFlags() const { return getSetting (Ids::extraLinkerFlags); } | |||
| Value getExtraPreprocessorDefs() const { return getSetting (Ids::extraDefs); } | |||
| const StringArray parsePreprocessorDefs() const; | |||
| Value getExporterPreprocessorDefs() const { return getSetting (Ids::extraDefs); } | |||
| const StringPairArray getAllPreprocessorDefs (const Project::BuildConfiguration& config) const; // includes inherited ones.. | |||
| const String replacePreprocessorTokens (const Project::BuildConfiguration& config, | |||
| const String& sourceString) const; | |||
| // This adds the quotes, and may return angle-brackets, eg: <foo/bar.h> or normal quotes. | |||
| const String getIncludePathForFileInJuceFolder (const String& pathFromJuceFolder, const File& targetIncludeFile) const; | |||
| @@ -75,6 +75,77 @@ const String createGUID (const String& seed) | |||
| return guid; | |||
| } | |||
| //============================================================================== | |||
| static void skipWhitespace (const String& s, int& i) | |||
| { | |||
| while (CharacterFunctions::isWhitespace (s[i])) | |||
| ++i; | |||
| } | |||
| const StringPairArray parsePreprocessorDefs (const String& s) | |||
| { | |||
| StringPairArray result; | |||
| int i = 0; | |||
| while (s[i] != 0) | |||
| { | |||
| String token, value; | |||
| skipWhitespace (s, i); | |||
| while (s[i] != 0 && s[i] != '=' && ! CharacterFunctions::isWhitespace (s[i])) | |||
| token << s[i++]; | |||
| skipWhitespace (s, i); | |||
| if (s[i] == '=') | |||
| { | |||
| ++i; | |||
| skipWhitespace (s, i); | |||
| while (s[i] != 0 && ! CharacterFunctions::isWhitespace (s[i])) | |||
| { | |||
| if (s[i] == ',') | |||
| { | |||
| ++i; | |||
| break; | |||
| } | |||
| if (s[i] == '\\' && (s[i + 1] == ' ' || s[i + 1] == ',')) | |||
| ++i; | |||
| value << s[i++]; | |||
| } | |||
| } | |||
| if (token.isNotEmpty()) | |||
| result.set (token, value); | |||
| } | |||
| return result; | |||
| } | |||
| const StringPairArray mergePreprocessorDefs (StringPairArray inheritedDefs, const StringPairArray& overridingDefs) | |||
| { | |||
| for (int i = 0; i < overridingDefs.size(); ++i) | |||
| inheritedDefs.set (overridingDefs.getAllKeys()[i], overridingDefs.getAllValues()[i]); | |||
| return inheritedDefs; | |||
| } | |||
| const String replacePreprocessorDefs (const StringPairArray& definitions, String sourceString) | |||
| { | |||
| for (int i = 0; i < definitions.size(); ++i) | |||
| { | |||
| const String key (definitions.getAllKeys()[i]); | |||
| const String value (definitions.getAllValues()[i]); | |||
| sourceString = sourceString.replace ("${" + key + "}", value); | |||
| } | |||
| return sourceString; | |||
| } | |||
| //============================================================================== | |||
| void autoScrollForMouseEvent (const MouseEvent& e, bool scrollX, bool scrollY) | |||
| { | |||
| @@ -33,6 +33,10 @@ const String hexString8Digits (int value); | |||
| const String createAlphaNumericUID(); | |||
| const String createGUID (const String& seed); // Turns a seed into a windows GUID | |||
| const StringPairArray parsePreprocessorDefs (const String& defs); | |||
| const StringPairArray mergePreprocessorDefs (StringPairArray inheritedDefs, const StringPairArray& overridingDefs); | |||
| const String replacePreprocessorDefs (const StringPairArray& definitions, String sourceString); | |||
| //============================================================================== | |||
| int indexOfLineStartingWith (const StringArray& lines, const String& text, int startIndex); | |||
| @@ -105,6 +105,9 @@ namespace Ids | |||
| DECLARE_ID (constructorParams); | |||
| DECLARE_ID (memberInitialisers); | |||
| DECLARE_ID (lossOfFocusDiscardsChanges); | |||
| DECLARE_ID (url); | |||
| DECLARE_ID (rootItemVisible); | |||
| DECLARE_ID (openByDefault); | |||
| const Identifier class_ ("class"); | |||
| const Identifier id_ ("id"); | |||
| @@ -12,9 +12,9 @@ | |||
| <XCODE_MAC targetFolder="Builds/MacOSX" vstFolder="~/SDKs/vstsdk2.4" rtasFolder="~/SDKs/PT_80_SDK" | |||
| juceFolder="../../../juce"/> | |||
| <VS2005 targetFolder="Builds/VisualStudio2005" vstFolder="c:\SDKs\vstsdk2.4" | |||
| rtasFolder="c:\SDKs\PT_80_SDK" juceFolder="../../../juce"/> | |||
| rtasFolder="c:\SDKs\PT_80_SDK" juceFolder="../../../juce" libraryType="1"/> | |||
| <VS2008 targetFolder="Builds/VisualStudio2008" vstFolder="c:\SDKs\vstsdk2.4" | |||
| rtasFolder="c:\SDKs\PT_80_SDK" juceFolder="../../../juce"/> | |||
| rtasFolder="c:\SDKs\PT_80_SDK" juceFolder="../../../juce" libraryType="1"/> | |||
| <LINUX_MAKE targetFolder="Builds/Linux" vstFolder="~/SDKs/vstsdk2.4" juceFolder="../../../juce"/> | |||
| </EXPORTFORMATS> | |||
| <CONFIGURATIONS> | |||
| @@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Debug | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0 | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := amalgamator | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -32,12 +32,12 @@ ifeq ($(CONFIG),Release) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Release | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := amalgamator | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -74,9 +74,9 @@ | |||
| GCC_DYNAMIC_NO_PIC = NO; | |||
| GCC_ENABLE_FIX_AND_CONTINUE = NO; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_DEBUG=1", | |||
| "DEBUG=1 "); }; name = Debug; }; | |||
| "DEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Debug; }; | |||
| 4DFAC29D863495AD1E31B6B9 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | |||
| PREBINDING = NO; | |||
| @@ -87,9 +87,9 @@ | |||
| GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = YES; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_NDEBUG=1", | |||
| "NDEBUG=1 "); }; name = Release; }; | |||
| "NDEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Release; }; | |||
| 4EAD81574ACF05AC27D04B76 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ALWAYS_SEARCH_USER_PATHS = NO; | |||
| GCC_C_LANGUAGE_STANDARD = c99; | |||
| @@ -99,6 +99,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -113,6 +114,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG;_CONSOLE" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;_CONSOLE;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG;_CONSOLE" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_CONSOLE;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG;_CONSOLE" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;_CONSOLE;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG;_CONSOLE" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_CONSOLE;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Debug | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0 | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := Plugin\ Host | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -32,12 +32,12 @@ ifeq ($(CONFIG),Release) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Release | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := Plugin\ Host | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -112,9 +112,9 @@ | |||
| GCC_DYNAMIC_NO_PIC = NO; | |||
| GCC_ENABLE_FIX_AND_CONTINUE = NO; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_DEBUG=1", | |||
| "DEBUG=1 "); }; name = Debug; }; | |||
| "DEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Debug; }; | |||
| 90901561E3F7FD713257B23D = { isa = XCBuildConfiguration; buildSettings = { | |||
| ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | |||
| PREBINDING = NO; | |||
| @@ -126,9 +126,9 @@ | |||
| GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = YES; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_NDEBUG=1", | |||
| "NDEBUG=1 "); }; name = Release; }; | |||
| "NDEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Release; }; | |||
| 8133D32BA8816D704BF648FA = { isa = XCBuildConfiguration; buildSettings = { | |||
| ALWAYS_SEARCH_USER_PATHS = NO; | |||
| GCC_C_LANGUAGE_STANDARD = c99; | |||
| @@ -138,6 +138,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -152,6 +153,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Debug | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -fPIC -O0 | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -L"/usr/X11R6/lib/" -L"../../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := JuceDemoPlugin.so | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -32,12 +32,12 @@ ifeq ($(CONFIG),Release) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Release | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -Os | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -L"/usr/X11R6/lib/" -L"../../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := JuceDemoPlugin.so | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -249,10 +249,10 @@ | |||
| GCC_DYNAMIC_NO_PIC = NO; | |||
| GCC_ENABLE_FIX_AND_CONTINUE = NO; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_DEBUG=1", | |||
| "DEBUG=1 ", | |||
| "JUCE_ObjCExtraSuffix=JuceDemo"); }; name = Debug; }; | |||
| "DEBUG=1", | |||
| "JUCE_ObjCExtraSuffix=JuceDemo", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Debug; }; | |||
| F4B05B483343A2F3C923C6B4 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | |||
| PREBINDING = NO; | |||
| @@ -269,10 +269,10 @@ | |||
| GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = YES; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_NDEBUG=1", | |||
| "NDEBUG=1 ", | |||
| "JUCE_ObjCExtraSuffix=JuceDemo"); }; name = Release; }; | |||
| "NDEBUG=1", | |||
| "JUCE_ObjCExtraSuffix=JuceDemo", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Release; }; | |||
| F6631902F8DE12E2C2C34B71 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ALWAYS_SEARCH_USER_PATHS = NO; | |||
| GCC_C_LANGUAGE_STANDARD = c99; | |||
| @@ -282,6 +282,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -296,6 +297,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4;..\..\JuceLibraryCode" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4;..\..\JuceLibraryCode" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4;..\..\JuceLibraryCode" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4;..\..\JuceLibraryCode" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Debug | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0 | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := BinaryBuilder | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -32,12 +32,12 @@ ifeq ($(CONFIG),Release) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Release | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := BinaryBuilder | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -74,9 +74,9 @@ | |||
| GCC_DYNAMIC_NO_PIC = NO; | |||
| GCC_ENABLE_FIX_AND_CONTINUE = NO; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_DEBUG=1", | |||
| "DEBUG=1 "); }; name = Debug; }; | |||
| "DEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Debug; }; | |||
| D4E910481C9C05D598DC755B = { isa = XCBuildConfiguration; buildSettings = { | |||
| ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | |||
| PREBINDING = NO; | |||
| @@ -87,9 +87,9 @@ | |||
| GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = YES; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_NDEBUG=1", | |||
| "NDEBUG=1 "); }; name = Release; }; | |||
| "NDEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Release; }; | |||
| C69BDE02D12775D4A17BFA17 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ALWAYS_SEARCH_USER_PATHS = NO; | |||
| GCC_C_LANGUAGE_STANDARD = c99; | |||
| @@ -99,6 +99,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -113,6 +114,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG;_CONSOLE" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;_CONSOLE;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG;_CONSOLE" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_CONSOLE;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG;_CONSOLE" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;_CONSOLE;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG;_CONSOLE" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_CONSOLE;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Debug | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0 | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := HelloWorld | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -32,12 +32,12 @@ ifeq ($(CONFIG),Release) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Release | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := HelloWorld | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -91,9 +91,9 @@ | |||
| GCC_DYNAMIC_NO_PIC = NO; | |||
| GCC_ENABLE_FIX_AND_CONTINUE = NO; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_DEBUG=1", | |||
| "DEBUG=1 "); }; name = Debug; }; | |||
| "DEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Debug; }; | |||
| 2BF0DFE3F61DBC969BCBD0C4 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | |||
| PREBINDING = NO; | |||
| @@ -105,9 +105,9 @@ | |||
| GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = YES; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_NDEBUG=1", | |||
| "NDEBUG=1 "); }; name = Release; }; | |||
| "NDEBUG=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Release; }; | |||
| 1C939EADBAB81B95A46A6581 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ALWAYS_SEARCH_USER_PATHS = NO; | |||
| GCC_C_LANGUAGE_STANDARD = c99; | |||
| @@ -117,6 +117,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -131,6 +132,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -76,9 +76,9 @@ | |||
| GCC_DYNAMIC_NO_PIC = NO; | |||
| GCC_ENABLE_FIX_AND_CONTINUE = NO; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1", | |||
| "_DEBUG=1", | |||
| "DEBUG=1 "); }; name = Debug; }; | |||
| "DEBUG=1", | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1"); }; name = Debug; }; | |||
| 2BF0DFE3F61DBC969BCBD0C4 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | |||
| PREBINDING = NO; | |||
| @@ -90,9 +90,9 @@ | |||
| GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = YES; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1", | |||
| "_NDEBUG=1", | |||
| "NDEBUG=1 "); }; name = Release; }; | |||
| "NDEBUG=1", | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1"); }; name = Release; }; | |||
| 1C939EADBAB81B95A46A6581 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ALWAYS_SEARCH_USER_PATHS = NO; | |||
| GCC_C_LANGUAGE_STANDARD = c99; | |||
| @@ -102,6 +102,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -116,6 +117,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Debug | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCE_UNIT_TESTS=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCE_UNIT_TESTS=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0 | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCE_UNIT_TESTS=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCE_UNIT_TESTS=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := JuceDemo | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -32,12 +32,12 @@ ifeq ($(CONFIG),Release) | |||
| LIBDIR := build | |||
| OBJDIR := build/intermediate/Release | |||
| OUTDIR := build | |||
| CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -D "JUCE_UNIT_TESTS=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCE_UNIT_TESTS=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os | |||
| CXXFLAGS += $(CFLAGS) | |||
| LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound | |||
| LDDEPS := | |||
| RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -D "JUCE_UNIT_TESTS=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCE_UNIT_TESTS=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2" | |||
| TARGET := JuceDemo | |||
| BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH) | |||
| endif | |||
| @@ -188,10 +188,10 @@ | |||
| GCC_DYNAMIC_NO_PIC = NO; | |||
| GCC_ENABLE_FIX_AND_CONTINUE = NO; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_DEBUG=1", | |||
| "DEBUG=1 ", | |||
| "JUCE_UNIT_TESTS=1"); }; name = Debug; }; | |||
| "DEBUG=1", | |||
| "JUCE_UNIT_TESTS=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Debug; }; | |||
| 8EF7C7FFD55219581A5075F3 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | |||
| PREBINDING = NO; | |||
| @@ -203,10 +203,10 @@ | |||
| GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = YES; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1", | |||
| "_NDEBUG=1", | |||
| "NDEBUG=1 ", | |||
| "JUCE_UNIT_TESTS=1"); }; name = Release; }; | |||
| "NDEBUG=1", | |||
| "JUCE_UNIT_TESTS=1", | |||
| "JUCER_XCODE_MAC_F6D2F4CF=1"); }; name = Release; }; | |||
| 7FA986B99AFC795723E00AB0 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ALWAYS_SEARCH_USER_PATHS = NO; | |||
| GCC_C_LANGUAGE_STANDARD = c99; | |||
| @@ -216,6 +216,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -230,6 +231,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG;JUCE_UNIT_TESTS=1" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;JUCE_UNIT_TESTS=1;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG;JUCE_UNIT_TESTS=1" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;JUCE_UNIT_TESTS=1;JUCER_VS2005_78A5003=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -33,7 +33,7 @@ | |||
| BufferSecurityCheck="" | |||
| DebugInformationFormat="4" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG;JUCE_UNIT_TESTS=1" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;DEBUG;_DEBUG;JUCE_UNIT_TESTS=1;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="1" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -89,7 +89,7 @@ | |||
| InlineFunctionExpansion="1" | |||
| StringPooling="true" | |||
| AdditionalIncludeDirectories="" | |||
| PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG;JUCE_UNIT_TESTS=1" | |||
| PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;JUCE_UNIT_TESTS=1;JUCER_VS2008_78A5006=1" | |||
| RuntimeLibrary="0" | |||
| RuntimeTypeInfo="true" | |||
| UsePrecompiledHeader="0" | |||
| @@ -54,7 +54,7 @@ | |||
| <Optimization>Disabled</Optimization> | |||
| <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | |||
| <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
| <PreprocessorDefinitions>JUCER_VS2010_78A501D;WIN32;_WINDOWS;_DEBUG;JUCE_UNIT_TESTS=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <PreprocessorDefinitions>WIN32;_WINDOWS;DEBUG;_DEBUG;JUCE_UNIT_TESTS=1;JUCER_VS2010_78A501D=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | |||
| <RuntimeTypeInfo>true</RuntimeTypeInfo> | |||
| <PrecompiledHeader/> | |||
| @@ -92,7 +92,7 @@ | |||
| <ClCompile> | |||
| <Optimization>MaxSpeed</Optimization> | |||
| <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
| <PreprocessorDefinitions>JUCER_VS2010_78A501D;WIN32;_WINDOWS;NDEBUG;JUCE_UNIT_TESTS=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;JUCE_UNIT_TESTS=1;JUCER_VS2010_78A501D=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
| <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | |||
| <RuntimeTypeInfo>true</RuntimeTypeInfo> | |||
| <PrecompiledHeader/> | |||
| @@ -173,10 +173,10 @@ | |||
| GCC_DYNAMIC_NO_PIC = NO; | |||
| GCC_ENABLE_FIX_AND_CONTINUE = NO; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1", | |||
| "_DEBUG=1", | |||
| "DEBUG=1 ", | |||
| "JUCE_UNIT_TESTS=1"); }; name = Debug; }; | |||
| "DEBUG=1", | |||
| "JUCE_UNIT_TESTS=1", | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1"); }; name = Debug; }; | |||
| 8EF7C7FFD55219581A5075F3 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | |||
| PREBINDING = NO; | |||
| @@ -188,10 +188,10 @@ | |||
| GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | |||
| GCC_SYMBOLS_PRIVATE_EXTERN = YES; | |||
| GCC_PREPROCESSOR_DEFINITIONS = ( | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1", | |||
| "_NDEBUG=1", | |||
| "NDEBUG=1 ", | |||
| "JUCE_UNIT_TESTS=1"); }; name = Release; }; | |||
| "NDEBUG=1", | |||
| "JUCE_UNIT_TESTS=1", | |||
| "JUCER_XCODE_IPHONE_25ADD7EF=1"); }; name = Release; }; | |||
| 7FA986B99AFC795723E00AB0 = { isa = XCBuildConfiguration; buildSettings = { | |||
| ALWAYS_SEARCH_USER_PATHS = NO; | |||
| GCC_C_LANGUAGE_STANDARD = c99; | |||
| @@ -201,6 +201,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||
| @@ -215,6 +216,7 @@ | |||
| GCC_WARN_MISSING_PARENTHESES = YES; | |||
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |||
| GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; | |||
| WARNING_CFLAGS = -Wreorder; | |||
| GCC_MODEL_TUNING = G5; | |||
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; | |||
| ZERO_LINK = NO; | |||