- clean working copy for leaving SVN
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
|
||||
This folder contains some *deprecated* files which include all the juce source
|
||||
code in a single cpp/header. Until the modules were introduced in 2011, this
|
||||
was a commonly-used way of compiling a JUCE app. These are left here just in
|
||||
case anyone has code that still relies on this approach, but they're not
|
||||
guaranteed to remain up to date, so use them at your own risk!
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
==============================================================================
|
||||
|
||||
This file is part of the JUCE library.
|
||||
Copyright (c) 2013 - Raw Material Software Ltd.
|
||||
|
||||
Permission is granted to use this software under the terms of either:
|
||||
a) the GPL v2 (or any later version)
|
||||
b) the Affero GPL v3
|
||||
|
||||
Details of these licenses can be found 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.juce.com for more information.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
|
||||
#ifndef __JUCE_JUCEHEADER__
|
||||
#define __JUCE_JUCEHEADER__
|
||||
|
||||
/*
|
||||
PLEASE NOTE! This file is just here to help transition old code to the newer
|
||||
modularised layout - but it will be removed at some point in the future, so
|
||||
you should update your projects to use the newer design as soon as possible.
|
||||
|
||||
Now that the library has been broken up into separate modules, instead of
|
||||
including one giant header that includes everything, you should include the
|
||||
headers of the modules that you want to use. By far the easiest way to do that
|
||||
is with the introjucer, which will sort everything out for you and create a
|
||||
single header for your app which correctly includes everything you need.
|
||||
*/
|
||||
#ifdef _MSC_VER
|
||||
#pragma message ("The juce.h file is deprecated - please include each module's header file directly, or preferably let the introjucer handle the inclusion of source code in your project.")
|
||||
#else
|
||||
#warning "The juce.h file is deprecated - please include each module's header file directly, or preferably let the introjucer handle the inclusion of source code in your project."
|
||||
#endif
|
||||
|
||||
//==============================================================================
|
||||
#include "../../modules/juce_core/juce_core.h"
|
||||
#include "../../modules/juce_gui_basics/juce_gui_basics.h"
|
||||
#include "../../modules/juce_data_structures/juce_data_structures.h"
|
||||
#include "../../modules/juce_events/juce_events.h"
|
||||
#include "../../modules/juce_graphics/juce_graphics.h"
|
||||
#include "../../modules/juce_video/juce_video.h"
|
||||
#include "../../modules/juce_opengl/juce_opengl.h"
|
||||
#include "../../modules/juce_audio_basics/juce_audio_basics.h"
|
||||
#include "../../modules/juce_audio_formats/juce_audio_formats.h"
|
||||
#include "../../modules/juce_audio_processors/juce_audio_processors.h"
|
||||
#include "../../modules/juce_audio_devices/juce_audio_devices.h"
|
||||
#include "../../modules/juce_cryptography/juce_cryptography.h"
|
||||
#include "../../modules/juce_gui_extra/juce_gui_extra.h"
|
||||
#include "../../modules/juce_audio_utils/juce_audio_utils.h"
|
||||
|
||||
|
||||
//==============================================================================
|
||||
#if ! DONT_SET_USING_JUCE_NAMESPACE
|
||||
/* If you're not mixing JUCE with other libraries, then this will obviously save
|
||||
a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE.
|
||||
*/
|
||||
using namespace juce;
|
||||
#endif
|
||||
|
||||
#endif // __JUCE_JUCEHEADER__
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
#include "juce_amalgamated_template.cpp"
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
#include "juce.h"
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
#include "juce_amalgamated_template.cpp"
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
==============================================================================
|
||||
|
||||
This file is part of the JUCE library.
|
||||
Copyright (c) 2013 - Raw Material Software Ltd.
|
||||
|
||||
Permission is granted to use this software under the terms of either:
|
||||
a) the GPL v2 (or any later version)
|
||||
b) the Affero GPL v3
|
||||
|
||||
Details of these licenses can be found 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.juce.com 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"
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
==============================================================================
|
||||
|
||||
This file is part of the JUCE library.
|
||||
Copyright (c) 2013 - Raw Material Software Ltd.
|
||||
|
||||
Permission is granted to use this software under the terms of either:
|
||||
a) the GPL v2 (or any later version)
|
||||
b) the Affero GPL v3
|
||||
|
||||
Details of these licenses can be found 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.juce.com 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"
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
==============================================================================
|
||||
|
||||
This file is part of the JUCE library.
|
||||
Copyright (c) 2013 - Raw Material Software Ltd.
|
||||
|
||||
Permission is granted to use this software under the terms of either:
|
||||
a) the GPL v2 (or any later version)
|
||||
b) the Affero GPL v3
|
||||
|
||||
Details of these licenses can be found 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.juce.com 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"
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
==============================================================================
|
||||
|
||||
This file is part of the JUCE library.
|
||||
Copyright (c) 2013 - Raw Material Software Ltd.
|
||||
|
||||
Permission is granted to use this software under the terms of either:
|
||||
a) the GPL v2 (or any later version)
|
||||
b) the Affero GPL v3
|
||||
|
||||
Details of these licenses can be found 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.juce.com 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"
|
||||
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
==============================================================================
|
||||
|
||||
This file is part of the JUCE library.
|
||||
Copyright (c) 2013 - Raw Material Software Ltd.
|
||||
|
||||
Permission is granted to use this software under the terms of either:
|
||||
a) the GPL v2 (or any later version)
|
||||
b) the Affero GPL v3
|
||||
|
||||
Details of these licenses can be found 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.juce.com for more information.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
|
||||
/*
|
||||
PLEASE NOTE! This file is just here to help transition old code to the newer
|
||||
modularised layout - but it will be removed at some point in the future, so
|
||||
you should update your projects to use the newer design as soon as possible.
|
||||
*/
|
||||
#ifdef _MSC_VER
|
||||
#pragma message ("The amalgamated files are now deprecated - please include juce modules directly, or preferably let the introjucer handle the inclusion of source code in your project.")
|
||||
#else
|
||||
#warning "The amalgamated files are now deprecated - please include juce modules directly, or preferably let the introjucer handle the inclusion of source code in your project."
|
||||
#endif
|
||||
|
||||
#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
|
||||
|
||||
#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
|
||||
#undef JUCE_BUILD_NATIVE
|
||||
#endif
|
||||
|
||||
#define JUCE_AMALGAMATED_INCLUDE 1
|
||||
|
||||
#if JUCE_BUILD_CORE
|
||||
#include "../modules/juce_core/juce_core.cpp"
|
||||
#endif
|
||||
|
||||
#if JUCE_BUILD_MISC
|
||||
#include "../modules/juce_cryptography/juce_cryptography.cpp"
|
||||
#include "../modules/juce_data_structures/juce_data_structures.cpp"
|
||||
#include "../modules/juce_events/juce_events.cpp"
|
||||
#include "../modules/juce_graphics/juce_graphics.cpp"
|
||||
#endif
|
||||
|
||||
#if JUCE_BUILD_NATIVE
|
||||
#include "../modules/juce_video/juce_video.cpp"
|
||||
#if JUCE_OPENGL
|
||||
#include "../modules/juce_opengl/juce_opengl.cpp"
|
||||
#endif
|
||||
#include "../modules/juce_audio_basics/juce_audio_basics.cpp"
|
||||
#include "../modules/juce_audio_formats/juce_audio_formats.cpp"
|
||||
#include "../modules/juce_audio_processors/juce_audio_processors.cpp"
|
||||
#include "../modules/juce_audio_devices/juce_audio_devices.cpp"
|
||||
#endif
|
||||
|
||||
#if JUCE_BUILD_GUI
|
||||
#include "../modules/juce_gui_basics/juce_gui_basics.cpp"
|
||||
#include "../modules/juce_gui_extra/juce_gui_extra.cpp"
|
||||
#include "../modules/juce_audio_utils/juce_audio_utils.cpp"
|
||||
#endif
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
==============================================================================
|
||||
|
||||
This file is part of the JUCE library.
|
||||
Copyright (c) 2013 - Raw Material Software Ltd.
|
||||
|
||||
Permission is granted to use this software under the terms of either:
|
||||
a) the GPL v2 (or any later version)
|
||||
b) the Affero GPL v3
|
||||
|
||||
Details of these licenses can be found 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.juce.com 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__
|
||||
Reference in New Issue
Block a user