1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

Jucer improvements to cope with multiple juce paths.

This commit is contained in:
Julian Storer 2010-05-17 19:24:35 +01:00
parent d65a0722fc
commit 64905b472f
57 changed files with 449 additions and 191 deletions

View file

@ -13,12 +13,12 @@ ifeq ($(CONFIG),Debug)
LIBDIR := build
OBJDIR := build/intermediate/Debug
OUTDIR := build
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
TARGET := libjuce.a
BLDCMD = ar -rcs $(OUTDIR)/$(TARGET) $(OBJECTS) $(TARGET_ARCH)
endif

View file

@ -1775,6 +1775,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_DEBUG=1",
"DEBUG=1 "); }; name = Debug; };
9DE19CD5BB8E12A153385ADD = { isa = XCBuildConfiguration; buildSettings = {
@ -1791,6 +1792,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_NDEBUG=1",
"NDEBUG=1 "); }; name = Release; };
8E935B9E7F2982A06CD7EF99 = { isa = XCBuildConfiguration; buildSettings = {

View file

@ -26,7 +26,7 @@
BufferSecurityCheck=""
DebugInformationFormat="3"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_LIB"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG;_LIB"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -69,7 +69,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_LIB"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG;_LIB"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -26,7 +26,7 @@
BufferSecurityCheck=""
DebugInformationFormat="3"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_LIB"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG;_LIB"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -69,7 +69,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_LIB"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG;_LIB"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -26,7 +26,7 @@
BufferSecurityCheck=""
DebugInformationFormat="3"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_LIB;JUCE_DLL_BUILD=1;JUCE_DLL=1"
PreprocessorDefinitions="JUCER_VS2008_9A63150B;WIN32;_WINDOWS;_DEBUG;_LIB;JUCE_DLL_BUILD=1;JUCE_DLL=1"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -70,7 +70,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_LIB;JUCE_DLL_BUILD=1;JUCE_DLL=1"
PreprocessorDefinitions="JUCER_VS2008_9A63150B;WIN32;_WINDOWS;NDEBUG;_LIB;JUCE_DLL_BUILD=1;JUCE_DLL=1"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -1775,6 +1775,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_IPHONE_25ADD7EF=1",
"_DEBUG=1",
"DEBUG=1 "); }; name = Debug; };
9DE19CD5BB8E12A153385ADD = { isa = XCBuildConfiguration; buildSettings = {
@ -1791,6 +1792,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_IPHONE_25ADD7EF=1",
"_NDEBUG=1",
"NDEBUG=1 "); }; name = Release; };
8E935B9E7F2982A06CD7EF99 = { isa = XCBuildConfiguration; buildSettings = {

View file

@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug)
LIBDIR := build
OBJDIR := build/intermediate/Debug
OUTDIR := build
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
TARGET := Jucer
BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
endif
@ -54,6 +54,7 @@ OBJECTS := \
$(OBJDIR)/jucer_ResourceFile.o \
$(OBJDIR)/jucer_SourceCodeEditor.o \
$(OBJDIR)/jucer_ComponentEditor.o \
$(OBJDIR)/jucer_ComponentViewer.o \
$(OBJDIR)/jucer_DrawableEditor.o \
$(OBJDIR)/jucer_EditorCanvas.o \
$(OBJDIR)/jucer_DocumentEditorComponent.o \
@ -148,6 +149,11 @@ $(OBJDIR)/jucer_ComponentEditor.o: ../../Source/ui/Component\ Editor/jucer_Compo
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/jucer_ComponentViewer.o: ../../Source/ui/Component\ Editor/jucer_ComponentViewer.cpp
-@mkdir -p $(OBJDIR)
@echo $(notdir $<)
@$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/jucer_DrawableEditor.o: ../../Source/ui/Drawable\ Editor/jucer_DrawableEditor.cpp
-@mkdir -p $(OBJDIR)
@echo $(notdir $<)

View file

@ -28,6 +28,7 @@
7C9FFFC0B129F5C3FAEE13E9 = { isa = PBXBuildFile; fileRef = A6D148E4503AAD3DE6DDCD8B; };
33E1A095D656AF109DD54170 = { isa = PBXBuildFile; fileRef = 31F175F277299B3CEA857F96; };
D706C3B5016318D85FE452C2 = { isa = PBXBuildFile; fileRef = 3263F4099F45D6FACD28F08D; };
872B76525D184228B4F69372 = { isa = PBXBuildFile; fileRef = 06F5D2DB198F068520732796; };
E43D00B370F289420379B759 = { isa = PBXBuildFile; fileRef = 82F91CF84A296665177CB79A; };
EFFCA85EFB4F06F1BEB9AB97 = { isa = PBXBuildFile; fileRef = 03E9C079FBBF727D50A2B678; };
944CE0EADAD951F48EC77071 = { isa = PBXBuildFile; fileRef = 3B2C45064E85B3B631D4F921; };
@ -106,6 +107,8 @@
7CB154C3682F8C786134A6F3 = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = jucer_ComponentEditorCodeView.h; path = "../../Source/ui/Component Editor/jucer_ComponentEditorCodeView.h"; sourceTree = SOURCE_ROOT; };
B5F5AD9FC53F60610C71367C = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = jucer_ComponentEditorToolbar.h; path = "../../Source/ui/Component Editor/jucer_ComponentEditorToolbar.h"; sourceTree = SOURCE_ROOT; };
8CB73D6F1D0FFC4B379D1240 = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = jucer_ComponentEditorTreeView.h; path = "../../Source/ui/Component Editor/jucer_ComponentEditorTreeView.h"; sourceTree = SOURCE_ROOT; };
06F5D2DB198F068520732796 = { isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = jucer_ComponentViewer.cpp; path = "../../Source/ui/Component Editor/jucer_ComponentViewer.cpp"; sourceTree = SOURCE_ROOT; };
1309F36592198D9DC738FDE6 = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = jucer_ComponentViewer.h; path = "../../Source/ui/Component Editor/jucer_ComponentViewer.h"; sourceTree = SOURCE_ROOT; };
82F91CF84A296665177CB79A = { isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = jucer_DrawableEditor.cpp; path = "../../Source/ui/Drawable Editor/jucer_DrawableEditor.cpp"; sourceTree = SOURCE_ROOT; };
D1776C5F3E6BB7E8C698BAD6 = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = jucer_DrawableEditor.h; path = "../../Source/ui/Drawable Editor/jucer_DrawableEditor.h"; sourceTree = SOURCE_ROOT; };
B19F19A0ED7386FAA7DD854E = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = jucer_DrawableEditorCanvas.h; path = "../../Source/ui/Drawable Editor/jucer_DrawableEditorCanvas.h"; sourceTree = SOURCE_ROOT; };
@ -230,7 +233,9 @@
3B77C7A8D9A2386088D75CFE,
7CB154C3682F8C786134A6F3,
B5F5AD9FC53F60610C71367C,
8CB73D6F1D0FFC4B379D1240 ); name = "Component Editor"; sourceTree = "<group>"; };
8CB73D6F1D0FFC4B379D1240,
06F5D2DB198F068520732796,
1309F36592198D9DC738FDE6 ); name = "Component Editor"; sourceTree = "<group>"; };
E6053BD673F80E900DDA3593 = { isa = PBXGroup; children = (
82F91CF84A296665177CB79A,
D1776C5F3E6BB7E8C698BAD6,
@ -355,6 +360,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_DEBUG=1",
"DEBUG=1 "); }; name = Debug; };
673FACB8969ADED17ACEFF7C = { isa = XCBuildConfiguration; buildSettings = {
@ -368,6 +374,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_NDEBUG=1",
"NDEBUG=1 "); }; name = Release; };
69D26A715A354ED1735D8438 = { isa = XCBuildConfiguration; buildSettings = {
@ -417,6 +424,7 @@
7C9FFFC0B129F5C3FAEE13E9,
33E1A095D656AF109DD54170,
D706C3B5016318D85FE452C2,
872B76525D184228B4F69372,
E43D00B370F289420379B759,
EFFCA85EFB4F06F1BEB9AB97,
944CE0EADAD951F48EC77071,

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -184,6 +184,8 @@
<File RelativePath="..\..\Source\ui\Component Editor\jucer_ComponentEditorCodeView.h"/>
<File RelativePath="..\..\Source\ui\Component Editor\jucer_ComponentEditorToolbar.h"/>
<File RelativePath="..\..\Source\ui\Component Editor\jucer_ComponentEditorTreeView.h"/>
<File RelativePath="..\..\Source\ui\Component Editor\jucer_ComponentViewer.cpp"/>
<File RelativePath="..\..\Source\ui\Component Editor\jucer_ComponentViewer.h"/>
</Filter>
<Filter Name="Drawable Editor">
<File RelativePath="..\..\Source\ui\Drawable Editor\jucer_DrawableEditor.cpp"/>

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -184,6 +184,8 @@
<File RelativePath="..\..\Source\ui\Component Editor\jucer_ComponentEditorCodeView.h"/>
<File RelativePath="..\..\Source\ui\Component Editor\jucer_ComponentEditorToolbar.h"/>
<File RelativePath="..\..\Source\ui\Component Editor\jucer_ComponentEditorTreeView.h"/>
<File RelativePath="..\..\Source\ui\Component Editor\jucer_ComponentViewer.cpp"/>
<File RelativePath="..\..\Source\ui\Component Editor\jucer_ComponentViewer.h"/>
</Filter>
<Filter Name="Drawable Editor">
<File RelativePath="..\..\Source\ui\Drawable Editor\jucer_DrawableEditor.cpp"/>

View file

@ -124,6 +124,10 @@
resource="0" file="Source/ui/Component Editor/jucer_ComponentEditorToolbar.h"/>
<FILE id="B9QzpSD6c" name="jucer_ComponentEditorTreeView.h" compile="0"
resource="0" file="Source/ui/Component Editor/jucer_ComponentEditorTreeView.h"/>
<FILE id="OUefpLz58" name="jucer_ComponentViewer.cpp" compile="1" resource="0"
file="Source/ui/Component Editor/jucer_ComponentViewer.cpp"/>
<FILE id="nTJT0X7O" name="jucer_ComponentViewer.h" compile="0" resource="0"
file="Source/ui/Component Editor/jucer_ComponentViewer.h"/>
</GROUP>
<GROUP id="VLkoRqu1c" name="Drawable Editor">
<FILE id="0eWoa5Ttv" name="jucer_DrawableEditor.cpp" compile="1" resource="0"

View file

@ -32,21 +32,6 @@
class ComponentTypeHandler;
class JucerState
{
public:
JucerState (const ValueTree& state_)
: state (state_)
{
}
~JucerState()
{
}
private:
ValueTree state;
};
//==============================================================================
/** Temporary wrapper around a document and a component's ValueTree, providing lots of useful
@ -114,6 +99,7 @@ public:
virtual void initialiseNewItem (ComponentTypeInstance& item) = 0;
virtual void updateComponent (ComponentTypeInstance& item, Component* comp) = 0;
virtual void createPropertyEditors (ComponentTypeInstance& item, Array <PropertyComponent*>& props) = 0;
virtual void itemDoubleClicked (const MouseEvent& e, ComponentTypeInstance& item) = 0;
virtual void createCode (ComponentTypeInstance& item, CodeGenerator& code) = 0;
virtual const String getClassName (ComponentTypeInstance& item) const { return className; }
@ -193,6 +179,10 @@ public:
createProperties (item, props);
}
void itemDoubleClicked (const MouseEvent&, ComponentTypeInstance&)
{
}
protected:
//==============================================================================
struct EditableColour

View file

@ -28,6 +28,9 @@
#else
#include "../jucer_ComponentDocument.h"
#include "../../../ui/jucer_OpenDocumentManager.h"
#include "../../../ui/Project Editor/jucer_ProjectContentComponent.h"
//==============================================================================
class JucerComponent : public Component
@ -55,7 +58,6 @@ public:
{
projectId = newProjectId;
comp = 0;
document = 0;
if (newProjectId.isNotEmpty())
{
@ -63,11 +65,11 @@ public:
if (file.exists())
{
ComponentDocument doc (item.getDocument().getProject(), file);
OpenDocumentManager::Document* doc = OpenDocumentManager::getInstance()->getDocumentForFile (item.getDocument().getProject(), file);
if (doc.reload())
if (doc != 0)
{
addAndMakeVisible (comp = new ComponentDocument::TestComponent (doc));
addAndMakeVisible (comp = doc->createViewer());
resized();
}
}
@ -75,22 +77,15 @@ public:
}
}
private:
String projectId;
ScopedPointer<ComponentDocument> document;
ScopedPointer<ComponentDocument::TestComponent> comp;
const File getDocumentFile (ComponentTypeInstance& item, const String projectItemId)
static const File getDocumentFile (ComponentTypeInstance& item, const String projectItemId)
{
const String projectId (projectItemId);
if (projectId.isNotEmpty())
if (projectItemId.isNotEmpty())
{
Project* project = item.getDocument().getProject();
if (project != 0)
{
Project::Item item (project->getMainGroup().findItemWithID (projectId));
Project::Item item (project->getMainGroup().findItemWithID (projectItemId));
if (item.isValid())
return item.getFile();
@ -99,6 +94,10 @@ private:
return File::nonexistent;
}
private:
String projectId;
ScopedPointer<Component> comp;
};
//==============================================================================
@ -149,6 +148,14 @@ public:
item.addFocusOrderProperty (props);
}
void itemDoubleClicked (const MouseEvent& e, ComponentTypeInstance& item)
{
ProjectContentComponent* pcc = e.originalComponent->findParentComponentOfClass ((ProjectContentComponent*) 0);
if (pcc != 0)
pcc->showEditorForFile (JucerComponent::getDocumentFile (item, item [Ids::source].toString()));
}
const String getClassName (ComponentTypeInstance& item) const
{
return "xxx";

View file

@ -374,6 +374,12 @@ const ValueTree ComponentDocument::performNewComponentMenuItem (int menuResultCo
return ValueTree::invalid;
}
void ComponentDocument::componentDoubleClicked (const MouseEvent& e, const ValueTree& state)
{
ComponentTypeInstance item (*this, state);
item.getHandler()->itemDoubleClicked (e, item);
}
void ComponentDocument::updateComponentsIn (Component* compHolder)
{
int i;
@ -394,12 +400,10 @@ void ComponentDocument::updateComponentsIn (Component* compHolder)
Component* c = findComponentForState (compHolder, v);
if (c == 0)
{
c = createComponent (i);
compHolder->addAndMakeVisible (c);
}
compHolder->addAndMakeVisible (c = createComponent (i));
else
updateComponent (c);
updateComponent (c);
componentsInOrder.add (c);
}
@ -413,51 +417,6 @@ void ComponentDocument::updateComponentsIn (Component* compHolder)
}
}
//==============================================================================
ComponentDocument::TestComponent::TestComponent (ComponentDocument& document)
{
background = Colour::fromString (document.getBackgroundColour().toString());
layoutManager = new ComponentAutoLayoutManager (this);
setSize (document.getCanvasWidth().getValue(),
document.getCanvasHeight().getValue());
int i;
for (i = 0; i < document.getNumComponents(); ++i)
{
Component* c = document.createComponent (i);
addAndMakeVisible (c);
const ValueTree state (document.getComponent (i));
layoutManager->setComponentLayout (c, state [ComponentDocument::memberNameProperty],
document.getCoordsFor (state));
}
for (i = 0; i < document.getMarkerListX().size(); ++i)
{
const ValueTree marker (document.getMarkerListX().getMarker (i));
layoutManager->setMarker (document.getMarkerListX().getName (marker),
document.getMarkerListX().getCoordinate (marker));
}
for (i = 0; i < document.getMarkerListY().size(); ++i)
{
const ValueTree marker (document.getMarkerListY().getMarker (i));
layoutManager->setMarker (document.getMarkerListY().getName (marker),
document.getMarkerListY().getCoordinate (marker));
}
}
ComponentDocument::TestComponent::~TestComponent()
{
deleteAllChildren();
}
void ComponentDocument::TestComponent::paint (Graphics& g)
{
g.fillAll (background);
}
//==============================================================================
ValueTree ComponentDocument::getComponentGroup() const
{

View file

@ -94,7 +94,10 @@ public:
void addNewComponentMenuItems (PopupMenu& menu) const;
const ValueTree performNewComponentMenuItem (int menuResultCode);
void componentDoubleClicked (const MouseEvent& e, const ValueTree& state);
void updateComponentsIn (Component* compHolder);
Component* findComponentForState (Component* parentComp, const ValueTree& state);
//==============================================================================
class MarkerList : public MarkerListBase
@ -163,19 +166,6 @@ public:
static const String getJucerIDFor (Component* c);
//==============================================================================
class TestComponent : public Component
{
public:
TestComponent (ComponentDocument& document);
~TestComponent();
void paint (Graphics& g);
private:
ScopedPointer<ComponentAutoLayoutManager> layoutManager;
Colour background;
};
juce_UseDebuggingNewOperator
private:
@ -201,8 +191,6 @@ private:
void writeMetadata (OutputStream& out);
bool createItemProperties (Array <PropertyComponent*>& props, const String& itemId);
Component* findComponentForState (Component* compHolder, const ValueTree& state);
};

View file

@ -112,7 +112,6 @@ public:
bool isPossibleForCurrentProject() { return true; }
bool usesMMFiles() const { return false; }
const String getOSTestMacro() { return "(defined (_WIN32) || defined (_WIN64))"; }
void launchProject()
{
@ -358,6 +357,7 @@ private:
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");

View file

@ -75,7 +75,6 @@ public:
bool isPossibleForCurrentProject() { return true; }
bool usesMMFiles() const { return false; }
const String getOSTestMacro() { return "(defined (LINUX) || defined (__linux__))"; }
void launchProject()
{
@ -126,6 +125,7 @@ private:
void writeDefineFlags (OutputStream& out, const Project::BuildConfiguration& config)
{
StringArray defines;
defines.add (getExporterIdentifierMacro() + "=1");
defines.add ("LINUX=1");
if (config.isDebug().getValue())

View file

@ -82,7 +82,6 @@ public:
}
bool isPossibleForCurrentProject() { return project.isGUIApplication() || ! iPhone; }
const String getOSTestMacro() { return "(defined(__APPLE_CPP__) || defined(__APPLE_CC__))"; }
bool usesMMFiles() const { return true; }
void createPropertyEditors (Array <PropertyComponent*>& props)
@ -491,6 +490,8 @@ private:
StringArray defines;
defines.add (getExporterIdentifierMacro() + "=1");
if (config.isDebug().getValue())
{
defines.add ("_DEBUG=1");

View file

@ -54,14 +54,13 @@ public:
virtual void createPropertyEditors (Array <PropertyComponent*>& props);
virtual void launchProject() = 0;
virtual const String create() = 0;
virtual const String getOSTestMacro() = 0;
virtual bool shouldFileBeCompiledByDefault (const RelativePath& path) const;
//==============================================================================
const String getName() const { return name; }
const File getTargetFolder() const;
const ValueTree& getSettings() const { return settings; }
const ValueTree& getSettings() const { return settings; }
Value getSetting (const Identifier& name_) const { return settings.getPropertyAsValue (name_, project.getUndoManagerFor (settings)); }
Value getJuceFolder() const { return getSetting ("juceFolder"); }
@ -84,6 +83,12 @@ public:
// 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;
const String getExporterIdentifierMacro() const
{
return "JUCER_" + settings.getType() + "_"
+ String::toHexString (settings ["targetFolder"].toString().hashCode()).toUpperCase();
}
Array<RelativePath> juceWrapperFiles;
protected:

View file

@ -252,7 +252,7 @@ private:
if (exporter != 0)
{
paths.add (exporter->getIncludePathForFileInJuceFolder (pathFromJuceFolder, juceHeaderFile));
guards.add (exporter->getOSTestMacro());
guards.add ("defined (" + exporter->getExporterIdentifierMacro() + ")");
}
}

View file

@ -273,11 +273,11 @@ void ComponentEditor::showNewComponentMenu (Component* componentToAttachTo)
//==============================================================================
void ComponentEditor::test()
{
ComponentDocument::TestComponent testComp (getDocument());
ScopedPointer<Component> testComp (document->createViewer());
TooltipWindow tooltipWindow;
DialogWindow::showModalDialog ("Testing: " + getDocument().getClassName().toString(),
&testComp, this, Colours::lightgrey, true, true);
testComp, this, Colours::lightgrey, true, true);
}
//==============================================================================

View file

@ -89,5 +89,4 @@ private:
};
#endif // __JUCE_COMPONENTEDITOR_H_6CAE6B7E__

View file

@ -108,6 +108,11 @@ public:
}
}
void objectDoubleClicked (const MouseEvent& e, const ValueTree& state)
{
getDocument().componentDoubleClicked (e, state);
}
const ValueTree getObjectState (const String& objectId)
{
return getDocument().getComponentWithID (objectId);

View file

@ -0,0 +1,142 @@
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-10 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.
==============================================================================
*/
#include "../../jucer_Headers.h"
#include "jucer_ComponentViewer.h"
//==============================================================================
ComponentViewer::ComponentViewer (OpenDocumentManager::Document* document_, Project* project_, ComponentDocument* componentDocument_)
: document (document_), project (project_), componentDocument (componentDocument_)
{
OpenDocumentManager::getInstance()->addListener (this);
documentRoot = componentDocument->getRoot();
documentRoot.addListener (this);
handleAsyncUpdate();
}
ComponentViewer::~ComponentViewer()
{
OpenDocumentManager::getInstance()->removeListener (this);
deleteAllChildren();
}
void ComponentViewer::documentAboutToClose (OpenDocumentManager::Document* closingDoc)
{
if (document == closingDoc)
{
componentDocument = 0;
document = 0;
layoutManager = 0;
documentRoot = ValueTree::invalid;
triggerAsyncUpdate();
handleUpdateNowIfNeeded();
// xxx
}
}
void ComponentViewer::paint (Graphics& g)
{
if (componentDocument == 0)
drawComponentPlaceholder (g, getWidth(), getHeight(), "(Not a valid Jucer component)");
else
g.fillAll (background);
}
void ComponentViewer::handleAsyncUpdate()
{
deleteAllChildren();
layoutManager = 0;
background = Colours::transparentBlack;
if (componentDocument != 0)
{
background = Colour::fromString (componentDocument->getBackgroundColour().toString());
if (layoutManager == 0)
layoutManager = new ComponentAutoLayoutManager (this);
int i;
for (i = getNumChildComponents(); --i >= 0;)
{
Component* c = getChildComponent (i);
if (! componentDocument->containsComponent (c))
delete c;
}
{
Array <Component*> componentsInOrder;
const int num = componentDocument->getNumComponents();
for (i = 0; i < num; ++i)
{
const ValueTree v (componentDocument->getComponent (i));
Component* c = componentDocument->findComponentForState (this, v);
if (c == 0)
addAndMakeVisible (c = componentDocument->createComponent (i));
else
componentDocument->updateComponent (c);
componentsInOrder.add (c);
layoutManager->setComponentLayout (c, v [ComponentDocument::memberNameProperty], componentDocument->getCoordsFor (v));
}
// Make sure the z-order is correct..
if (num > 0)
{
componentsInOrder.getLast()->toFront (false);
for (i = num - 1; --i >= 0;)
componentsInOrder.getUnchecked(i)->toBehind (componentsInOrder.getUnchecked (i + 1));
}
}
setSize (componentDocument->getCanvasWidth().getValue(),
componentDocument->getCanvasHeight().getValue());
for (i = 0; i < componentDocument->getMarkerListX().size(); ++i)
{
const ValueTree marker (componentDocument->getMarkerListX().getMarker (i));
layoutManager->setMarker (componentDocument->getMarkerListX().getName (marker),
componentDocument->getMarkerListX().getCoordinate (marker));
}
for (i = 0; i < componentDocument->getMarkerListY().size(); ++i)
{
const ValueTree marker (componentDocument->getMarkerListY().getMarker (i));
layoutManager->setMarker (componentDocument->getMarkerListY().getName (marker),
componentDocument->getMarkerListY().getCoordinate (marker));
}
}
repaint();
}

View file

@ -0,0 +1,73 @@
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-10 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.
==============================================================================
*/
#ifndef __JUCER_COMPONENTVIEWER_H_56080E43__
#define __JUCER_COMPONENTVIEWER_H_56080E43__
#include "../jucer_DocumentEditorComponent.h"
#include "../../model/Component/jucer_ComponentDocument.h"
//==============================================================================
/**
*/
class ComponentViewer : public Component,
public OpenDocumentManager::DocumentCloseListener,
public AsyncUpdater,
public ValueTree::Listener
{
public:
//==============================================================================
ComponentViewer (OpenDocumentManager::Document* document, Project* project,
ComponentDocument* componentDocument);
~ComponentViewer();
//==============================================================================
void paint (Graphics& g);
void documentAboutToClose (OpenDocumentManager::Document* closingDoc);
void valueTreePropertyChanged (ValueTree&, const Identifier&) { triggerAsyncUpdate(); }
void valueTreeChildrenChanged (ValueTree& treeWhoseChildHasChanged) { triggerAsyncUpdate(); }
void valueTreeParentChanged (ValueTree& treeWhoseParentHasChanged) {}
void handleAsyncUpdate();
private:
//==============================================================================
Project* project;
OpenDocumentManager::Document* document;
ComponentDocument* componentDocument;
ValueTree documentRoot;
ScopedPointer<ComponentAutoLayoutManager> layoutManager;
Colour background;
ComponentViewer (const ComponentViewer&);
ComponentViewer& operator= (const ComponentViewer&);
};
#endif // __JUCER_COMPONENTVIEWER_H_56080E43__

View file

@ -95,6 +95,10 @@ public:
}
}
void objectDoubleClicked (const MouseEvent& e, const ValueTree& state)
{
}
const ValueTree getObjectState (const String& objectId)
{
return ValueTree();

View file

@ -469,6 +469,17 @@ public:
{
canvas->getMarkerList (false).createMarker ("Marker", e.y - yAxis.getY());
}
else
{
const MouseEvent e2 (e.getEventRelativeTo (canvas->getComponentHolder()));
const SelectedItems::ItemType underMouse (canvas->findObjectIdAt (e2.getPosition()));
if (underMouse.isNotEmpty())
{
const ValueTree state (canvas->getObjectState (underMouse));
canvas->objectDoubleClicked (e2, state);
}
}
}
void findLassoItemsInArea (Array <SelectedItems::ItemType>& itemsFound, const Rectangle<int>& area)

View file

@ -73,6 +73,7 @@ public:
virtual const SelectedItems::ItemType findObjectIdAt (const Point<int>& position) = 0;
virtual void showPopupMenu (const Point<int>& position) = 0;
virtual void objectDoubleClicked (const MouseEvent& e, const ValueTree& state) = 0;
virtual const ValueTree getObjectState (const String& objectId) = 0;
virtual const Rectangle<int> getObjectPosition (const ValueTree& state) = 0;

View file

@ -31,27 +31,29 @@
DocumentEditorComponent::DocumentEditorComponent (OpenDocumentManager::Document* document_)
: document (document_)
{
OpenDocumentManager::getInstance()->registerEditor (this);
OpenDocumentManager::getInstance()->addListener (this);
}
DocumentEditorComponent::~DocumentEditorComponent()
{
OpenDocumentManager::getInstance()->deregisterEditor (this);
OpenDocumentManager::getInstance()->removeListener (this);
}
void DocumentEditorComponent::deleteSelf()
void DocumentEditorComponent::documentAboutToClose (OpenDocumentManager::Document* closingDoc)
{
jassert (document != 0);
ProjectContentComponent* pcc = findParentComponentOfClass ((ProjectContentComponent*) 0);
if (pcc != 0)
if (document == closingDoc)
{
pcc->hideDocument (document);
return;
}
jassert (document != 0);
ProjectContentComponent* pcc = findParentComponentOfClass ((ProjectContentComponent*) 0);
jassertfalse
if (pcc != 0)
{
pcc->hideDocument (document);
return;
}
jassertfalse
}
}
ApplicationCommandTarget* DocumentEditorComponent::getNextCommandTarget()

View file

@ -33,7 +33,8 @@
/**
*/
class DocumentEditorComponent : public Component,
public ApplicationCommandTarget
public ApplicationCommandTarget,
public OpenDocumentManager::DocumentCloseListener
{
public:
//==============================================================================
@ -41,7 +42,7 @@ public:
~DocumentEditorComponent();
OpenDocumentManager::Document* getDocument() const { return document; }
virtual void deleteSelf();
void documentAboutToClose (OpenDocumentManager::Document* document);
//==============================================================================
ApplicationCommandTarget* getNextCommandTarget();

View file

@ -28,6 +28,7 @@
#include "Drawable Editor/jucer_DrawableEditor.h"
#include "Project Editor/jucer_ItemPreviewComponent.h"
#include "Component Editor/jucer_ComponentEditor.h"
#include "Component Editor/jucer_ComponentViewer.h"
//==============================================================================
@ -91,6 +92,8 @@ public:
return new SourceCodeEditor (this, *codeDoc, tokeniser);
}
Component* createViewer() { return createEditor(); }
private:
FileModificationDetector modDetector;
ScopedPointer <CodeDocument> codeDoc;
@ -165,6 +168,17 @@ public:
return new ComponentEditor (this, project, componentDoc);
}
Component* createViewer()
{
if (componentDoc == 0)
{
jassertfalse;
return 0;
}
return new ComponentViewer (this, project, componentDoc);
}
private:
Project* project;
FileModificationDetector modDetector;
@ -231,6 +245,11 @@ public:
return new DrawableEditor (this, project, drawableDoc);
}
Component* createViewer()
{
return createEditor(); //xxx
}
private:
Project* project;
FileModificationDetector modDetector;
@ -259,6 +278,7 @@ public:
void reloadFromFile() { fileModificationTime = file.getLastModificationTime(); }
const String getName() const { return file.getFileName(); }
Component* createEditor() { return new ItemPreviewComponent (file); }
Component* createViewer() { return createEditor(); }
void fileHasBeenRenamed (const File& newFile) { file = newFile; }
const String getType() const
@ -293,14 +313,14 @@ OpenDocumentManager::~OpenDocumentManager()
juce_ImplementSingleton_SingleThreaded (OpenDocumentManager);
//==============================================================================
void OpenDocumentManager::registerEditor (DocumentEditorComponent* editor)
void OpenDocumentManager::addListener (DocumentCloseListener* listener)
{
editors.add (editor);
listeners.addIfNotAlreadyThere (listener);
}
void OpenDocumentManager::deregisterEditor (DocumentEditorComponent* editor)
void OpenDocumentManager::removeListener (DocumentCloseListener* listener)
{
editors.removeValue (editor);
listeners.removeValue (listener);
}
//==============================================================================
@ -396,9 +416,8 @@ bool OpenDocumentManager::closeDocument (int index, bool saveIfNeeded)
return false;
}
for (int i = editors.size(); --i >= 0;)
if (editors.getUnchecked(i)->getDocument() == doc)
editors.getUnchecked(i)->deleteSelf();
for (int i = listeners.size(); --i >= 0;)
listeners.getUnchecked(i)->documentAboutToClose (doc);
documents.remove (index);
commandManager->commandStatusChanged();

View file

@ -28,7 +28,6 @@
#include "../model/Project/jucer_Project.h"
#include "../model/Drawable/jucer_DrawableDocument.h"
class DocumentEditorComponent;
//==============================================================================
@ -61,6 +60,7 @@ public:
virtual bool hasFileBeenModifiedExternally() = 0;
virtual void reloadFromFile() = 0;
virtual Component* createEditor() = 0;
virtual Component* createViewer() = 0;
virtual void fileHasBeenRenamed (const File& newFile) = 0;
};
@ -83,15 +83,24 @@ public:
void fileHasBeenRenamed (const File& oldFile, const File& newFile);
//==============================================================================
void registerEditor (DocumentEditorComponent* editor);
void deregisterEditor (DocumentEditorComponent* editor);
class DocumentCloseListener
{
public:
DocumentCloseListener() {}
virtual ~DocumentCloseListener() {}
virtual void documentAboutToClose (Document* document) = 0;
};
void addListener (DocumentCloseListener* listener);
void removeListener (DocumentCloseListener* listener);
//==============================================================================
juce_UseDebuggingNewOperator
private:
OwnedArray <Document> documents;
SortedSet <DocumentEditorComponent*> editors;
Array <DocumentCloseListener*> listeners;
};

View file

@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug)
LIBDIR := build
OBJDIR := build/intermediate/Debug
OUTDIR := build
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
TARGET := amalgamator
BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
endif

View file

@ -74,6 +74,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_DEBUG=1",
"DEBUG=1 "); }; name = Debug; };
4DFAC29D863495AD1E31B6B9 = { isa = XCBuildConfiguration; buildSettings = {
@ -86,6 +87,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_NDEBUG=1",
"NDEBUG=1 "); }; name = Release; };
4EAD81574ACF05AC27D04B76 = { isa = XCBuildConfiguration; buildSettings = {

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_CONSOLE"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG;_CONSOLE"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_CONSOLE"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG;_CONSOLE"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_CONSOLE"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG;_CONSOLE"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_CONSOLE"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG;_CONSOLE"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug)
LIBDIR := build
OBJDIR := build/intermediate/Debug
OUTDIR := build
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
TARGET := Plugin\ Host
BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
endif

View file

@ -112,6 +112,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_DEBUG=1",
"DEBUG=1 "); }; name = Debug; };
90901561E3F7FD713257B23D = { isa = XCBuildConfiguration; buildSettings = {
@ -125,6 +126,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_NDEBUG=1",
"NDEBUG=1 "); }; name = Release; };
8133D32BA8816D704BF648FA = { isa = XCBuildConfiguration; buildSettings = {

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4"
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4"
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4"
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4"
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -249,6 +249,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_DEBUG=1",
"DEBUG=1 ",
"JUCE_ObjCExtraSuffix=JuceDemo"); }; name = Debug; };
@ -268,6 +269,7 @@
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; };

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4;..\..\JuceLibraryCode"
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4;..\..\JuceLibraryCode"
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4;..\..\JuceLibraryCode"
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories="c:\SDKs\vstsdk2.4;..\..\JuceLibraryCode"
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug)
LIBDIR := build
OBJDIR := build/intermediate/Debug
OUTDIR := build
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
TARGET := BinaryBuilder
BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
endif

View file

@ -74,6 +74,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_DEBUG=1",
"DEBUG=1 "); }; name = Debug; };
D4E910481C9C05D598DC755B = { isa = XCBuildConfiguration; buildSettings = {
@ -86,6 +87,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_NDEBUG=1",
"NDEBUG=1 "); }; name = Release; };
C69BDE02D12775D4A17BFA17 = { isa = XCBuildConfiguration; buildSettings = {

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_CONSOLE"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG;_CONSOLE"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_CONSOLE"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG;_CONSOLE"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_CONSOLE"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG;_CONSOLE"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_CONSOLE"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG;_CONSOLE"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug)
LIBDIR := build
OBJDIR := build/intermediate/Debug
OUTDIR := build
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
TARGET := HelloWorld
BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
endif

View file

@ -91,6 +91,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_DEBUG=1",
"DEBUG=1 "); }; name = Debug; };
2BF0DFE3F61DBC969BCBD0C4 = { isa = XCBuildConfiguration; buildSettings = {
@ -104,6 +105,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_NDEBUG=1",
"NDEBUG=1 "); }; name = Release; };
1C939EADBAB81B95A46A6581 = { isa = XCBuildConfiguration; buildSettings = {

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -76,6 +76,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_IPHONE_25ADD7EF=1",
"_DEBUG=1",
"DEBUG=1 "); }; name = Debug; };
2BF0DFE3F61DBC969BCBD0C4 = { isa = XCBuildConfiguration; buildSettings = {
@ -89,6 +90,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_IPHONE_25ADD7EF=1",
"_NDEBUG=1",
"NDEBUG=1 "); }; name = Release; };
1C939EADBAB81B95A46A6581 = { isa = XCBuildConfiguration; buildSettings = {

View file

@ -17,12 +17,12 @@ ifeq ($(CONFIG),Debug)
LIBDIR := build
OBJDIR := build/intermediate/Debug
OUTDIR := build
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
CPPFLAGS := $(DEPFLAGS) -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=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 "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
RESFLAGS := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "LINUX=1" -D "NDEBUG=1" -I "/usr/include" -I "/usr/include/freetype2"
TARGET := JuceDemo
BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
endif

View file

@ -183,6 +183,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_DEBUG=1",
"DEBUG=1 "); }; name = Debug; };
8EF7C7FFD55219581A5075F3 = { isa = XCBuildConfiguration; buildSettings = {
@ -196,6 +197,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_MAC_F6D2F4CF=1",
"_NDEBUG=1",
"NDEBUG=1 "); }; name = Release; };
7FA986B99AFC795723E00AB0 = { isa = XCBuildConfiguration; buildSettings = {

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;_DEBUG"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
PreprocessorDefinitions="JUCER_VS2005_78A5003;WIN32;_WINDOWS;NDEBUG"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -33,7 +33,7 @@
BufferSecurityCheck=""
DebugInformationFormat="4"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;_DEBUG"
RuntimeLibrary="1"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
@ -89,7 +89,7 @@
InlineFunctionExpansion="1"
StringPooling="true"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
PreprocessorDefinitions="JUCER_VS2008_78A5006;WIN32;_WINDOWS;NDEBUG"
RuntimeLibrary="0"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"

View file

@ -168,6 +168,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_IPHONE_25ADD7EF=1",
"_DEBUG=1",
"DEBUG=1 "); }; name = Debug; };
8EF7C7FFD55219581A5075F3 = { isa = XCBuildConfiguration; buildSettings = {
@ -181,6 +182,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"JUCER_XCODE_IPHONE_25ADD7EF=1",
"_NDEBUG=1",
"NDEBUG=1 "); }; name = Release; };
7FA986B99AFC795723E00AB0 = { isa = XCBuildConfiguration; buildSettings = {