Browse Source

Created an option to use the amalgamated template files as a set of 4 separate files instead of one big one, to help when compiling in low-memory environments. Moved all the amalgamated templates out of the src folder and into their own subfolder, so if you have files that include them, you might need to tweak the path that you're using. Also tweaked the amalgamator to deal with this new setup.

tags/2021-05-28
Julian Storer 15 years ago
parent
commit
bac6d332a3
17 changed files with 3129 additions and 1897 deletions
  1. +31
    -0
      amalgamation/juce_amalgamated1.cpp
  2. +31
    -0
      amalgamation/juce_amalgamated2.cpp
  3. +31
    -0
      amalgamation/juce_amalgamated3.cpp
  4. +31
    -0
      amalgamation/juce_amalgamated4.cpp
  5. +388
    -0
      amalgamation/juce_amalgamated_template.cpp
  6. +46
    -0
      amalgamation/juce_amalgamated_template.h
  7. +21
    -21
      build/linux/JUCE.make
  8. +1
    -1
      extras/amalgamator/juce_AmalgamatorMain.cpp
  9. +3
    -3
      extras/amalgamator/mac/Amalgamator.xcodeproj/project.pbxproj
  10. +1
    -1
      extras/audio plugin host/src/juce_LibrarySource.mm
  11. +1
    -1
      extras/audio plugins/demo/src/juce_LibrarySource.mm
  12. +1
    -1
      extras/juce demo/src/juce_LibrarySource.cpp
  13. +1
    -1
      extras/juce demo/src/juce_LibrarySource.mm
  14. +1
    -1
      extras/the jucer/src/juce_LibrarySource.cpp
  15. +1
    -1
      extras/the jucer/src/juce_LibrarySource.mm
  16. +1538
    -1215
      juce_amalgamated.cpp
  17. +1002
    -651
      juce_amalgamated.h

+ 31
- 0
amalgamation/juce_amalgamated1.cpp View File

@@ -0,0 +1,31 @@
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-9 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistributed and/or modified under the terms of the GNU General
Public License (Version 2), as published by the Free Software Foundation.
A copy of the license is included in the JUCE distribution, or can be found
online at www.gnu.org/licenses.
JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
------------------------------------------------------------------------------
To release a closed-source product which uses JUCE, commercial licenses are
available: visit www.rawmaterialsoftware.com/juce for more information.
==============================================================================
*/
#define JUCE_BUILD_CORE 1
#define JUCE_BUILD_MISC 0
#define JUCE_BUILD_GUI 0
#define JUCE_BUILD_NATIVE 0
#include "juce_amalgamated_template.cpp"

+ 31
- 0
amalgamation/juce_amalgamated2.cpp View File

@@ -0,0 +1,31 @@
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-9 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistributed and/or modified under the terms of the GNU General
Public License (Version 2), as published by the Free Software Foundation.
A copy of the license is included in the JUCE distribution, or can be found
online at www.gnu.org/licenses.
JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
------------------------------------------------------------------------------
To release a closed-source product which uses JUCE, commercial licenses are
available: visit www.rawmaterialsoftware.com/juce for more information.
==============================================================================
*/
#define JUCE_BUILD_CORE 0
#define JUCE_BUILD_MISC 1
#define JUCE_BUILD_GUI 0
#define JUCE_BUILD_NATIVE 0
#include "juce_amalgamated_template.cpp"

+ 31
- 0
amalgamation/juce_amalgamated3.cpp View File

@@ -0,0 +1,31 @@
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-9 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistributed and/or modified under the terms of the GNU General
Public License (Version 2), as published by the Free Software Foundation.
A copy of the license is included in the JUCE distribution, or can be found
online at www.gnu.org/licenses.
JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
------------------------------------------------------------------------------
To release a closed-source product which uses JUCE, commercial licenses are
available: visit www.rawmaterialsoftware.com/juce for more information.
==============================================================================
*/
#define JUCE_BUILD_CORE 0
#define JUCE_BUILD_MISC 0
#define JUCE_BUILD_GUI 1
#define JUCE_BUILD_NATIVE 0
#include "juce_amalgamated_template.cpp"

+ 31
- 0
amalgamation/juce_amalgamated4.cpp View File

@@ -0,0 +1,31 @@
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-9 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistributed and/or modified under the terms of the GNU General
Public License (Version 2), as published by the Free Software Foundation.
A copy of the license is included in the JUCE distribution, or can be found
online at www.gnu.org/licenses.
JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
------------------------------------------------------------------------------
To release a closed-source product which uses JUCE, commercial licenses are
available: visit www.rawmaterialsoftware.com/juce for more information.
==============================================================================
*/
#define JUCE_BUILD_CORE 0
#define JUCE_BUILD_MISC 0
#define JUCE_BUILD_GUI 0
#define JUCE_BUILD_NATIVE 1
#include "juce_amalgamated_template.cpp"

+ 388
- 0
amalgamation/juce_amalgamated_template.cpp View File

@@ -0,0 +1,388 @@
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-9 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistributed and/or modified under the terms of the GNU General
Public License (Version 2), as published by the Free Software Foundation.
A copy of the license is included in the JUCE distribution, or can be found
online at www.gnu.org/licenses.
JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
------------------------------------------------------------------------------
To release a closed-source product which uses JUCE, commercial licenses are
available: visit www.rawmaterialsoftware.com/juce for more information.
==============================================================================
*/
/*
This monolithic file contains the entire Juce source tree!
To build an app which uses Juce, all you need to do is to add this
file to your project, and include juce.h in your own cpp files.
*/
#ifdef __JUCE_JUCEHEADER__
/* When you add the amalgamated cpp file to your project, you mustn't include it in
a file where you've already included juce.h - just put it inside a file on its own,
possibly with your config flags preceding it, but don't include anything else. */
#error
#endif
#include "../src/core/juce_TargetPlatform.h" // FORCE_AMALGAMATOR_INCLUDE
#include "../juce_Config.h" // FORCE_AMALGAMATOR_INCLUDE
#ifndef JUCE_BUILD_CORE
#define JUCE_BUILD_CORE 1
#endif
#ifndef JUCE_BUILD_MISC
#define JUCE_BUILD_MISC 1
#endif
#ifndef JUCE_BUILD_GUI
#define JUCE_BUILD_GUI 1
#endif
#ifndef JUCE_BUILD_NATIVE
#define JUCE_BUILD_NATIVE 1
#endif
#if JUCE_ONLY_BUILD_CORE_LIBRARY
#undef JUCE_BUILD_MISC
#undef JUCE_BUILD_GUI
#endif
//==============================================================================
#if JUCE_BUILD_NATIVE || JUCE_BUILD_CORE
#if JUCE_WINDOWS
#include "../src/native/windows/juce_win32_NativeIncludes.h"
#elif JUCE_LINUX
#include "../src/native/linux/juce_linux_NativeIncludes.h"
#elif JUCE_MAC || JUCE_IPHONE
#include "../src/native/mac/juce_mac_NativeIncludes.h"
#else
#error "Unknown platform!"
#endif
#endif
//==============================================================================
#define DONT_SET_USING_JUCE_NAMESPACE 1
#undef max
#undef min
#define NO_DUMMY_DECL
#if JUCE_BUILD_NATIVE
#include "../src/../juce_amalgamated.h"
#endif
#if (defined(_MSC_VER) && (_MSC_VER <= 1200))
#pragma warning (disable: 4309 4305)
#endif
#if JUCE_MAC && JUCE_32BIT && JUCE_SUPPORT_CARBON && JUCE_BUILD_NATIVE && ! JUCE_ONLY_BUILD_CORE_LIBRARY
BEGIN_JUCE_NAMESPACE
#include "../src/native/mac/juce_mac_CarbonViewWrapperComponent.h"
END_JUCE_NAMESPACE
#endif
#define JUCE_AMALGAMATED_TEMPLATE 1
//==============================================================================
#if JUCE_BUILD_CORE
#include "../src/core/juce_FileLogger.cpp"
#include "../src/core/juce_Logger.cpp"
#include "../src/core/juce_Random.cpp"
#include "../src/core/juce_RelativeTime.cpp"
#include "../src/core/juce_SystemStats.cpp"
#include "../src/core/juce_Time.cpp"
#include "../src/containers/juce_BitArray.cpp"
#include "../src/containers/juce_MemoryBlock.cpp"
#include "../src/containers/juce_PropertySet.cpp"
#include "../src/containers/juce_Variant.cpp"
#include "../src/containers/juce_NamedValueSet.cpp"
#include "../src/containers/juce_DynamicObject.cpp"
#include "../src/cryptography/juce_BlowFish.cpp"
#include "../src/cryptography/juce_MD5.cpp"
#include "../src/cryptography/juce_Primes.cpp"
#include "../src/cryptography/juce_RSAKey.cpp"
#include "../src/io/streams/juce_InputStream.cpp"
#include "../src/io/streams/juce_OutputStream.cpp"
#include "../src/io/files/juce_DirectoryIterator.cpp"
#include "../src/io/files/juce_File.cpp"
#include "../src/io/files/juce_FileInputStream.cpp"
#include "../src/io/files/juce_FileOutputStream.cpp"
#include "../src/io/files/juce_FileSearchPath.cpp"
#include "../src/io/files/juce_NamedPipe.cpp"
#include "../src/io/files/juce_TemporaryFile.cpp"
#include "../src/io/network/juce_Socket.cpp"
#include "../src/io/network/juce_URL.cpp"
#include "../src/io/streams/juce_BufferedInputStream.cpp"
#include "../src/io/streams/juce_FileInputSource.cpp"
#include "../src/io/streams/juce_MemoryInputStream.cpp"
#include "../src/io/streams/juce_MemoryOutputStream.cpp"
#include "../src/io/streams/juce_SubregionStream.cpp"
#include "../src/core/juce_PerformanceCounter.cpp"
#include "../src/core/juce_Uuid.cpp"
#include "../src/io/files/juce_ZipFile.cpp"
#include "../src/text/juce_CharacterFunctions.cpp"
#include "../src/text/juce_LocalisedStrings.cpp"
#include "../src/text/juce_String.cpp"
#include "../src/text/juce_StringArray.cpp"
#include "../src/text/juce_StringPairArray.cpp"
#include "../src/text/juce_XmlDocument.cpp"
#include "../src/text/juce_XmlElement.cpp"
#include "../src/threads/juce_InterProcessLock.cpp"
#include "../src/threads/juce_ReadWriteLock.cpp"
#include "../src/threads/juce_Thread.cpp"
#include "../src/threads/juce_ThreadPool.cpp"
#include "../src/threads/juce_TimeSliceThread.cpp"
#endif
#if JUCE_BUILD_MISC
#include "../src/containers/juce_ValueTree.cpp"
#include "../src/containers/juce_Value.cpp"
#include "../src/application/juce_Application.cpp"
#include "../src/application/juce_ApplicationCommandInfo.cpp"
#include "../src/application/juce_ApplicationCommandManager.cpp"
#include "../src/application/juce_ApplicationCommandTarget.cpp"
#include "../src/application/juce_ApplicationProperties.cpp"
#include "../src/utilities/juce_DeletedAtShutdown.cpp"
#include "../src/utilities/juce_PropertiesFile.cpp"
#include "../src/utilities/juce_FileBasedDocument.cpp"
#include "../src/utilities/juce_RecentlyOpenedFilesList.cpp"
#include "../src/utilities/juce_UndoManager.cpp"
#include "../src/audio/audio_file_formats/juce_AiffAudioFormat.cpp"
#include "../src/audio/audio_file_formats/juce_AudioCDReader.cpp"
#include "../src/audio/audio_file_formats/juce_AudioFormat.cpp"
#include "../src/audio/audio_file_formats/juce_AudioFormatManager.cpp"
#include "../src/audio/audio_file_formats/juce_AudioSubsectionReader.cpp"
#include "../src/audio/audio_file_formats/juce_AudioThumbnail.cpp"
#include "../src/audio/audio_file_formats/juce_AudioThumbnailCache.cpp"
#include "../src/audio/audio_file_formats/juce_QuickTimeAudioFormat.cpp"
#include "../src/audio/audio_file_formats/juce_WavAudioFormat.cpp"
#include "../src/audio/audio_sources/juce_AudioFormatReaderSource.cpp"
#include "../src/audio/audio_sources/juce_AudioSourcePlayer.cpp"
#include "../src/audio/audio_sources/juce_AudioTransportSource.cpp"
#include "../src/audio/audio_sources/juce_BufferingAudioSource.cpp"
#include "../src/audio/audio_sources/juce_ChannelRemappingAudioSource.cpp"
#include "../src/audio/audio_sources/juce_IIRFilterAudioSource.cpp"
#include "../src/audio/audio_sources/juce_MixerAudioSource.cpp"
#include "../src/audio/audio_sources/juce_ResamplingAudioSource.cpp"
#include "../src/audio/audio_sources/juce_ToneGeneratorAudioSource.cpp"
#include "../src/audio/devices/juce_AudioDeviceManager.cpp"
#include "../src/audio/devices/juce_AudioIODevice.cpp"
#include "../src/audio/devices/juce_AudioIODeviceType.cpp"
#include "../src/audio/devices/juce_MidiOutput.cpp"
#include "../src/audio/dsp/juce_AudioDataConverters.cpp"
#include "../src/audio/dsp/juce_AudioSampleBuffer.cpp"
#include "../src/audio/dsp/juce_IIRFilter.cpp"
#include "../src/audio/midi/juce_MidiBuffer.cpp"
#include "../src/audio/midi/juce_MidiFile.cpp"
#include "../src/audio/midi/juce_MidiKeyboardState.cpp"
#include "../src/audio/midi/juce_MidiMessage.cpp"
#include "../src/audio/midi/juce_MidiMessageCollector.cpp"
#include "../src/audio/midi/juce_MidiMessageSequence.cpp"
#include "../src/audio/plugins/juce_AudioPluginFormat.cpp"
#include "../src/audio/plugins/juce_AudioPluginFormatManager.cpp"
#include "../src/audio/plugins/juce_AudioPluginInstance.cpp"
#include "../src/audio/plugins/juce_KnownPluginList.cpp"
#include "../src/audio/plugins/juce_PluginDescription.cpp"
#include "../src/audio/plugins/juce_PluginDirectoryScanner.cpp"
#include "../src/audio/plugins/juce_PluginListComponent.cpp"
#include "../src/audio/plugins/formats/juce_AudioUnitPluginFormat.mm"
#include "../src/audio/plugins/formats/juce_VSTPluginFormat.mm"
#include "../src/audio/processors/juce_AudioProcessor.cpp"
#include "../src/audio/processors/juce_AudioProcessorEditor.cpp"
#include "../src/audio/processors/juce_AudioProcessorGraph.cpp"
#include "../src/audio/processors/juce_AudioProcessorPlayer.cpp"
#include "../src/audio/processors/juce_GenericAudioProcessorEditor.cpp"
#include "../src/audio/synthesisers/juce_Sampler.cpp"
#include "../src/audio/synthesisers/juce_Synthesiser.cpp"
#include "../src/events/juce_ActionBroadcaster.cpp"
#include "../src/events/juce_ActionListenerList.cpp"
#include "../src/events/juce_AsyncUpdater.cpp"
#include "../src/events/juce_ChangeBroadcaster.cpp"
#include "../src/events/juce_ChangeListenerList.cpp"
#include "../src/events/juce_InterprocessConnection.cpp"
#include "../src/events/juce_InterprocessConnectionServer.cpp"
#include "../src/events/juce_Message.cpp"
#include "../src/events/juce_MessageListener.cpp"
#include "../src/events/juce_MessageManager.cpp"
#include "../src/events/juce_MultiTimer.cpp"
#include "../src/events/juce_Timer.cpp"
#endif
#if JUCE_BUILD_GUI
#include "../src/gui/components/juce_Component.cpp"
#include "../src/gui/components/juce_ComponentListener.cpp"
#include "../src/gui/components/juce_Desktop.cpp"
#include "../src/gui/components/buttons/juce_ArrowButton.cpp"
#include "../src/gui/components/buttons/juce_Button.cpp"
#include "../src/gui/components/buttons/juce_DrawableButton.cpp"
#include "../src/gui/components/buttons/juce_HyperlinkButton.cpp"
#include "../src/gui/components/buttons/juce_ImageButton.cpp"
#include "../src/gui/components/buttons/juce_ShapeButton.cpp"
#include "../src/gui/components/buttons/juce_TextButton.cpp"
#include "../src/gui/components/buttons/juce_ToggleButton.cpp"
#include "../src/gui/components/buttons/juce_ToolbarButton.cpp"
#include "../src/gui/components/code_editor/juce_CodeDocument.cpp"
#include "../src/gui/components/code_editor/juce_CodeEditorComponent.cpp"
#include "../src/gui/components/code_editor/juce_CPlusPlusCodeTokeniser.cpp"
#include "../src/gui/components/controls/juce_ComboBox.cpp"
#include "../src/gui/components/controls/juce_Label.cpp"
#include "../src/gui/components/controls/juce_ListBox.cpp"
#include "../src/gui/components/controls/juce_ProgressBar.cpp"
#include "../src/gui/components/controls/juce_Slider.cpp"
#include "../src/gui/components/controls/juce_TableHeaderComponent.cpp"
#include "../src/gui/components/controls/juce_TableListBox.cpp"
#include "../src/gui/components/controls/juce_TextEditor.cpp"
#include "../src/gui/components/controls/juce_Toolbar.cpp"
#include "../src/gui/components/controls/juce_ToolbarItemComponent.cpp"
#include "../src/gui/components/controls/juce_ToolbarItemPalette.cpp"
#include "../src/gui/components/controls/juce_TreeView.cpp"
#include "../src/gui/components/filebrowser/juce_DirectoryContentsDisplayComponent.cpp"
#include "../src/gui/components/filebrowser/juce_DirectoryContentsList.cpp"
#include "../src/gui/components/filebrowser/juce_FileBrowserComponent.cpp"
#include "../src/gui/components/filebrowser/juce_FileChooser.cpp"
#include "../src/gui/components/filebrowser/juce_FileChooserDialogBox.cpp"
#include "../src/gui/components/filebrowser/juce_FileFilter.cpp"
#include "../src/gui/components/filebrowser/juce_FileListComponent.cpp"
#include "../src/gui/components/filebrowser/juce_FilenameComponent.cpp"
#include "../src/gui/components/filebrowser/juce_FileSearchPathListComponent.cpp"
#include "../src/gui/components/filebrowser/juce_FileTreeComponent.cpp"
#include "../src/gui/components/filebrowser/juce_ImagePreviewComponent.cpp"
#include "../src/gui/components/filebrowser/juce_WildcardFileFilter.cpp"
#include "../src/gui/components/keyboard/juce_KeyboardFocusTraverser.cpp"
#include "../src/gui/components/keyboard/juce_KeyListener.cpp"
#include "../src/gui/components/keyboard/juce_KeyMappingEditorComponent.cpp"
#include "../src/gui/components/keyboard/juce_KeyPress.cpp"
#include "../src/gui/components/keyboard/juce_KeyPressMappingSet.cpp"
#include "../src/gui/components/keyboard/juce_ModifierKeys.cpp"
#include "../src/gui/components/layout/juce_ComponentAnimator.cpp"
#include "../src/gui/components/layout/juce_ComponentBoundsConstrainer.cpp"
#include "../src/gui/components/layout/juce_ComponentMovementWatcher.cpp"
#include "../src/gui/components/layout/juce_GroupComponent.cpp"
#include "../src/gui/components/layout/juce_MultiDocumentPanel.cpp"
#include "../src/gui/components/layout/juce_ResizableBorderComponent.cpp"
#include "../src/gui/components/layout/juce_ResizableCornerComponent.cpp"
#include "../src/gui/components/layout/juce_ScrollBar.cpp"
#include "../src/gui/components/layout/juce_StretchableLayoutManager.cpp"
#include "../src/gui/components/layout/juce_StretchableLayoutResizerBar.cpp"
#include "../src/gui/components/layout/juce_StretchableObjectResizer.cpp"
#include "../src/gui/components/layout/juce_TabbedButtonBar.cpp"
#include "../src/gui/components/layout/juce_TabbedComponent.cpp"
#include "../src/gui/components/layout/juce_Viewport.cpp"
#include "../src/gui/components/lookandfeel/juce_LookAndFeel.cpp"
#include "../src/gui/components/lookandfeel/juce_OldSchoolLookAndFeel.cpp"
#include "../src/gui/components/menus/juce_MenuBarComponent.cpp"
#include "../src/gui/components/menus/juce_MenuBarModel.cpp"
#include "../src/gui/components/menus/juce_PopupMenu.cpp"
#include "../src/gui/components/mouse/juce_ComponentDragger.cpp"
#include "../src/gui/components/mouse/juce_DragAndDropContainer.cpp"
#include "../src/gui/components/mouse/juce_MouseCursor.cpp"
#include "../src/gui/components/mouse/juce_MouseEvent.cpp"
#include "../src/gui/components/mouse/juce_MouseHoverDetector.cpp"
#include "../src/gui/components/mouse/juce_MouseListener.cpp"
#include "../src/gui/components/properties/juce_BooleanPropertyComponent.cpp"
#include "../src/gui/components/properties/juce_ButtonPropertyComponent.cpp"
#include "../src/gui/components/properties/juce_ChoicePropertyComponent.cpp"
#include "../src/gui/components/properties/juce_PropertyComponent.cpp"
#include "../src/gui/components/properties/juce_PropertyPanel.cpp"
#include "../src/gui/components/properties/juce_SliderPropertyComponent.cpp"
#include "../src/gui/components/properties/juce_TextPropertyComponent.cpp"
#include "../src/gui/components/special/juce_AudioDeviceSelectorComponent.cpp"
#include "../src/gui/components/special/juce_BubbleComponent.cpp"
#include "../src/gui/components/special/juce_BubbleMessageComponent.cpp"
#include "../src/gui/components/special/juce_ColourSelector.cpp"
#include "../src/gui/components/special/juce_DropShadower.cpp"
#include "../src/gui/components/special/juce_MagnifierComponent.cpp"
#include "../src/gui/components/special/juce_MidiKeyboardComponent.cpp"
#include "../src/gui/components/special/juce_OpenGLComponent.cpp"
#include "../src/gui/components/special/juce_PreferencesPanel.cpp"
#include "../src/gui/components/special/juce_SystemTrayIconComponent.cpp"
#include "../src/gui/components/windows/juce_AlertWindow.cpp"
#include "../src/gui/components/windows/juce_ComponentPeer.cpp"
#include "../src/gui/components/windows/juce_DialogWindow.cpp"
#include "../src/gui/components/windows/juce_DocumentWindow.cpp"
#include "../src/gui/components/windows/juce_ResizableWindow.cpp"
#include "../src/gui/components/windows/juce_SplashScreen.cpp"
#include "../src/gui/components/windows/juce_ThreadWithProgressWindow.cpp"
#include "../src/gui/components/windows/juce_TooltipWindow.cpp"
#include "../src/gui/components/windows/juce_TopLevelWindow.cpp"
#include "../src/gui/graphics/colour/juce_Colour.cpp"
#include "../src/gui/graphics/colour/juce_ColourGradient.cpp"
#include "../src/gui/graphics/colour/juce_Colours.cpp"
#include "../src/gui/graphics/contexts/juce_EdgeTable.cpp"
#include "../src/gui/graphics/contexts/juce_FillType.cpp"
#include "../src/gui/graphics/contexts/juce_Graphics.cpp"
#include "../src/gui/graphics/contexts/juce_Justification.cpp"
#include "../src/gui/graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.cpp"
#include "../src/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp"
#include "../src/gui/graphics/contexts/juce_RectanglePlacement.cpp"
#include "../src/gui/graphics/drawables/juce_Drawable.cpp"
#include "../src/gui/graphics/drawables/juce_DrawableComposite.cpp"
#include "../src/gui/graphics/drawables/juce_DrawableImage.cpp"
#include "../src/gui/graphics/drawables/juce_DrawablePath.cpp"
#include "../src/gui/graphics/drawables/juce_DrawableText.cpp"
#include "../src/gui/graphics/drawables/juce_SVGParser.cpp"
#include "../src/gui/graphics/effects/juce_DropShadowEffect.cpp"
#include "../src/gui/graphics/effects/juce_GlowEffect.cpp"
#include "../src/gui/graphics/effects/juce_ReduceOpacityEffect.cpp"
#include "../src/gui/graphics/fonts/juce_Font.cpp"
#include "../src/gui/graphics/fonts/juce_GlyphArrangement.cpp"
#include "../src/gui/graphics/fonts/juce_TextLayout.cpp"
#include "../src/gui/graphics/fonts/juce_Typeface.cpp"
#include "../src/gui/graphics/geometry/juce_AffineTransform.cpp"
#include "../src/gui/graphics/geometry/juce_BorderSize.cpp"
#include "../src/gui/graphics/geometry/juce_Line.cpp"
#include "../src/gui/graphics/geometry/juce_Path.cpp"
#include "../src/gui/graphics/geometry/juce_PathIterator.cpp"
#include "../src/gui/graphics/geometry/juce_PathStrokeType.cpp"
#include "../src/gui/graphics/geometry/juce_PositionedRectangle.cpp"
#include "../src/gui/graphics/geometry/juce_RectangleList.cpp"
#include "../src/gui/graphics/imaging/juce_Image.cpp"
#include "../src/gui/graphics/imaging/juce_ImageCache.cpp"
#include "../src/gui/graphics/imaging/juce_ImageConvolutionKernel.cpp"
#include "../src/gui/graphics/imaging/juce_ImageFileFormat.cpp"
#include "../src/gui/graphics/imaging/image_file_formats/juce_GIFLoader.cpp"
#endif
//==============================================================================
// some files include lots of library code, so leave them to the end to avoid cluttering
// up the build for the clean files.
#if JUCE_BUILD_CORE
#include "../src/io/streams/juce_GZIPCompressorOutputStream.cpp"
#include "../src/io/streams/juce_GZIPDecompressorInputStream.cpp"
#endif
#if JUCE_BUILD_MISC
#include "../src/audio/audio_file_formats/juce_FlacAudioFormat.cpp"
#include "../src/audio/audio_file_formats/juce_OggVorbisAudioFormat.cpp"
#endif
#if JUCE_BUILD_GUI
#include "../src/gui/graphics/imaging/image_file_formats/juce_JPEGLoader.cpp"
#include "../src/gui/graphics/imaging/image_file_formats/juce_PNGLoader.cpp"
#endif
//==============================================================================
#if JUCE_BUILD_NATIVE
#if JUCE_WINDOWS
#include "../src/native/juce_win32_NativeCode.cpp"
#endif
#if JUCE_LINUX
#include "../src/native/juce_linux_NativeCode.cpp"
#endif
#if JUCE_MAC || JUCE_IPHONE
#include "../src/native/juce_mac_NativeCode.mm"
#endif
#endif

+ 46
- 0
amalgamation/juce_amalgamated_template.h View File

@@ -0,0 +1,46 @@
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-9 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistributed and/or modified under the terms of the GNU General
Public License (Version 2), as published by the Free Software Foundation.
A copy of the license is included in the JUCE distribution, or can be found
online at www.gnu.org/licenses.
JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
------------------------------------------------------------------------------
To release a closed-source product which uses JUCE, commercial licenses are
available: visit www.rawmaterialsoftware.com/juce for more information.
==============================================================================
*/
/*
==============================================================================
This header contains the entire Juce source tree, and can be #included in
all your source files.
As well as including this in your files, you should also add juce_inline.cpp
to your project (or juce_inline.mm on the Mac).
==============================================================================
*/
#ifndef __JUCE_AMALGAMATED_TEMPLATE_JUCEHEADER__
#define __JUCE_AMALGAMATED_TEMPLATE_JUCEHEADER__
#define DONT_AUTOLINK_TO_JUCE_LIBRARY 1
#include "../juce.h"
#endif // __JUCE_AMALGAMATED_TEMPLATE_JUCEHEADER__

+ 21
- 21
build/linux/JUCE.make View File

@@ -72,12 +72,12 @@ OBJECTS := \
$(OBJDIR)/juce_MemoryInputStream.o \
$(OBJDIR)/juce_OutputStream.o \
$(OBJDIR)/juce_FileInputSource.o \
$(OBJDIR)/juce_MemoryOutputStream.o \
$(OBJDIR)/juce_BufferedInputStream.o \
$(OBJDIR)/juce_SubregionStream.o \
$(OBJDIR)/juce_GZIPDecompressorInputStream.o \
$(OBJDIR)/juce_GZIPCompressorOutputStream.o \
$(OBJDIR)/juce_InputStream.o \
$(OBJDIR)/juce_MemoryOutputStream.o \
$(OBJDIR)/juce_StringArray.o \
$(OBJDIR)/juce_StringPairArray.o \
$(OBJDIR)/juce_LocalisedStrings.o \
@@ -165,10 +165,10 @@ OBJECTS := \
$(OBJDIR)/juce_ColourGradient.o \
$(OBJDIR)/juce_Justification.o \
$(OBJDIR)/juce_RectanglePlacement.o \
$(OBJDIR)/juce_LowLevelGraphicsSoftwareRenderer.o \
$(OBJDIR)/juce_EdgeTable.o \
$(OBJDIR)/juce_FillType.o \
$(OBJDIR)/juce_LowLevelGraphicsPostScriptRenderer.o \
$(OBJDIR)/juce_LowLevelGraphicsSoftwareRenderer.o \
$(OBJDIR)/juce_Graphics.o \
$(OBJDIR)/juce_DrawableComposite.o \
$(OBJDIR)/juce_SVGParser.o \
@@ -183,9 +183,9 @@ OBJECTS := \
$(OBJDIR)/juce_GlyphArrangement.o \
$(OBJDIR)/juce_Typeface.o \
$(OBJDIR)/juce_Font.o \
$(OBJDIR)/juce_Path.o \
$(OBJDIR)/juce_BorderSize.o \
$(OBJDIR)/juce_Line.o \
$(OBJDIR)/juce_Path.o \
$(OBJDIR)/juce_AffineTransform.o \
$(OBJDIR)/juce_PathIterator.o \
$(OBJDIR)/juce_PathStrokeType.o \
@@ -295,7 +295,6 @@ OBJECTS := \
$(OBJDIR)/juce_ResizableWindow.o \
$(OBJDIR)/juce_TopLevelWindow.o \
$(OBJDIR)/juce_linux_Midi.o \
$(OBJDIR)/juce_linux_Windowing.o \
$(OBJDIR)/juce_linux_Fonts.o \
$(OBJDIR)/juce_linux_Audio.o \
$(OBJDIR)/juce_linux_WebBrowserComponent.o \
@@ -307,6 +306,7 @@ OBJECTS := \
$(OBJDIR)/juce_linux_SystemStats.o \
$(OBJDIR)/juce_linux_FileChooser.o \
$(OBJDIR)/juce_linux_Network.o \
$(OBJDIR)/juce_linux_Windowing.o \
$(OBJDIR)/juce_linux_Messaging.o \
$(OBJDIR)/juce_linux_NativeCode.o \

@@ -515,11 +515,6 @@ $(OBJDIR)/juce_FileInputSource.o: ../../src/io/streams/juce_FileInputSource.cpp
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_MemoryOutputStream.o: ../../src/io/streams/juce_MemoryOutputStream.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_BufferedInputStream.o: ../../src/io/streams/juce_BufferedInputStream.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@@ -545,6 +540,11 @@ $(OBJDIR)/juce_InputStream.o: ../../src/io/streams/juce_InputStream.cpp
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_MemoryOutputStream.o: ../../src/io/streams/juce_MemoryOutputStream.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_StringArray.o: ../../src/text/juce_StringArray.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@@ -980,22 +980,22 @@ $(OBJDIR)/juce_RectanglePlacement.o: ../../src/gui/graphics/contexts/juce_Rectan
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_LowLevelGraphicsSoftwareRenderer.o: ../../src/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp
$(OBJDIR)/juce_EdgeTable.o: ../../src/gui/graphics/contexts/juce_EdgeTable.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_EdgeTable.o: ../../src/gui/graphics/contexts/juce_EdgeTable.cpp
$(OBJDIR)/juce_FillType.o: ../../src/gui/graphics/contexts/juce_FillType.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_FillType.o: ../../src/gui/graphics/contexts/juce_FillType.cpp
$(OBJDIR)/juce_LowLevelGraphicsPostScriptRenderer.o: ../../src/gui/graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_LowLevelGraphicsPostScriptRenderer.o: ../../src/gui/graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.cpp
$(OBJDIR)/juce_LowLevelGraphicsSoftwareRenderer.o: ../../src/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
@@ -1070,17 +1070,17 @@ $(OBJDIR)/juce_Font.o: ../../src/gui/graphics/fonts/juce_Font.cpp
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_BorderSize.o: ../../src/gui/graphics/geometry/juce_BorderSize.cpp
$(OBJDIR)/juce_Path.o: ../../src/gui/graphics/geometry/juce_Path.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_Line.o: ../../src/gui/graphics/geometry/juce_Line.cpp
$(OBJDIR)/juce_BorderSize.o: ../../src/gui/graphics/geometry/juce_BorderSize.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_Path.o: ../../src/gui/graphics/geometry/juce_Path.cpp
$(OBJDIR)/juce_Line.o: ../../src/gui/graphics/geometry/juce_Line.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
@@ -1630,11 +1630,6 @@ $(OBJDIR)/juce_linux_Midi.o: ../../src/native/linux/juce_linux_Midi.cpp
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_linux_Windowing.o: ../../src/native/linux/juce_linux_Windowing.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_linux_Fonts.o: ../../src/native/linux/juce_linux_Fonts.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@@ -1690,6 +1685,11 @@ $(OBJDIR)/juce_linux_Network.o: ../../src/native/linux/juce_linux_Network.cpp
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_linux_Windowing.o: ../../src/native/linux/juce_linux_Windowing.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"

$(OBJDIR)/juce_linux_Messaging.o: ../../src/native/linux/juce_linux_Messaging.cpp
-@$(CMD_MKOBJDIR)
@echo $(notdir $<)


+ 1
- 1
extras/amalgamator/juce_AmalgamatorMain.cpp View File

@@ -273,7 +273,7 @@ static bool munge (const File& templateFile, const File& targetFile, const Strin
TemporaryFile temp (targetFile);
ScopedPointer <FileOutputStream> out (temp.getFile().createOutputStream (1024 * 128));
if (out == 0)
{
std::cout << "\n!! ERROR - couldn't write to the target file: "


+ 3
- 3
extras/amalgamator/mac/Amalgamator.xcodeproj/project.pbxproj View File

@@ -39,7 +39,7 @@
844B0AB20F52DCCD00B2F1FD /* juce_LibrarySource.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = juce_LibrarySource.mm; path = ../juce_LibrarySource.mm; sourceTree = SOURCE_ROOT; };
844B0AC20F52DEB900B2F1FD /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = "<absolute>"; };
844B0ACB0F52DECD00B2F1FD /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = /System/Library/Frameworks/CoreAudio.framework; sourceTree = "<absolute>"; };
8DD76FB20486AB0100D96B5E /* amalgamator */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = amalgamator; sourceTree = BUILT_PRODUCTS_DIR; };
8DD76FB20486AB0100D96B5E /* Amalgamator */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Amalgamator; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
@@ -82,7 +82,7 @@
1AB674ADFE9D54B511CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
8DD76FB20486AB0100D96B5E /* amalgamator */,
8DD76FB20486AB0100D96B5E /* Amalgamator */,
);
name = Products;
sourceTree = "<group>";
@@ -118,7 +118,7 @@
name = Amalgamator;
productInstallPath = "$(HOME)/bin";
productName = Amalgamator;
productReference = 8DD76FB20486AB0100D96B5E /* amalgamator */;
productReference = 8DD76FB20486AB0100D96B5E /* Amalgamator */;
productType = "com.apple.product-type.tool";
};
/* End PBXNativeTarget section */


+ 1
- 1
extras/audio plugin host/src/juce_LibrarySource.mm View File

@@ -17,4 +17,4 @@
the amalgamated file can be slow or impossible for the debugger. But if you use the following line
instead of the one above, then it makes it a lot easier..
*/
//#include "../../../src/juce_amalgamated_template.cpp"
//#include "../../../amalgamation/juce_amalgamated_template.cpp"

+ 1
- 1
extras/audio plugins/demo/src/juce_LibrarySource.mm View File

@@ -17,4 +17,4 @@
the amalgamated file can be slow or impossible for the debugger. But if you use the following line
instead of the one above, then it makes it a lot easier..
*/
//#include "../../../../src/juce_amalgamated_template.cpp"
//#include "../../../../amalgamation/juce_amalgamated_template.cpp"

+ 1
- 1
extras/juce demo/src/juce_LibrarySource.cpp View File

@@ -18,4 +18,4 @@
the amalgamated file can be slow or impossible for the debugger. But if you use the following line
instead of the one above, then it makes it a lot easier..
*/
//#include "../../../src/juce_amalgamated_template.cpp"
//#include "../../../amalgamation/juce_amalgamated_template.cpp"

+ 1
- 1
extras/juce demo/src/juce_LibrarySource.mm View File

@@ -17,4 +17,4 @@
the amalgamated file can be slow or impossible for the debugger. But if you use the following line
instead of the one above, then it makes it a lot easier..
*/
//#include "../../../src/juce_amalgamated_template.cpp"
//#include "../../../amalgamation/juce_amalgamated_template.cpp"

+ 1
- 1
extras/the jucer/src/juce_LibrarySource.cpp View File

@@ -18,4 +18,4 @@
the amalgamated file can be slow or impossible for the debugger. But if you use the following line
instead of the one above, then it makes it a lot easier..
*/
//#include "../../../src/juce_amalgamated_template.cpp"
//#include "../../../amalgamation/juce_amalgamated_template.cpp"

+ 1
- 1
extras/the jucer/src/juce_LibrarySource.mm View File

@@ -17,4 +17,4 @@
the amalgamated file can be slow or impossible for the debugger. But if you use the following line
instead of the one above, then it makes it a lot easier..
*/
//#include "../../../src/juce_amalgamated_template.cpp"
//#include "../../../amalgamation/juce_amalgamated_template.cpp"

+ 1538
- 1215
juce_amalgamated.cpp
File diff suppressed because it is too large
View File


+ 1002
- 651
juce_amalgamated.h
File diff suppressed because it is too large
View File


Loading…
Cancel
Save