diff --git a/PGCommandLine/.cproject b/PGCommandLine/.cproject
new file mode 100644
index 0000000..632389f
--- /dev/null
+++ b/PGCommandLine/.cproject
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PGCommandLine/.project b/PGCommandLine/.project
new file mode 100644
index 0000000..b518dd2
--- /dev/null
+++ b/PGCommandLine/.project
@@ -0,0 +1,93 @@
+
+
+ projectGenerator
+
+
+ libs
+ openFrameworks
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+ ?name?
+
+
+
+ org.eclipse.cdt.make.core.append_environment
+ true
+
+
+ org.eclipse.cdt.make.core.autoBuildTarget
+ all
+
+
+ org.eclipse.cdt.make.core.buildArguments
+
+
+
+ org.eclipse.cdt.make.core.buildCommand
+ make
+
+
+ org.eclipse.cdt.make.core.cleanBuildTarget
+ clean
+
+
+ org.eclipse.cdt.make.core.contents
+ org.eclipse.cdt.make.core.activeConfigSettings
+
+
+ org.eclipse.cdt.make.core.enableAutoBuild
+ false
+
+
+ org.eclipse.cdt.make.core.enableCleanBuild
+ true
+
+
+ org.eclipse.cdt.make.core.enableFullBuild
+ true
+
+
+ org.eclipse.cdt.make.core.fullBuildTarget
+ all
+
+
+ org.eclipse.cdt.make.core.stopOnError
+ true
+
+
+ org.eclipse.cdt.make.core.useDefaultBuildCmd
+ true
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.core.ccnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
+
+ ofxGui
+ 2
+ /home/arturo/Desktop/openFrameworks/addons/ofxGui
+
+
+ ofxXmlSettings
+ 2
+ /home/arturo/Desktop/openFrameworks/addons/ofxXmlSettings
+
+
+
diff --git a/PGCommandLine/.settings/org.eclipse.cdt.codan.core.prefs b/PGCommandLine/.settings/org.eclipse.cdt.codan.core.prefs
new file mode 100644
index 0000000..2afffb7
--- /dev/null
+++ b/PGCommandLine/.settings/org.eclipse.cdt.codan.core.prefs
@@ -0,0 +1,66 @@
+#Fri Feb 24 12:13:22 EST 2012
+eclipse.preferences.version=1
+org.eclipse.cdt.codan.checkers.errnoreturn=Warning
+org.eclipse.cdt.codan.checkers.errnoreturn.params={implicit\=>false}
+org.eclipse.cdt.codan.checkers.errreturnvalue=Error
+org.eclipse.cdt.codan.checkers.errreturnvalue.params={}
+org.eclipse.cdt.codan.checkers.noreturn=Error
+org.eclipse.cdt.codan.checkers.noreturn.params={implicit\=>false}
+org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation=Error
+org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem=Error
+org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem.params={}
+org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem=Error
+org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem.params={}
+org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem.params={no_break_comment\=>"no break",last_case_param\=>true,empty_case_param\=>false}
+org.eclipse.cdt.codan.internal.checkers.CatchByReference=Warning
+org.eclipse.cdt.codan.internal.checkers.CatchByReference.params={unknown\=>false,exceptions\=>()}
+org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem=Error
+org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem=Error
+org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem=Error
+org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.InvalidArguments=Error
+org.eclipse.cdt.codan.internal.checkers.InvalidArguments.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem=Error
+org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem=Error
+org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem=Error
+org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem=Error
+org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker=-Info
+org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker.params={pattern\=>"^[a-z]",macro\=>true,exceptions\=>()}
+org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem.params={}
+org.eclipse.cdt.codan.internal.checkers.OverloadProblem=Error
+org.eclipse.cdt.codan.internal.checkers.OverloadProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem=Error
+org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem=Error
+org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem=-Warning
+org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem.params={}
+org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem=-Warning
+org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem.params={}
+org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem.params={macro\=>true,exceptions\=>()}
+org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem.params={paramNot\=>false}
+org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem.params={else\=>false,afterelse\=>false}
+org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem=Error
+org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem.params={macro\=>true}
+org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem.params={macro\=>true}
+org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem.params={macro\=>true,exceptions\=>("@(\#)","$Id")}
+org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem=Error
+org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
diff --git a/PGCommandLine/.settings/org.eclipse.cdt.core.prefs b/PGCommandLine/.settings/org.eclipse.cdt.core.prefs
new file mode 100644
index 0000000..473382f
--- /dev/null
+++ b/PGCommandLine/.settings/org.eclipse.cdt.core.prefs
@@ -0,0 +1,7 @@
+#Fri Feb 24 12:13:21 EST 2012
+eclipse.preferences.version=1
+environment/project/cdt.managedbuild.toolchain.gnu.base.1034404001/LC_ALL/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.base.1034404001/LC_ALL/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.base.1034404001/LC_ALL/value=C
+environment/project/cdt.managedbuild.toolchain.gnu.base.1034404001/append=true
+environment/project/cdt.managedbuild.toolchain.gnu.base.1034404001/appendContributed=true
diff --git a/Makefile b/PGCommandLine/Makefile
similarity index 100%
rename from Makefile
rename to PGCommandLine/Makefile
diff --git a/Project.xcconfig b/PGCommandLine/Project.xcconfig
similarity index 100%
rename from Project.xcconfig
rename to PGCommandLine/Project.xcconfig
diff --git a/addons.make b/PGCommandLine/addons.make
similarity index 100%
rename from addons.make
rename to PGCommandLine/addons.make
diff --git a/config.make b/PGCommandLine/config.make
similarity index 92%
rename from config.make
rename to PGCommandLine/config.make
index aef9cf9..a877d97 100644
--- a/config.make
+++ b/PGCommandLine/config.make
@@ -10,7 +10,7 @@ OF_ROOT = ../../..
# for example search paths like:
# USER_CFLAGS = -I src/objects
-USER_CFLAGS = $(addprefix -I, $(shell find src -type d))
+USER_CFLAGS = $(addprefix -I, $(shell find ../PGCommon/src -type d))
# USER_LDFLAGS allows to pass custom flags to the linker
@@ -44,7 +44,7 @@ NDK_PLATFORM = android-8
# uncomment this for custom package name, must be the same as the java package that contains OFActivity
#PKGNAME = cc.openframeworks.$(APPNAME)
-
+USER_SOURCE_DIR = ../PGCommon/src
diff --git a/openFrameworks-Info.plist b/PGCommandLine/openFrameworks-Info.plist
similarity index 100%
rename from openFrameworks-Info.plist
rename to PGCommandLine/openFrameworks-Info.plist
diff --git a/projectGenerator.cbp b/PGCommandLine/projectGenerator.cbp
similarity index 100%
rename from projectGenerator.cbp
rename to PGCommandLine/projectGenerator.cbp
diff --git a/projectGenerator.sln b/PGCommandLine/projectGenerator.sln
similarity index 100%
rename from projectGenerator.sln
rename to PGCommandLine/projectGenerator.sln
diff --git a/projectGenerator.vcxproj b/PGCommandLine/projectGenerator.vcxproj
similarity index 100%
rename from projectGenerator.vcxproj
rename to PGCommandLine/projectGenerator.vcxproj
diff --git a/projectGenerator.vcxproj.filters b/PGCommandLine/projectGenerator.vcxproj.filters
similarity index 100%
rename from projectGenerator.vcxproj.filters
rename to PGCommandLine/projectGenerator.vcxproj.filters
diff --git a/projectGenerator.vcxproj.user b/PGCommandLine/projectGenerator.vcxproj.user
similarity index 100%
rename from projectGenerator.vcxproj.user
rename to PGCommandLine/projectGenerator.vcxproj.user
diff --git a/projectGenerator.workspace b/PGCommandLine/projectGenerator.workspace
similarity index 100%
rename from projectGenerator.workspace
rename to PGCommandLine/projectGenerator.workspace
diff --git a/projectGenerator.xcodeproj/project.pbxproj b/PGCommandLine/projectGenerator.xcodeproj/project.pbxproj
similarity index 96%
rename from projectGenerator.xcodeproj/project.pbxproj
rename to PGCommandLine/projectGenerator.xcodeproj/project.pbxproj
index cb9253e..d0df978 100644
--- a/projectGenerator.xcodeproj/project.pbxproj
+++ b/PGCommandLine/projectGenerator.xcodeproj/project.pbxproj
@@ -10,7 +10,6 @@
1120712114AE3D360035CB7E /* libpugixml_d.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1120712014AE3D360035CB7E /* libpugixml_d.a */; };
1120713014AE3D4F0035CB7E /* xcodeProject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1120712B14AE3D4F0035CB7E /* xcodeProject.cpp */; };
1120713614AE3D840035CB7E /* ofAddon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1120713414AE3D840035CB7E /* ofAddon.cpp */; };
- 1124C3ED160755B200F12944 /* g2AppKit.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1124C3EC160755B200F12944 /* g2AppKit.mm */; };
113CAA5B14F88EDD00D3906E /* ofAppNoWindow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 113CAA5714F88EDD00D3906E /* ofAppNoWindow.cpp */; };
113CAA5C14F88EDD00D3906E /* Utils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 113CAA5914F88EDD00D3906E /* Utils.cpp */; };
113CAA6814F88F2500D3906E /* ofxPanel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 113CAA6414F88F2500D3906E /* ofxPanel.cpp */; };
@@ -27,7 +26,7 @@
2D78617B150137420086071C /* ofxSlider.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D786177150137420086071C /* ofxSlider.cpp */; };
2D78617C150137420086071C /* ofxToggle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D786178150137420086071C /* ofxToggle.cpp */; };
BBAB23CB13894F3D00AA2426 /* GLUT.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = BBAB23BE13894E4700AA2426 /* GLUT.framework */; };
- E4328149138ABC9F0047C5CB /* openFrameworksDebug.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4328148138ABC890047C5CB /* openFrameworksDebug.a */; };
+ E4328149138ABC9F0047C5CB /* openFrameworks.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4328148138ABC890047C5CB /* openFrameworks.a */; };
E45BE97B0E8CC7DD009D7055 /* AGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9710E8CC7DD009D7055 /* AGL.framework */; };
E45BE97C0E8CC7DD009D7055 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */; };
E45BE97D0E8CC7DD009D7055 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */; };
@@ -83,8 +82,6 @@
1120712C14AE3D4F0035CB7E /* xcodeProject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xcodeProject.h; sourceTree = ""; };
1120713414AE3D840035CB7E /* ofAddon.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofAddon.cpp; sourceTree = ""; };
1120713514AE3D840035CB7E /* ofAddon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofAddon.h; sourceTree = ""; };
- 1124C3EB160755B200F12944 /* g2AppKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = g2AppKit.h; sourceTree = ""; };
- 1124C3EC160755B200F12944 /* g2AppKit.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = g2AppKit.mm; sourceTree = ""; };
113CAA5714F88EDD00D3906E /* ofAppNoWindow.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofAppNoWindow.cpp; sourceTree = ""; };
113CAA5814F88EDD00D3906E /* ofAppNoWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofAppNoWindow.h; sourceTree = ""; };
113CAA5914F88EDD00D3906E /* Utils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Utils.cpp; sourceTree = ""; };
@@ -113,7 +110,6 @@
116EA81C150E7288004EBBD3 /* CBLinuxProject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CBLinuxProject.h; sourceTree = ""; };
119B95D714A65CA0001E1E20 /* pugiconfig.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = pugiconfig.hpp; sourceTree = ""; };
119B95D814A65CA0001E1E20 /* pugixml.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = pugixml.hpp; sourceTree = ""; };
- 11BCDC821607709900FCCD85 /* textButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = textButton.h; sourceTree = ""; };
2D786175150137420086071C /* ofxBaseGui.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxBaseGui.cpp; sourceTree = ""; };
2D786176150137420086071C /* ofxButton.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxButton.cpp; sourceTree = ""; };
2D786177150137420086071C /* ofxSlider.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxSlider.cpp; sourceTree = ""; };
@@ -147,7 +143,7 @@
buildActionMask = 2147483647;
files = (
E4EB6799138ADC1D00A09F29 /* GLUT.framework in Frameworks */,
- E4328149138ABC9F0047C5CB /* openFrameworksDebug.a in Frameworks */,
+ E4328149138ABC9F0047C5CB /* openFrameworks.a in Frameworks */,
E45BE97B0E8CC7DD009D7055 /* AGL.framework in Frameworks */,
E45BE97C0E8CC7DD009D7055 /* ApplicationServices.framework in Frameworks */,
E45BE97D0E8CC7DD009D7055 /* AudioToolbox.framework in Frameworks */,
@@ -184,15 +180,6 @@
path = projects;
sourceTree = "";
};
- 1124C3EA160755B200F12944 /* cocoa */ = {
- isa = PBXGroup;
- children = (
- 1124C3EB160755B200F12944 /* g2AppKit.h */,
- 1124C3EC160755B200F12944 /* g2AppKit.mm */,
- );
- path = cocoa;
- sourceTree = "";
- };
113CAA5614F88EDD00D3906E /* utils */ = {
isa = PBXGroup;
children = (
@@ -330,7 +317,7 @@
E4328144138ABC890047C5CB /* Products */ = {
isa = PBXGroup;
children = (
- E4328148138ABC890047C5CB /* openFrameworksDebug.a */,
+ E4328148138ABC890047C5CB /* openFrameworks.a */,
);
name = Products;
sourceTree = "";
@@ -360,14 +347,12 @@
E4B69E1C0A3A1BDC003C02F2 /* src */ = {
isa = PBXGroup;
children = (
- 1124C3EA160755B200F12944 /* cocoa */,
113CAA5614F88EDD00D3906E /* utils */,
1120712314AE3D4F0035CB7E /* projects */,
119B95D214A65CA0001E1E20 /* pugixmlLib */,
E4B69E1D0A3A1BDC003C02F2 /* main.cpp */,
E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */,
E4B69E1F0A3A1BDC003C02F2 /* testApp.h */,
- 11BCDC821607709900FCCD85 /* textButton.h */,
11D6814214A8EC0F008E3E3D /* addons */,
);
path = src;
@@ -436,10 +421,10 @@
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
- E4328148138ABC890047C5CB /* openFrameworksDebug.a */ = {
+ E4328148138ABC890047C5CB /* openFrameworks.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
- path = openFrameworksDebug.a;
+ path = openFrameworks.a;
remoteRef = E4328147138ABC890047C5CB /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
@@ -485,7 +470,6 @@
116EA81D150E7288004EBBD3 /* CBLinuxProject.cpp in Sources */,
116601FE1513758200DE9D73 /* CBWinProject.cpp in Sources */,
116601FF1513758200DE9D73 /* visualStudioProject.cpp in Sources */,
- 1124C3ED160755B200F12944 /* g2AppKit.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
diff --git a/projectGeneratorLinux.cbp b/PGCommandLine/projectGeneratorLinux.cbp
similarity index 100%
rename from projectGeneratorLinux.cbp
rename to PGCommandLine/projectGeneratorLinux.cbp
diff --git a/projectGeneratorLinux.workspace b/PGCommandLine/projectGeneratorLinux.workspace
similarity index 100%
rename from projectGeneratorLinux.workspace
rename to PGCommandLine/projectGeneratorLinux.workspace
diff --git a/projectGenerator_linux64.cbp b/PGCommandLine/projectGenerator_linux64.cbp
similarity index 100%
rename from projectGenerator_linux64.cbp
rename to PGCommandLine/projectGenerator_linux64.cbp
diff --git a/projectGenerator_linux64.workspace b/PGCommandLine/projectGenerator_linux64.workspace
similarity index 100%
rename from projectGenerator_linux64.workspace
rename to PGCommandLine/projectGenerator_linux64.workspace
diff --git a/PGCommandLine/src/main.cpp b/PGCommandLine/src/main.cpp
new file mode 100644
index 0000000..25f04ba
--- /dev/null
+++ b/PGCommandLine/src/main.cpp
@@ -0,0 +1,98 @@
+#include "ofMain.h"
+#include "testApp.h"
+#include "ofAppGlutWindow.h"
+#include "ofAppNoWindow.h"
+
+
+//========================================================================
+int main( int argc, char *argv[] ){
+
+
+#ifdef TARGET_LINUX
+ if(argc==1){
+ ofAppGlutWindow window;
+ ofSetupOpenGL(&window, 1024,768, OF_WINDOW);
+ ofRunApp( new testApp());
+ }else{
+ ofAppNoWindow window;
+ ofSetupOpenGL(&window, 1024,768, OF_WINDOW);
+ testApp * app = new testApp;
+ app->buildAllExamples = false;
+ app->projectPath = "";
+ for(int i=1;itargetsToMake.push_back( OF_TARGET_LINUX );
+ }else if(arg=="linux64"){
+ app->targetsToMake.push_back( OF_TARGET_LINUX64 );
+ }else if(arg=="win_cb"){
+ app->targetsToMake.push_back( OF_TARGET_WINGCC );
+ }else if(arg=="vs2010"){
+ app->targetsToMake.push_back( OF_TARGET_WINVS );
+ }else if(arg=="osx"){
+ app->targetsToMake.push_back( OF_TARGET_OSX );
+ }else if(arg=="ios"){
+ app->targetsToMake.push_back( OF_TARGET_IPHONE );
+ }else if(arg=="android"){
+ ofLogError() << "platform not supported yet" << endl;
+ std::exit(1);
+ }else if(arg=="allplatforms"){
+ app->targetsToMake.push_back( OF_TARGET_LINUX );
+ app->targetsToMake.push_back( OF_TARGET_LINUX64 );
+ app->targetsToMake.push_back( OF_TARGET_WINGCC );
+ app->targetsToMake.push_back( OF_TARGET_WINVS );
+ app->targetsToMake.push_back( OF_TARGET_OSX );
+ app->targetsToMake.push_back( OF_TARGET_IPHONE );
+ }else if(arg=="allexamples"){
+ app->buildAllExamples = true;
+ }else if(arg=="help"){
+ cout << "OF Project Generator Usage:" << endl;
+ cout << "projectGenerator [options] [pathToExample]" << endl;
+ cout << "Options:" << endl;
+ cout << "--osx: generate osx project files" << endl;
+ cout << "--win_cb: generate windows codeblocks project files" << endl;
+ cout << "--vs2010: generate windows vs2010 project files" << endl;
+ cout << "--linux: generate linux project files" << endl;
+ cout << "--linux64: generate linux 64bits project files" << endl;
+ cout << "--ios: generate iOS project files" << endl;
+ cout << "--allplatforms: generate project files for all platforms" << endl;
+ cout << "--allexamples: generate project files for all examples. [pathToExample] is not needed in this case." << endl;
+ cout << endl;
+ cout << "default: create project files for current platform for selected path" << endl;
+ cout << "running over existing example updates project files for selected platforms" << endl;
+ cout << "without parameters, shows gui" << endl;
+ std::exit(0);
+ }else{
+ cout << "Error: Unknown argument --" << arg << ". Run \'projectGenerator help\' for details. Aborting." << endl;
+ std::exit(1);
+ }
+ }else if(arg.find("-", 0, 1)==0){
+ cout << "Error: Unknown argument " << arg << ". Run \'projectGenerator help\' for details. Aborting." << endl;
+ std::exit(1);
+ }else{
+ app->projectPath = ofFilePath::removeTrailingSlash(ofFilePath::getPathForDirectory(ofFilePath::getAbsolutePath(arg,false)));
+ }
+ }
+
+ if (!(app->buildAllExamples) && app->projectPath.empty()){
+ cout << "Error: No target project given. Either run projectGenerator with the --allexamples option or supply a target project folder path. Run \'projectGenerator help\' for details." << endl;
+ std::exit(1);
+ }
+
+ if(app->targetsToMake.empty())
+ app->targetsToMake.push_back( ofGetTargetPlatform() );
+ ofRunApp( app );
+ }
+#else
+ ofAppGlutWindow window;
+ ofSetupOpenGL(&window, 1024,768, OF_WINDOW);
+ testApp * app = new testApp;
+ app->buildAllExamples = false;
+ ofRunApp( app );
+
+#endif
+
+
+}
diff --git a/PGCommandLine/src/testApp.cpp b/PGCommandLine/src/testApp.cpp
new file mode 100644
index 0000000..f7cda70
--- /dev/null
+++ b/PGCommandLine/src/testApp.cpp
@@ -0,0 +1,456 @@
+#include "testApp.h"
+#include "Utils.h"
+#include
+
+//--------------------------------------------------------------
+void testApp::setup(){
+ //ofSetLogLevel(OF_LOG_NOTICE);
+ project = NULL;
+
+ while(!checkConfigExists()){
+ askOFRoot();
+ }
+
+ setOFRoot(getOFRootFromConfig());
+
+ setupDrawableOFPath();
+
+ int targ = ofGetTargetPlatform();
+ //plat = OF_TARGET_IPHONE;
+
+ setupForTarget(targ);
+ if(projectPath!="" || buildAllExamples){
+ for(int i = 0; i < (int)targetsToMake.size(); i++){
+ setupForTarget(targetsToMake[i]);
+ if(buildAllExamples){
+ generateExamples();
+ }else{
+ project->setup(target);
+ project->create(projectPath);
+ vector < string > addons;
+ parseAddonsDotMake(project->getPath() + "addons.make", addons);
+ for (int i = 0; i < (int)addons.size(); i++){
+ ofAddon addon;
+ addon.fromFS(ofFilePath::join(ofFilePath::join(getOFRoot(), "addons"), addons[i]),target);
+ project->addAddon(addon);
+ }
+ project->save(false);
+ }
+ }
+ std::exit(0);
+ }
+
+#ifndef COMMAND_LINE_ONLY
+ panelAddons.setup();
+ ofDirectory addons(ofFilePath::join(getOFRoot(),"addons"));
+ addons.listDir();
+ for(int i=0;i<(int)addons.size();i++){
+ string addon = addons.getName(i);
+ if(addon.find("ofx")==0){
+ ofxToggle * toggle = new ofxToggle();
+ panelAddons.add(toggle->setup(addon,false,300));
+ }
+ }
+
+ panelOptions.setup("","settings.xml",ofGetWidth()-panelAddons.getWidth()-10,120);
+ panelOptions.add(createProject.setup("create project",300));
+ panelOptions.add(updateProject.setup("update project",300));
+ panelOptions.add(createAndOpen.setup("create and open project",300));
+ panelOptions.add(changeOFRoot.setup("change OF path",300));
+
+ createProject.addListener(this,&testApp::createProjectPressed);
+ updateProject.addListener(this,&testApp::updateProjectPressed);
+ createAndOpen.addListener(this,&testApp::createAndOpenPressed);
+ changeOFRoot.addListener(this,&testApp::changeOFRootPressed);
+
+ examplesPanel.setup("generate examples", "examples.xml", 400, 10);
+ examplesPanel.add(generateButton.setup("<--Generate"));
+ examplesPanel.add(wincbToggle.setup("win CB projects",ofGetTargetPlatform()==OF_TARGET_WINGCC));
+ examplesPanel.add(winvsToggle.setup("win VS projects", ofGetTargetPlatform()==OF_TARGET_WINVS));
+ examplesPanel.add(linuxcbToggle.setup("linux CB projects",ofGetTargetPlatform()==OF_TARGET_LINUX));
+ examplesPanel.add(linux64cbToggle.setup("linux64 CB projects",ofGetTargetPlatform()==OF_TARGET_LINUX64));
+ examplesPanel.add(osxToggle.setup("osx projects",ofGetTargetPlatform()==OF_TARGET_OSX));
+ examplesPanel.add(iosToggle.setup("ios projects",ofGetTargetPlatform()==OF_TARGET_IPHONE));
+
+ generateButton.addListener(this,&testApp::generateExamplesCB);
+
+ ofSetVerticalSync(true);
+ ofEnableAlphaBlending();
+ ofSetFrameRate(60);
+#else
+ std::exit(0);
+#endif
+}
+
+void testApp::setupForTarget(int targ){
+
+ if(project){
+ delete project;
+ }
+
+ switch(targ){
+ case OF_TARGET_OSX:
+ project = new xcodeProject;
+ target = "osx";
+ break;
+ case OF_TARGET_WINGCC:
+ project = new CBWinProject;
+ target = "win_cb";
+ break;
+ case OF_TARGET_WINVS:
+ project = new visualStudioProject;
+ target = "vs2010";
+ break;
+ case OF_TARGET_IPHONE:
+ project = new xcodeProject();
+ target = "ios";
+ break;
+ case OF_TARGET_ANDROID:
+ break;
+ case OF_TARGET_LINUX:
+ project = new CBLinuxProject;
+ target = "linux";
+ break;
+ case OF_TARGET_LINUX64:
+ project = new CBLinuxProject;
+ target = "linux64";
+ break;
+ }
+}
+
+void testApp::generateExamplesCB(bool & pressed){
+
+#ifndef COMMAND_LINE_ONLY
+ if (pressed == false) return; // don't do this again on the mouseup.
+
+ targetsToMake.clear();
+ if( osxToggle ) targetsToMake.push_back(OF_TARGET_OSX);
+ if( iosToggle ) targetsToMake.push_back(OF_TARGET_IPHONE);
+ if( wincbToggle ) targetsToMake.push_back(OF_TARGET_WINGCC);
+ if( winvsToggle ) targetsToMake.push_back(OF_TARGET_WINVS);
+ if( linuxcbToggle ) targetsToMake.push_back(OF_TARGET_LINUX);
+ if( linux64cbToggle ) targetsToMake.push_back(OF_TARGET_LINUX64);
+
+ if( targetsToMake.size() == 0 ){
+ cout << "Error: generateExamplesCB - must specifiy a project to generate " <setup(target);
+ project->create(subdir.getPath(j));
+ vector < string > addons;
+ parseAddonsDotMake(project->getPath() + "addons.make", addons);
+ for (int i = 0; i < (int)addons.size(); i++){
+ ofAddon addon;
+ addon.pathToOF = getOFRelPath(subdir.getPath(j));
+ addon.fromFS(ofFilePath::join(ofFilePath::join(getOFRoot(), "addons"), addons[i]),target);
+ project->addAddon(addon);
+ }
+ project->save(false);
+
+ }
+ }
+ ofLogNotice() << " ";
+ ofLogNotice() << "Finished generating examples for " << target;
+}
+
+ofFileDialogResult testApp::makeNewProjectViaDialog(){
+
+#ifndef COMMAND_LINE_ONLY
+ ofFileDialogResult res = ofSystemSaveDialog("newProjectName", "choose a folder for a new OF project :)");
+ if (res.fileName == "" || res.filePath == "") return res;
+ //base.pushDirectory(res.fileName); // somehow an extra things here helps?
+
+ vector targetsToMake;
+ if( osxToggle ) targetsToMake.push_back(OF_TARGET_OSX);
+ if( iosToggle ) targetsToMake.push_back(OF_TARGET_IPHONE);
+ if( wincbToggle ) targetsToMake.push_back(OF_TARGET_WINGCC);
+ if( winvsToggle ) targetsToMake.push_back(OF_TARGET_WINVS);
+ if( linuxcbToggle ) targetsToMake.push_back(OF_TARGET_LINUX);
+ if( linux64cbToggle ) targetsToMake.push_back(OF_TARGET_LINUX64);
+
+ if( targetsToMake.size() == 0 ){
+ cout << "Error: makeNewProjectViaDialog - must specifiy a project to generate " <setup(target);
+ if(project->create(res.filePath)){
+ vector addonsToggles = panelAddons.getControlNames();
+ for (int i = 0; i < (int) addonsToggles.size(); i++){
+ ofxToggle toggle = panelAddons.getToggle(addonsToggles[i]);
+ if(toggle){
+ ofAddon addon;
+ addon.pathToOF = getOFRelPath(res.filePath);
+ addon.fromFS(ofFilePath::join(ofFilePath::join(getOFRoot(), "addons"), addonsToggles[i]),target);
+ printf("adding %s addons \n", addonsToggles[i].c_str());
+ project->addAddon(addon);
+
+ }
+ }
+ project->save(true);
+ }
+ }
+ return res;
+#endif
+
+}
+
+ofFileDialogResult testApp::updateProjectViaDialog(){
+
+#ifndef COMMAND_LINE_ONLY
+ ofFileDialogResult res = ofSystemLoadDialog("choose a folder to update an OF project :)",true);
+ if (res.fileName == "" || res.filePath == "") return res;
+ //base.pushDirectory(res.fileName); // somehow an extra things here helps?
+
+ vector targetsToMake;
+ if( osxToggle ) targetsToMake.push_back(OF_TARGET_OSX);
+ if( iosToggle ) targetsToMake.push_back(OF_TARGET_IPHONE);
+ if( wincbToggle ) targetsToMake.push_back(OF_TARGET_WINGCC);
+ if( winvsToggle ) targetsToMake.push_back(OF_TARGET_WINVS);
+ if( linuxcbToggle ) targetsToMake.push_back(OF_TARGET_LINUX);
+ if( linux64cbToggle ) targetsToMake.push_back(OF_TARGET_LINUX64);
+
+ if( targetsToMake.size() == 0 ){
+ cout << "Error: updateProjectViaDialog - must specifiy a project to generate " <setup(target);
+ project->create(res.filePath);
+ vector addonsToggles = panelAddons.getControlNames();
+ for (int i = 0; i < (int)addonsToggles.size(); i++){
+ ofxToggle toggle = panelAddons.getToggle(addonsToggles[i]);
+ // TODO: make this remove existing addons that are unchecked????
+ // probably requires a more complex logic chain: loadProject
+ // (ticks the addons) and then you can untick etc???
+ if(toggle){
+ ofAddon addon;
+ addon.pathToOF = getOFRelPath(res.filePath);
+ addon.fromFS(ofFilePath::join(ofFilePath::join(getOFRoot(), "addons"), addonsToggles[i]),target);
+ printf("adding %s addons \n", addonsToggles[i].c_str());
+ project->addAddon(addon);
+
+ }
+ }
+ project->save(true);
+ }
+
+ return res;
+#endif
+
+}
+
+void testApp::createProjectPressed(bool & pressed){
+ if(!pressed) makeNewProjectViaDialog();
+}
+
+void testApp::updateProjectPressed(bool & pressed){
+ if(!pressed) updateProjectViaDialog();
+}
+
+void testApp::createAndOpenPressed(bool & pressed){
+ if(!pressed){
+ ofFileDialogResult res = makeNewProjectViaDialog();
+ if(res.bSuccess){
+ #ifdef TARGET_LINUX
+ system(("/usr/bin/codeblocks " + ofFilePath::join(res.filePath, res.fileName+".workspace ") + "&").c_str());
+ #elif defined(TARGET_OSX)
+ system(("open " + ofFilePath::join(res.filePath, res.fileName+".xcodeproj ") + "&").c_str());
+ #elif defined(TARGET_WIN32)
+ system(("open " + ofFilePath::join(res.filePath, res.fileName+".workspace ") + "&").c_str());
+ #endif
+ }
+ }
+}
+
+void testApp::changeOFRootPressed(bool & pressed){
+ if(!pressed){
+ askOFRoot();
+ cout << getOFRootFromConfig()< subdirs = ofSplitString("OF path: " + getOFRoot(), "/");
+ int textLength = 0;
+ int padding = 5;
+ string path = "";
+ int lines=1;
+ int fontSize = 8;
+ float leading = 1.7;
+
+ ofPathRect.x = padding;
+ ofPathRect.y = padding;
+ ofPathDrawPoint.x = padding*2;
+ ofPathDrawPoint.y = padding*2 + fontSize * leading;
+
+ for(int i = 0; i < subdirs.size(); i++) {
+ if (i > 0 && i 1){
+ ofPathRect.width = ofGetWidth() - padding*2;
+ }
+ ofPathRect.height = lines * fontSize * leading + (padding*2);
+
+ drawableOfPath = path;
+
+ panelAddons.setPosition(panelAddons.getPosition().x, ofPathRect.y + ofPathRect.height + padding);
+ examplesPanel.setPosition(examplesPanel.getPosition().x, ofPathRect.y + ofPathRect.height + padding);
+#endif
+
+
+}
diff --git a/PGCommandLine/src/testApp.h b/PGCommandLine/src/testApp.h
new file mode 100644
index 0000000..bac5bdd
--- /dev/null
+++ b/PGCommandLine/src/testApp.h
@@ -0,0 +1,66 @@
+#pragma once
+
+//#define COMMAND_LINE_ONLY
+
+#include "ofMain.h"
+#include "CBLinuxProject.h"
+#include "CBWinProject.h"
+#include "visualStudioProject.h"
+#include "xcodeProject.h"
+#include
+
+#ifndef COMMAND_LINE_ONLY
+#include "ofxGui.h"
+#endif
+
+class testApp : public ofBaseApp{
+
+ public:
+ void setup();
+ void update();
+ void draw();
+
+ void keyPressed (int key);
+ void keyReleased(int key);
+ void mouseMoved(int x, int y );
+ void mouseDragged(int x, int y, int button);
+ void mousePressed(int x, int y, int button);
+ void mouseReleased(int x, int y, int button);
+ void windowResized(int w, int h);
+ void dragEvent(ofDragInfo dragInfo);
+ void gotMessage(ofMessage msg);
+
+ void setupForTarget(int targ);
+ void generateExamplesCB(bool & pressed); //stupid as its a button
+ void generateExamples();
+
+ ofFileDialogResult makeNewProjectViaDialog();
+ ofFileDialogResult updateProjectViaDialog();
+
+ void createProjectPressed(bool & pressed);
+ void updateProjectPressed(bool & pressed);
+ void createAndOpenPressed(bool & pressed);
+ void changeOFRootPressed(bool & pressed);
+
+ void setupDrawableOFPath();
+
+ baseProject * project;
+
+ string projectPath;
+ string target;
+ vector targetsToMake;
+ bool buildAllExamples;
+
+#ifndef COMMAND_LINE_ONLY
+ string drawableOfPath;
+ ofRectangle ofPathRect;
+ ofPoint ofPathDrawPoint;
+
+ ofxPanel panelAddons, panelOptions;
+ ofxButton createProject, updateProject, createAndOpen, changeOFRoot;
+
+ ofxPanel examplesPanel;
+ ofxToggle osxToggle, iosToggle, wincbToggle, winvsToggle, linuxcbToggle, linux64cbToggle;
+ ofxButton generateButton;
+#endif
+};
diff --git a/src/addons/ofAddon.cpp b/PGCommon/src/addons/ofAddon.cpp
similarity index 100%
rename from src/addons/ofAddon.cpp
rename to PGCommon/src/addons/ofAddon.cpp
diff --git a/src/addons/ofAddon.h b/PGCommon/src/addons/ofAddon.h
similarity index 100%
rename from src/addons/ofAddon.h
rename to PGCommon/src/addons/ofAddon.h
diff --git a/src/cocoa/g2AppKit.h b/PGCommon/src/cocoa/g2AppKit.h
similarity index 100%
rename from src/cocoa/g2AppKit.h
rename to PGCommon/src/cocoa/g2AppKit.h
diff --git a/src/cocoa/g2AppKit.mm b/PGCommon/src/cocoa/g2AppKit.mm
similarity index 100%
rename from src/cocoa/g2AppKit.mm
rename to PGCommon/src/cocoa/g2AppKit.mm
diff --git a/src/projects/CBLinuxProject.cpp b/PGCommon/src/projects/CBLinuxProject.cpp
similarity index 100%
rename from src/projects/CBLinuxProject.cpp
rename to PGCommon/src/projects/CBLinuxProject.cpp
diff --git a/src/projects/CBLinuxProject.h b/PGCommon/src/projects/CBLinuxProject.h
similarity index 100%
rename from src/projects/CBLinuxProject.h
rename to PGCommon/src/projects/CBLinuxProject.h
diff --git a/src/projects/CBWinProject.cpp b/PGCommon/src/projects/CBWinProject.cpp
similarity index 100%
rename from src/projects/CBWinProject.cpp
rename to PGCommon/src/projects/CBWinProject.cpp
diff --git a/src/projects/CBWinProject.h b/PGCommon/src/projects/CBWinProject.h
similarity index 100%
rename from src/projects/CBWinProject.h
rename to PGCommon/src/projects/CBWinProject.h
diff --git a/src/projects/baseProject.cpp b/PGCommon/src/projects/baseProject.cpp
similarity index 100%
rename from src/projects/baseProject.cpp
rename to PGCommon/src/projects/baseProject.cpp
diff --git a/src/projects/baseProject.h b/PGCommon/src/projects/baseProject.h
similarity index 100%
rename from src/projects/baseProject.h
rename to PGCommon/src/projects/baseProject.h
diff --git a/src/projects/visualStudioProject.cpp b/PGCommon/src/projects/visualStudioProject.cpp
similarity index 100%
rename from src/projects/visualStudioProject.cpp
rename to PGCommon/src/projects/visualStudioProject.cpp
diff --git a/src/projects/visualStudioProject.h b/PGCommon/src/projects/visualStudioProject.h
similarity index 100%
rename from src/projects/visualStudioProject.h
rename to PGCommon/src/projects/visualStudioProject.h
diff --git a/src/projects/xcodeProject.cpp b/PGCommon/src/projects/xcodeProject.cpp
similarity index 100%
rename from src/projects/xcodeProject.cpp
rename to PGCommon/src/projects/xcodeProject.cpp
diff --git a/src/projects/xcodeProject.h b/PGCommon/src/projects/xcodeProject.h
similarity index 100%
rename from src/projects/xcodeProject.h
rename to PGCommon/src/projects/xcodeProject.h
diff --git a/src/pugixmlLib/Jamfile.jam b/PGCommon/src/pugixmlLib/Jamfile.jam
similarity index 100%
rename from src/pugixmlLib/Jamfile.jam
rename to PGCommon/src/pugixmlLib/Jamfile.jam
diff --git a/src/pugixmlLib/Jamrules.jam b/PGCommon/src/pugixmlLib/Jamrules.jam
similarity index 100%
rename from src/pugixmlLib/Jamrules.jam
rename to PGCommon/src/pugixmlLib/Jamrules.jam
diff --git a/src/pugixmlLib/contrib/foreach.hpp b/PGCommon/src/pugixmlLib/contrib/foreach.hpp
similarity index 100%
rename from src/pugixmlLib/contrib/foreach.hpp
rename to PGCommon/src/pugixmlLib/contrib/foreach.hpp
diff --git a/src/pugixmlLib/lib/libpugixml_d.a b/PGCommon/src/pugixmlLib/lib/libpugixml_d.a
similarity index 100%
rename from src/pugixmlLib/lib/libpugixml_d.a
rename to PGCommon/src/pugixmlLib/lib/libpugixml_d.a
diff --git a/src/pugixmlLib/readme.txt b/PGCommon/src/pugixmlLib/readme.txt
similarity index 100%
rename from src/pugixmlLib/readme.txt
rename to PGCommon/src/pugixmlLib/readme.txt
diff --git a/src/pugixmlLib/scripts/CMakeLists.txt b/PGCommon/src/pugixmlLib/scripts/CMakeLists.txt
similarity index 100%
rename from src/pugixmlLib/scripts/CMakeLists.txt
rename to PGCommon/src/pugixmlLib/scripts/CMakeLists.txt
diff --git a/src/pugixmlLib/scripts/premake4.lua b/PGCommon/src/pugixmlLib/scripts/premake4.lua
similarity index 100%
rename from src/pugixmlLib/scripts/premake4.lua
rename to PGCommon/src/pugixmlLib/scripts/premake4.lua
diff --git a/src/pugixmlLib/scripts/pugixml.xcodeproj/project.pbxproj b/PGCommon/src/pugixmlLib/scripts/pugixml.xcodeproj/project.pbxproj
similarity index 100%
rename from src/pugixmlLib/scripts/pugixml.xcodeproj/project.pbxproj
rename to PGCommon/src/pugixmlLib/scripts/pugixml.xcodeproj/project.pbxproj
diff --git a/src/pugixmlLib/scripts/pugixml_codeblocks.cbp b/PGCommon/src/pugixmlLib/scripts/pugixml_codeblocks.cbp
similarity index 100%
rename from src/pugixmlLib/scripts/pugixml_codeblocks.cbp
rename to PGCommon/src/pugixmlLib/scripts/pugixml_codeblocks.cbp
diff --git a/src/pugixmlLib/scripts/pugixml_codelite.project b/PGCommon/src/pugixmlLib/scripts/pugixml_codelite.project
similarity index 100%
rename from src/pugixmlLib/scripts/pugixml_codelite.project
rename to PGCommon/src/pugixmlLib/scripts/pugixml_codelite.project
diff --git a/src/pugixmlLib/scripts/pugixml_vs2005.vcproj b/PGCommon/src/pugixmlLib/scripts/pugixml_vs2005.vcproj
similarity index 100%
rename from src/pugixmlLib/scripts/pugixml_vs2005.vcproj
rename to PGCommon/src/pugixmlLib/scripts/pugixml_vs2005.vcproj
diff --git a/src/pugixmlLib/scripts/pugixml_vs2005_static.vcproj b/PGCommon/src/pugixmlLib/scripts/pugixml_vs2005_static.vcproj
similarity index 100%
rename from src/pugixmlLib/scripts/pugixml_vs2005_static.vcproj
rename to PGCommon/src/pugixmlLib/scripts/pugixml_vs2005_static.vcproj
diff --git a/src/pugixmlLib/scripts/pugixml_vs2008.vcproj b/PGCommon/src/pugixmlLib/scripts/pugixml_vs2008.vcproj
similarity index 100%
rename from src/pugixmlLib/scripts/pugixml_vs2008.vcproj
rename to PGCommon/src/pugixmlLib/scripts/pugixml_vs2008.vcproj
diff --git a/src/pugixmlLib/scripts/pugixml_vs2008_static.vcproj b/PGCommon/src/pugixmlLib/scripts/pugixml_vs2008_static.vcproj
similarity index 100%
rename from src/pugixmlLib/scripts/pugixml_vs2008_static.vcproj
rename to PGCommon/src/pugixmlLib/scripts/pugixml_vs2008_static.vcproj
diff --git a/src/pugixmlLib/scripts/pugixml_vs2010.vcxproj b/PGCommon/src/pugixmlLib/scripts/pugixml_vs2010.vcxproj
similarity index 100%
rename from src/pugixmlLib/scripts/pugixml_vs2010.vcxproj
rename to PGCommon/src/pugixmlLib/scripts/pugixml_vs2010.vcxproj
diff --git a/src/pugixmlLib/scripts/pugixml_vs2010_static.vcxproj b/PGCommon/src/pugixmlLib/scripts/pugixml_vs2010_static.vcxproj
similarity index 100%
rename from src/pugixmlLib/scripts/pugixml_vs2010_static.vcxproj
rename to PGCommon/src/pugixmlLib/scripts/pugixml_vs2010_static.vcxproj
diff --git a/src/pugixmlLib/src/pugiconfig.hpp b/PGCommon/src/pugixmlLib/src/pugiconfig.hpp
similarity index 100%
rename from src/pugixmlLib/src/pugiconfig.hpp
rename to PGCommon/src/pugixmlLib/src/pugiconfig.hpp
diff --git a/src/pugixmlLib/src/pugixml.cpp b/PGCommon/src/pugixmlLib/src/pugixml.cpp
similarity index 100%
rename from src/pugixmlLib/src/pugixml.cpp
rename to PGCommon/src/pugixmlLib/src/pugixml.cpp
diff --git a/src/pugixmlLib/src/pugixml.hpp b/PGCommon/src/pugixmlLib/src/pugixml.hpp
similarity index 100%
rename from src/pugixmlLib/src/pugixml.hpp
rename to PGCommon/src/pugixmlLib/src/pugixml.hpp
diff --git a/src/utils/Utils.cpp b/PGCommon/src/utils/Utils.cpp
similarity index 100%
rename from src/utils/Utils.cpp
rename to PGCommon/src/utils/Utils.cpp
diff --git a/src/utils/Utils.h b/PGCommon/src/utils/Utils.h
similarity index 100%
rename from src/utils/Utils.h
rename to PGCommon/src/utils/Utils.h
diff --git a/src/utils/ofAppNoWindow.cpp b/PGCommon/src/utils/ofAppNoWindow.cpp
similarity index 100%
rename from src/utils/ofAppNoWindow.cpp
rename to PGCommon/src/utils/ofAppNoWindow.cpp
diff --git a/src/utils/ofAppNoWindow.h b/PGCommon/src/utils/ofAppNoWindow.h
similarity index 100%
rename from src/utils/ofAppNoWindow.h
rename to PGCommon/src/utils/ofAppNoWindow.h
diff --git a/PGSimple/.cproject b/PGSimple/.cproject
new file mode 100644
index 0000000..ab981f1
--- /dev/null
+++ b/PGSimple/.cproject
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PGSimple/.project b/PGSimple/.project
new file mode 100644
index 0000000..c60ad2f
--- /dev/null
+++ b/PGSimple/.project
@@ -0,0 +1,27 @@
+
+
+ projectGeneratorSimple
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.core.ccnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
diff --git a/PGSimple/.settings/language.settings.xml b/PGSimple/.settings/language.settings.xml
new file mode 100644
index 0000000..6a106d0
--- /dev/null
+++ b/PGSimple/.settings/language.settings.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PGSimple/Makefile b/PGSimple/Makefile
new file mode 100644
index 0000000..2d83a77
--- /dev/null
+++ b/PGSimple/Makefile
@@ -0,0 +1,2 @@
+include config.make
+include $(OF_ROOT)/libs/openFrameworksCompiled/project/makefileCommon/Makefile.examples
diff --git a/PGSimple/Project.xcconfig b/PGSimple/Project.xcconfig
new file mode 100644
index 0000000..c10b9e5
--- /dev/null
+++ b/PGSimple/Project.xcconfig
@@ -0,0 +1,9 @@
+//THE PATH TO THE ROOT OF OUR OF PATH RELATIVE TO THIS PROJECT.
+//THIS NEEDS TO BE DEFINED BEFORE CoreOF.xcconfig IS INCLUDED
+OF_PATH = ../../..
+
+//THIS HAS ALL THE HEADER AND LIBS FOR OF CORE
+#include "../../../libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig"
+
+OTHER_LDFLAGS = $(OF_CORE_LIBS)
+HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS)
diff --git a/README.md b/PGSimple/README.md
similarity index 100%
rename from README.md
rename to PGSimple/README.md
diff --git a/PGSimple/addons.make b/PGSimple/addons.make
new file mode 100644
index 0000000..b7cbfeb
--- /dev/null
+++ b/PGSimple/addons.make
@@ -0,0 +1,2 @@
+ofxXmlSettings
+ofxGui
\ No newline at end of file
diff --git a/bin/data/.cbp b/PGSimple/bin/data/.cbp
similarity index 100%
rename from bin/data/.cbp
rename to PGSimple/bin/data/.cbp
diff --git a/bin/data/.sln b/PGSimple/bin/data/.sln
similarity index 100%
rename from bin/data/.sln
rename to PGSimple/bin/data/.sln
diff --git a/bin/data/.vcxproj b/PGSimple/bin/data/.vcxproj
similarity index 100%
rename from bin/data/.vcxproj
rename to PGSimple/bin/data/.vcxproj
diff --git a/bin/data/.vcxproj.user b/PGSimple/bin/data/.vcxproj.user
similarity index 100%
rename from bin/data/.vcxproj.user
rename to PGSimple/bin/data/.vcxproj.user
diff --git a/bin/data/frabk.ttf b/PGSimple/bin/data/frabk.ttf
similarity index 100%
rename from bin/data/frabk.ttf
rename to PGSimple/bin/data/frabk.ttf
diff --git a/bin/data/projectGeneratorSettings.xml b/PGSimple/bin/data/projectGeneratorSettings.xml
similarity index 100%
rename from bin/data/projectGeneratorSettings.xml
rename to PGSimple/bin/data/projectGeneratorSettings.xml
diff --git a/PGSimple/config.make b/PGSimple/config.make
new file mode 100644
index 0000000..a877d97
--- /dev/null
+++ b/PGSimple/config.make
@@ -0,0 +1,56 @@
+# add custom variables to this file
+
+# OF_ROOT allows to move projects outside apps/* just set this variable to the
+# absoulte path to the OF root folder
+
+OF_ROOT = ../../..
+
+
+# USER_CFLAGS allows to pass custom flags to the compiler
+# for example search paths like:
+# USER_CFLAGS = -I src/objects
+
+USER_CFLAGS = $(addprefix -I, $(shell find ../PGCommon/src -type d))
+
+
+# USER_LDFLAGS allows to pass custom flags to the linker
+# for example libraries like:
+# USER_LDFLAGS = libs/libawesomelib.a
+
+USER_LDFLAGS =
+
+
+EXCLUDE_FROM_SOURCE="bin,.xcodeproj,obj"
+
+# change this to add different compiler optimizations to your project
+
+USER_COMPILER_OPTIMIZATION = -march=native -mtune=native -Os
+
+
+# android specific, in case you want to use different optimizations
+USER_LIBS_ARM =
+USER_LIBS_ARM7 =
+USER_LIBS_NEON =
+
+# android optimizations
+
+ANDROID_COMPILER_OPTIMIZATION = -Os
+
+NDK_PLATFORM = android-8
+
+# uncomment this for custom application name (if the folder name is different than the application name)
+#APPNAME = folderName
+
+# uncomment this for custom package name, must be the same as the java package that contains OFActivity
+#PKGNAME = cc.openframeworks.$(APPNAME)
+
+USER_SOURCE_DIR = ../PGCommon/src
+
+
+
+# linux arm flags
+
+LINUX_ARM7_COMPILER_OPTIMIZATIONS = -march=armv7-a -mtune=cortex-a8 -finline-functions -funroll-all-loops -O3 -funsafe-math-optimizations -mfpu=neon -ftree-vectorize -mfloat-abi=hard -mfpu=vfp
+
+
+
diff --git a/PGSimple/err.log b/PGSimple/err.log
new file mode 100644
index 0000000..e69de29
diff --git a/PGSimple/openFrameworks-Info.plist b/PGSimple/openFrameworks-Info.plist
new file mode 100644
index 0000000..e5db555
--- /dev/null
+++ b/PGSimple/openFrameworks-Info.plist
@@ -0,0 +1,20 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ English
+ CFBundleExecutable
+ ${EXECUTABLE_NAME}
+ CFBundleIdentifier
+ com.yourcompany.openFrameworks
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundlePackageType
+ APPL
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+
+
diff --git a/PGSimple/projectGenerator.cbp b/PGSimple/projectGenerator.cbp
new file mode 100644
index 0000000..c9f7cfd
--- /dev/null
+++ b/PGSimple/projectGenerator.cbp
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PGSimple/projectGenerator.sln b/PGSimple/projectGenerator.sln
new file mode 100644
index 0000000..c378f58
--- /dev/null
+++ b/PGSimple/projectGenerator.sln
@@ -0,0 +1,29 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openframeworksLib", "..\..\..\libs\openFrameworksCompiled\project\vs2010\openframeworksLib.vcxproj", "{5837595D-ACA9-485C-8E76-729040CE4B0B}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "projectGenerator", "projectGenerator.vcxproj", "{D46BBF4D-8E03-4A97-9E1D-587E88F0F1A8}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|Win32.ActiveCfg = Debug|Win32
+ {5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|Win32.Build.0 = Debug|Win32
+ {5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|Win32.ActiveCfg = Release|Win32
+ {5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|Win32.Build.0 = Release|Win32
+ {D46BBF4D-8E03-4A97-9E1D-587E88F0F1A8}.Debug|Win32.ActiveCfg = Debug|Win32
+ {D46BBF4D-8E03-4A97-9E1D-587E88F0F1A8}.Debug|Win32.Build.0 = Debug|Win32
+ {D46BBF4D-8E03-4A97-9E1D-587E88F0F1A8}.Release|Win32.ActiveCfg = Release|Win32
+ {D46BBF4D-8E03-4A97-9E1D-587E88F0F1A8}.Release|Win32.Build.0 = Release|Win32
+ {7FD42DF7-442E-479A-BA76-D0022F99702A}.Debug|Win32.ActiveCfg = Debug|Win32
+ {7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|Win32.ActiveCfg = Release|Win32
+ {7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/PGSimple/projectGenerator.vcxproj b/PGSimple/projectGenerator.vcxproj
new file mode 100644
index 0000000..1a95de9
--- /dev/null
+++ b/PGSimple/projectGenerator.vcxproj
@@ -0,0 +1,134 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {D46BBF4D-8E03-4A97-9E1D-587E88F0F1A8}
+ Win32Proj
+ projectGenerator
+
+
+
+ Application
+ true
+ Unicode
+
+
+ Application
+ false
+ true
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+ false
+
+
+
+
+
+ Level3
+ Disabled
+ WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ ..\..\..\addons\ofxXmlSettings\libs;..\..\..\addons\ofxXmlSettings\src;..\..\..\addons\ofxGui\src;.\src\addons;.\src\pugixmlLib\src;.\src\utils;.\src\projects;%(AdditionalIncludeDirectories)
+
+
+ Console
+ true
+ %(AdditionalDependencies)
+ %(IgnoreSpecificDefaultLibraries)
+
+
+
+
+ Level3
+
+
+ MaxSpeed
+ true
+ true
+ WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
+
+
+ Console
+ true
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {5837595d-aca9-485c-8e76-729040ce4b0b}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/PGSimple/projectGenerator.vcxproj.filters b/PGSimple/projectGenerator.vcxproj.filters
new file mode 100644
index 0000000..48451b5
--- /dev/null
+++ b/PGSimple/projectGenerator.vcxproj.filters
@@ -0,0 +1,168 @@
+
+
+
+
+ {48f095f5-6680-4fb7-ba62-6e5d4a59b3d3}
+
+
+ {a438fe03-3664-49e1-8a3d-c0f49b8e256d}
+
+
+ {966756a9-90b3-462d-9f43-e66ce13ac9c7}
+
+
+ {d9b15813-4d8e-4feb-af69-2dcb671c5546}
+
+
+ {c76d9651-8ebc-49ba-bec0-c8a9abda3102}
+
+
+ {a12b2e3d-9ce0-4bc4-ac1b-c93770f10cee}
+
+
+ {dbbee140-b712-40e2-9599-16b6b532f8e4}
+
+
+ {07a44bca-7ae5-4f1b-b2af-16f8e734cc04}
+
+
+ {19df3bd2-e50a-49cb-b98b-afe55e360e64}
+
+
+ {0f9e2643-d98b-44b1-9345-17976da56985}
+
+
+ {217849b9-1bf5-4f68-9732-2edc1db560ac}
+
+
+ {904a39a2-a8d4-47d3-9701-383c10559b94}
+
+
+
+
+ addons\ofxGui\src
+
+
+ addons\ofxGui\src
+
+
+ addons\ofxGui\src
+
+
+ addons\ofxGui\src
+
+
+ addons\ofxGui\src
+
+
+ addons\ofxGui\src
+
+
+ addons\ofxGui\src
+
+
+ addons\ofxGui\src
+
+
+ src
+
+
+ src\addons
+
+
+ src\pugixmlLib\src
+
+
+ src\pugixmlLib\src
+
+
+ src\projects
+
+
+ src\projects
+
+
+ src\projects
+
+
+ src\projects
+
+
+ src\utils
+
+
+ src\utils
+
+
+ addons\ofxXmlSettings\src
+
+
+ addons\ofxXmlSettings\libs
+
+
+ src\projects
+
+
+
+
+ addons\ofxGui\src
+
+
+ addons\ofxGui\src
+
+
+ addons\ofxGui\src
+
+
+ addons\ofxGui\src
+
+
+ addons\ofxGui\src
+
+
+ src
+
+
+ src
+
+
+ src\addons
+
+
+ src\pugixmlLib\src
+
+
+ src\projects
+
+
+ src\projects
+
+
+ src\projects
+
+
+ src\projects
+
+
+ src\utils
+
+
+ src\utils
+
+
+ addons\ofxXmlSettings\src
+
+
+ addons\ofxXmlSettings\libs
+
+
+ addons\ofxXmlSettings\libs
+
+
+ addons\ofxXmlSettings\libs
+
+
+ src\projects
+
+
+
\ No newline at end of file
diff --git a/PGSimple/projectGenerator.vcxproj.user b/PGSimple/projectGenerator.vcxproj.user
new file mode 100644
index 0000000..94bfcce
--- /dev/null
+++ b/PGSimple/projectGenerator.vcxproj.user
@@ -0,0 +1,7 @@
+
+
+
+ $(TargetDir)
+ WindowsLocalDebugger
+
+
\ No newline at end of file
diff --git a/PGSimple/projectGenerator.workspace b/PGSimple/projectGenerator.workspace
new file mode 100644
index 0000000..7882d26
--- /dev/null
+++ b/PGSimple/projectGenerator.workspace
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/PGSimple/projectGenerator.xcodeproj/project.pbxproj b/PGSimple/projectGenerator.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..c9b19b7
--- /dev/null
+++ b/PGSimple/projectGenerator.xcodeproj/project.pbxproj
@@ -0,0 +1,858 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 42;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 113CAA6814F88F2500D3906E /* ofxPanel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 113CAA6414F88F2500D3906E /* ofxPanel.cpp */; };
+ 113CAA7314F88F4200D3906E /* tinyxml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 113CAA6C14F88F4200D3906E /* tinyxml.cpp */; };
+ 113CAA7414F88F4200D3906E /* tinyxmlerror.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 113CAA6E14F88F4200D3906E /* tinyxmlerror.cpp */; };
+ 113CAA7514F88F4200D3906E /* tinyxmlparser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 113CAA6F14F88F4200D3906E /* tinyxmlparser.cpp */; };
+ 113CAA7614F88F4200D3906E /* ofxXmlSettings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 113CAA7114F88F4200D3906E /* ofxXmlSettings.cpp */; };
+ 2D786179150137420086071C /* ofxBaseGui.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D786175150137420086071C /* ofxBaseGui.cpp */; };
+ 2D78617A150137420086071C /* ofxButton.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D786176150137420086071C /* ofxButton.cpp */; };
+ 2D78617B150137420086071C /* ofxSlider.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D786177150137420086071C /* ofxSlider.cpp */; };
+ 2D78617C150137420086071C /* ofxToggle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D786178150137420086071C /* ofxToggle.cpp */; };
+ BBAB23CB13894F3D00AA2426 /* GLUT.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = BBAB23BE13894E4700AA2426 /* GLUT.framework */; };
+ DA0F44A8162076FC00FD58A7 /* ofAddon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DA0F4479162076FC00FD58A7 /* ofAddon.cpp */; };
+ DA0F44A9162076FC00FD58A7 /* g2AppKit.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA0F447D162076FC00FD58A7 /* g2AppKit.mm */; };
+ DA0F44AA162076FC00FD58A7 /* baseProject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DA0F447F162076FC00FD58A7 /* baseProject.cpp */; };
+ DA0F44AB162076FC00FD58A7 /* CBLinuxProject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DA0F4481162076FC00FD58A7 /* CBLinuxProject.cpp */; };
+ DA0F44AC162076FC00FD58A7 /* CBWinProject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DA0F4483162076FC00FD58A7 /* CBWinProject.cpp */; };
+ DA0F44AD162076FC00FD58A7 /* visualStudioProject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DA0F4485162076FC00FD58A7 /* visualStudioProject.cpp */; };
+ DA0F44AE162076FC00FD58A7 /* xcodeProject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DA0F4487162076FC00FD58A7 /* xcodeProject.cpp */; };
+ DA0F44AF162076FC00FD58A7 /* Jamfile.jam in Sources */ = {isa = PBXBuildFile; fileRef = DA0F448C162076FC00FD58A7 /* Jamfile.jam */; };
+ DA0F44B0162076FC00FD58A7 /* Jamrules.jam in Sources */ = {isa = PBXBuildFile; fileRef = DA0F448D162076FC00FD58A7 /* Jamrules.jam */; };
+ DA0F44B1162076FC00FD58A7 /* libpugixml_d.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DA0F448F162076FC00FD58A7 /* libpugixml_d.a */; };
+ DA0F44B2162076FC00FD58A7 /* pugixml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DA0F44A1162076FC00FD58A7 /* pugixml.cpp */; };
+ DA0F44B3162076FC00FD58A7 /* ofAppNoWindow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DA0F44A4162076FC00FD58A7 /* ofAppNoWindow.cpp */; };
+ DA0F44B4162076FC00FD58A7 /* Utils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DA0F44A6162076FC00FD58A7 /* Utils.cpp */; };
+ E4328149138ABC9F0047C5CB /* openFrameworks.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4328148138ABC890047C5CB /* openFrameworks.a */; };
+ E45BE97B0E8CC7DD009D7055 /* AGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9710E8CC7DD009D7055 /* AGL.framework */; };
+ E45BE97C0E8CC7DD009D7055 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */; };
+ E45BE97D0E8CC7DD009D7055 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */; };
+ E45BE97E0E8CC7DD009D7055 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9740E8CC7DD009D7055 /* Carbon.framework */; };
+ E45BE97F0E8CC7DD009D7055 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */; };
+ E45BE9800E8CC7DD009D7055 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */; };
+ E45BE9810E8CC7DD009D7055 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9770E8CC7DD009D7055 /* CoreServices.framework */; };
+ E45BE9830E8CC7DD009D7055 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9790E8CC7DD009D7055 /* OpenGL.framework */; };
+ E45BE9840E8CC7DD009D7055 /* QuickTime.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */; };
+ E4B69E200A3A1BDC003C02F2 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B69E1D0A3A1BDC003C02F2 /* main.cpp */; };
+ E4B69E210A3A1BDC003C02F2 /* testApp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */; };
+ E4C2424710CC5A17004149E2 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424410CC5A17004149E2 /* AppKit.framework */; };
+ E4C2424810CC5A17004149E2 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424510CC5A17004149E2 /* Cocoa.framework */; };
+ E4C2424910CC5A17004149E2 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424610CC5A17004149E2 /* IOKit.framework */; };
+ E4EB6799138ADC1D00A09F29 /* GLUT.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BBAB23BE13894E4700AA2426 /* GLUT.framework */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ DA0F44B9162076FC00FD58A7 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = DA0F4494162076FC00FD58A7 /* pugixml.xcodeproj */;
+ proxyType = 2;
+ remoteGlobalIDString = 1DA04ADC64C3001276189718 /* libpugixml_d.a */;
+ remoteInfo = pugixml;
+ };
+ E4328147138ABC890047C5CB /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */;
+ proxyType = 2;
+ remoteGlobalIDString = E4B27C1510CBEB8E00536013;
+ remoteInfo = openFrameworks;
+ };
+ E4EEB9AB138B136A00A80321 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */;
+ proxyType = 1;
+ remoteGlobalIDString = E4B27C1410CBEB8E00536013;
+ remoteInfo = openFrameworks;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ E4C2427710CC5ABF004149E2 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ BBAB23CB13894F3D00AA2426 /* GLUT.framework in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 113CAA5F14F88F2500D3906E /* ofOscParameter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofOscParameter.h; sourceTree = ""; };
+ 113CAA6014F88F2500D3906E /* ofParameter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofParameter.h; sourceTree = ""; };
+ 113CAA6114F88F2500D3906E /* ofxBaseGui.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxBaseGui.h; sourceTree = ""; };
+ 113CAA6214F88F2500D3906E /* ofxButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxButton.h; sourceTree = ""; };
+ 113CAA6314F88F2500D3906E /* ofxGui.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxGui.h; sourceTree = ""; };
+ 113CAA6414F88F2500D3906E /* ofxPanel.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxPanel.cpp; sourceTree = ""; };
+ 113CAA6514F88F2500D3906E /* ofxPanel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxPanel.h; sourceTree = ""; };
+ 113CAA6614F88F2500D3906E /* ofxSlider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxSlider.h; sourceTree = ""; };
+ 113CAA6714F88F2500D3906E /* ofxToggle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxToggle.h; sourceTree = ""; };
+ 113CAA6C14F88F4200D3906E /* tinyxml.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tinyxml.cpp; sourceTree = ""; };
+ 113CAA6D14F88F4200D3906E /* tinyxml.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tinyxml.h; sourceTree = ""; };
+ 113CAA6E14F88F4200D3906E /* tinyxmlerror.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tinyxmlerror.cpp; sourceTree = ""; };
+ 113CAA6F14F88F4200D3906E /* tinyxmlparser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tinyxmlparser.cpp; sourceTree = ""; };
+ 113CAA7114F88F4200D3906E /* ofxXmlSettings.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxXmlSettings.cpp; sourceTree = ""; };
+ 113CAA7214F88F4200D3906E /* ofxXmlSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxXmlSettings.h; sourceTree = ""; };
+ 11BCDC821607709900FCCD85 /* textButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = textButton.h; sourceTree = ""; };
+ 2D786175150137420086071C /* ofxBaseGui.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxBaseGui.cpp; sourceTree = ""; };
+ 2D786176150137420086071C /* ofxButton.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxButton.cpp; sourceTree = ""; };
+ 2D786177150137420086071C /* ofxSlider.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxSlider.cpp; sourceTree = ""; };
+ 2D786178150137420086071C /* ofxToggle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxToggle.cpp; sourceTree = ""; };
+ BBAB23BE13894E4700AA2426 /* GLUT.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLUT.framework; path = ../../../libs/glut/lib/osx/GLUT.framework; sourceTree = ""; };
+ DA0F4479162076FC00FD58A7 /* ofAddon.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofAddon.cpp; sourceTree = ""; };
+ DA0F447A162076FC00FD58A7 /* ofAddon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofAddon.h; sourceTree = ""; };
+ DA0F447C162076FC00FD58A7 /* g2AppKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = g2AppKit.h; sourceTree = ""; };
+ DA0F447D162076FC00FD58A7 /* g2AppKit.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = g2AppKit.mm; sourceTree = ""; };
+ DA0F447F162076FC00FD58A7 /* baseProject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = baseProject.cpp; sourceTree = ""; };
+ DA0F4480162076FC00FD58A7 /* baseProject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = baseProject.h; sourceTree = ""; };
+ DA0F4481162076FC00FD58A7 /* CBLinuxProject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CBLinuxProject.cpp; sourceTree = ""; };
+ DA0F4482162076FC00FD58A7 /* CBLinuxProject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CBLinuxProject.h; sourceTree = ""; };
+ DA0F4483162076FC00FD58A7 /* CBWinProject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CBWinProject.cpp; sourceTree = ""; };
+ DA0F4484162076FC00FD58A7 /* CBWinProject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CBWinProject.h; sourceTree = ""; };
+ DA0F4485162076FC00FD58A7 /* visualStudioProject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = visualStudioProject.cpp; sourceTree = ""; };
+ DA0F4486162076FC00FD58A7 /* visualStudioProject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = visualStudioProject.h; sourceTree = ""; };
+ DA0F4487162076FC00FD58A7 /* xcodeProject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = xcodeProject.cpp; sourceTree = ""; };
+ DA0F4488162076FC00FD58A7 /* xcodeProject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xcodeProject.h; sourceTree = ""; };
+ DA0F448B162076FC00FD58A7 /* foreach.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = foreach.hpp; sourceTree = ""; };
+ DA0F448C162076FC00FD58A7 /* Jamfile.jam */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.jam; path = Jamfile.jam; sourceTree = ""; };
+ DA0F448D162076FC00FD58A7 /* Jamrules.jam */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.jam; path = Jamrules.jam; sourceTree = ""; };
+ DA0F448F162076FC00FD58A7 /* libpugixml_d.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libpugixml_d.a; sourceTree = ""; };
+ DA0F4490162076FC00FD58A7 /* readme.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = readme.txt; sourceTree = ""; };
+ DA0F4492162076FC00FD58A7 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = ""; };
+ DA0F4493162076FC00FD58A7 /* premake4.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = premake4.lua; sourceTree = ""; };
+ DA0F4494162076FC00FD58A7 /* pugixml.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = pugixml.xcodeproj; sourceTree = ""; };
+ DA0F4497162076FC00FD58A7 /* pugixml_codeblocks.cbp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = pugixml_codeblocks.cbp; sourceTree = ""; };
+ DA0F4498162076FC00FD58A7 /* pugixml_codelite.project */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = pugixml_codelite.project; sourceTree = ""; };
+ DA0F4499162076FC00FD58A7 /* pugixml_vs2005.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = pugixml_vs2005.vcproj; sourceTree = ""; };
+ DA0F449A162076FC00FD58A7 /* pugixml_vs2005_static.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = pugixml_vs2005_static.vcproj; sourceTree = ""; };
+ DA0F449B162076FC00FD58A7 /* pugixml_vs2008.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = pugixml_vs2008.vcproj; sourceTree = ""; };
+ DA0F449C162076FC00FD58A7 /* pugixml_vs2008_static.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = pugixml_vs2008_static.vcproj; sourceTree = ""; };
+ DA0F449D162076FC00FD58A7 /* pugixml_vs2010.vcxproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = pugixml_vs2010.vcxproj; sourceTree = ""; };
+ DA0F449E162076FC00FD58A7 /* pugixml_vs2010_static.vcxproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = pugixml_vs2010_static.vcxproj; sourceTree = ""; };
+ DA0F44A0162076FC00FD58A7 /* pugiconfig.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = pugiconfig.hpp; sourceTree = ""; };
+ DA0F44A1162076FC00FD58A7 /* pugixml.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = pugixml.cpp; sourceTree = ""; };
+ DA0F44A2162076FC00FD58A7 /* pugixml.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = pugixml.hpp; sourceTree = ""; };
+ DA0F44A4162076FC00FD58A7 /* ofAppNoWindow.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofAppNoWindow.cpp; sourceTree = ""; };
+ DA0F44A5162076FC00FD58A7 /* ofAppNoWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofAppNoWindow.h; sourceTree = ""; };
+ DA0F44A6162076FC00FD58A7 /* Utils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Utils.cpp; sourceTree = ""; };
+ DA0F44A7162076FC00FD58A7 /* Utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Utils.h; sourceTree = ""; };
+ E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = openFrameworksLib.xcodeproj; path = ../../../libs/openFrameworksCompiled/project/osx/openFrameworksLib.xcodeproj; sourceTree = SOURCE_ROOT; };
+ E45BE9710E8CC7DD009D7055 /* AGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AGL.framework; path = /System/Library/Frameworks/AGL.framework; sourceTree = ""; };
+ E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = ""; };
+ E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = /System/Library/Frameworks/AudioToolbox.framework; sourceTree = ""; };
+ E45BE9740E8CC7DD009D7055 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = ""; };
+ E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = /System/Library/Frameworks/CoreAudio.framework; sourceTree = ""; };
+ E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = ""; };
+ E45BE9770E8CC7DD009D7055 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = ""; };
+ E45BE9790E8CC7DD009D7055 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = ""; };
+ E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickTime.framework; path = /System/Library/Frameworks/QuickTime.framework; sourceTree = ""; };
+ E4B69B5B0A3A1756003C02F2 /* emptyExampleDebug.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = emptyExampleDebug.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ E4B69E1D0A3A1BDC003C02F2 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = src/main.cpp; sourceTree = SOURCE_ROOT; };
+ E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = testApp.cpp; path = src/testApp.cpp; sourceTree = SOURCE_ROOT; };
+ E4B69E1F0A3A1BDC003C02F2 /* testApp.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = testApp.h; path = src/testApp.h; sourceTree = SOURCE_ROOT; };
+ E4B6FCAD0C3E899E008CF71C /* openFrameworks-Info.plist */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.plist.xml; path = "openFrameworks-Info.plist"; sourceTree = ""; };
+ E4C2424410CC5A17004149E2 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; };
+ E4C2424510CC5A17004149E2 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; };
+ E4C2424610CC5A17004149E2 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; };
+ E4EB691F138AFCF100A09F29 /* CoreOF.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = CoreOF.xcconfig; path = ../../../libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig; sourceTree = SOURCE_ROOT; };
+ E4EB6923138AFD0F00A09F29 /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ E4B69B590A3A1756003C02F2 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E4EB6799138ADC1D00A09F29 /* GLUT.framework in Frameworks */,
+ E4328149138ABC9F0047C5CB /* openFrameworks.a in Frameworks */,
+ E45BE97B0E8CC7DD009D7055 /* AGL.framework in Frameworks */,
+ E45BE97C0E8CC7DD009D7055 /* ApplicationServices.framework in Frameworks */,
+ E45BE97D0E8CC7DD009D7055 /* AudioToolbox.framework in Frameworks */,
+ E45BE97E0E8CC7DD009D7055 /* Carbon.framework in Frameworks */,
+ E45BE97F0E8CC7DD009D7055 /* CoreAudio.framework in Frameworks */,
+ E45BE9800E8CC7DD009D7055 /* CoreFoundation.framework in Frameworks */,
+ E45BE9810E8CC7DD009D7055 /* CoreServices.framework in Frameworks */,
+ E45BE9830E8CC7DD009D7055 /* OpenGL.framework in Frameworks */,
+ E45BE9840E8CC7DD009D7055 /* QuickTime.framework in Frameworks */,
+ E4C2424710CC5A17004149E2 /* AppKit.framework in Frameworks */,
+ E4C2424810CC5A17004149E2 /* Cocoa.framework in Frameworks */,
+ E4C2424910CC5A17004149E2 /* IOKit.framework in Frameworks */,
+ DA0F44B1162076FC00FD58A7 /* libpugixml_d.a in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 113CAA5D14F88F2500D3906E /* ofxGui */ = {
+ isa = PBXGroup;
+ children = (
+ 113CAA5E14F88F2500D3906E /* src */,
+ );
+ name = ofxGui;
+ path = ../../../addons/ofxGui;
+ sourceTree = "";
+ };
+ 113CAA5E14F88F2500D3906E /* src */ = {
+ isa = PBXGroup;
+ children = (
+ 2D786175150137420086071C /* ofxBaseGui.cpp */,
+ 2D786176150137420086071C /* ofxButton.cpp */,
+ 2D786177150137420086071C /* ofxSlider.cpp */,
+ 2D786178150137420086071C /* ofxToggle.cpp */,
+ 113CAA5F14F88F2500D3906E /* ofOscParameter.h */,
+ 113CAA6014F88F2500D3906E /* ofParameter.h */,
+ 113CAA6114F88F2500D3906E /* ofxBaseGui.h */,
+ 113CAA6214F88F2500D3906E /* ofxButton.h */,
+ 113CAA6314F88F2500D3906E /* ofxGui.h */,
+ 113CAA6414F88F2500D3906E /* ofxPanel.cpp */,
+ 113CAA6514F88F2500D3906E /* ofxPanel.h */,
+ 113CAA6614F88F2500D3906E /* ofxSlider.h */,
+ 113CAA6714F88F2500D3906E /* ofxToggle.h */,
+ );
+ path = src;
+ sourceTree = "";
+ };
+ 113CAA6914F88F4200D3906E /* ofxXmlSettings */ = {
+ isa = PBXGroup;
+ children = (
+ 113CAA6B14F88F4200D3906E /* libs */,
+ 113CAA7014F88F4200D3906E /* src */,
+ );
+ name = ofxXmlSettings;
+ path = ../../../addons/ofxXmlSettings;
+ sourceTree = "";
+ };
+ 113CAA6B14F88F4200D3906E /* libs */ = {
+ isa = PBXGroup;
+ children = (
+ 113CAA6C14F88F4200D3906E /* tinyxml.cpp */,
+ 113CAA6D14F88F4200D3906E /* tinyxml.h */,
+ 113CAA6E14F88F4200D3906E /* tinyxmlerror.cpp */,
+ 113CAA6F14F88F4200D3906E /* tinyxmlparser.cpp */,
+ );
+ path = libs;
+ sourceTree = "";
+ };
+ 113CAA7014F88F4200D3906E /* src */ = {
+ isa = PBXGroup;
+ children = (
+ 113CAA7114F88F4200D3906E /* ofxXmlSettings.cpp */,
+ 113CAA7214F88F4200D3906E /* ofxXmlSettings.h */,
+ );
+ path = src;
+ sourceTree = "";
+ };
+ BB4B014C10F69532006C3DED /* addons */ = {
+ isa = PBXGroup;
+ children = (
+ 113CAA6914F88F4200D3906E /* ofxXmlSettings */,
+ 113CAA5D14F88F2500D3906E /* ofxGui */,
+ );
+ name = addons;
+ sourceTree = "";
+ };
+ BBAB23C913894ECA00AA2426 /* system frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ E4C2424410CC5A17004149E2 /* AppKit.framework */,
+ E4C2424510CC5A17004149E2 /* Cocoa.framework */,
+ E4C2424610CC5A17004149E2 /* IOKit.framework */,
+ E45BE9710E8CC7DD009D7055 /* AGL.framework */,
+ E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */,
+ E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */,
+ E45BE9740E8CC7DD009D7055 /* Carbon.framework */,
+ E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */,
+ E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */,
+ E45BE9770E8CC7DD009D7055 /* CoreServices.framework */,
+ E45BE9790E8CC7DD009D7055 /* OpenGL.framework */,
+ E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */,
+ );
+ name = "system frameworks";
+ sourceTree = "";
+ };
+ BBAB23CA13894EDB00AA2426 /* 3rd party frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ BBAB23BE13894E4700AA2426 /* GLUT.framework */,
+ );
+ name = "3rd party frameworks";
+ sourceTree = "";
+ };
+ DA0F4478162076FC00FD58A7 /* addons */ = {
+ isa = PBXGroup;
+ children = (
+ DA0F4479162076FC00FD58A7 /* ofAddon.cpp */,
+ DA0F447A162076FC00FD58A7 /* ofAddon.h */,
+ );
+ name = addons;
+ path = ../PGCommon/src/addons;
+ sourceTree = SOURCE_ROOT;
+ };
+ DA0F447B162076FC00FD58A7 /* cocoa */ = {
+ isa = PBXGroup;
+ children = (
+ DA0F447C162076FC00FD58A7 /* g2AppKit.h */,
+ DA0F447D162076FC00FD58A7 /* g2AppKit.mm */,
+ );
+ name = cocoa;
+ path = ../PGCommon/src/cocoa;
+ sourceTree = SOURCE_ROOT;
+ };
+ DA0F447E162076FC00FD58A7 /* projects */ = {
+ isa = PBXGroup;
+ children = (
+ DA0F447F162076FC00FD58A7 /* baseProject.cpp */,
+ DA0F4480162076FC00FD58A7 /* baseProject.h */,
+ DA0F4481162076FC00FD58A7 /* CBLinuxProject.cpp */,
+ DA0F4482162076FC00FD58A7 /* CBLinuxProject.h */,
+ DA0F4483162076FC00FD58A7 /* CBWinProject.cpp */,
+ DA0F4484162076FC00FD58A7 /* CBWinProject.h */,
+ DA0F4485162076FC00FD58A7 /* visualStudioProject.cpp */,
+ DA0F4486162076FC00FD58A7 /* visualStudioProject.h */,
+ DA0F4487162076FC00FD58A7 /* xcodeProject.cpp */,
+ DA0F4488162076FC00FD58A7 /* xcodeProject.h */,
+ );
+ name = projects;
+ path = ../PGCommon/src/projects;
+ sourceTree = SOURCE_ROOT;
+ };
+ DA0F4489162076FC00FD58A7 /* pugixmlLib */ = {
+ isa = PBXGroup;
+ children = (
+ DA0F448A162076FC00FD58A7 /* contrib */,
+ DA0F448C162076FC00FD58A7 /* Jamfile.jam */,
+ DA0F448D162076FC00FD58A7 /* Jamrules.jam */,
+ DA0F448E162076FC00FD58A7 /* lib */,
+ DA0F4490162076FC00FD58A7 /* readme.txt */,
+ DA0F4491162076FC00FD58A7 /* scripts */,
+ DA0F449F162076FC00FD58A7 /* src */,
+ );
+ name = pugixmlLib;
+ path = ../PGCommon/src/pugixmlLib;
+ sourceTree = SOURCE_ROOT;
+ };
+ DA0F448A162076FC00FD58A7 /* contrib */ = {
+ isa = PBXGroup;
+ children = (
+ DA0F448B162076FC00FD58A7 /* foreach.hpp */,
+ );
+ path = contrib;
+ sourceTree = "";
+ };
+ DA0F448E162076FC00FD58A7 /* lib */ = {
+ isa = PBXGroup;
+ children = (
+ DA0F448F162076FC00FD58A7 /* libpugixml_d.a */,
+ );
+ path = lib;
+ sourceTree = "";
+ };
+ DA0F4491162076FC00FD58A7 /* scripts */ = {
+ isa = PBXGroup;
+ children = (
+ DA0F4492162076FC00FD58A7 /* CMakeLists.txt */,
+ DA0F4493162076FC00FD58A7 /* premake4.lua */,
+ DA0F4494162076FC00FD58A7 /* pugixml.xcodeproj */,
+ DA0F4497162076FC00FD58A7 /* pugixml_codeblocks.cbp */,
+ DA0F4498162076FC00FD58A7 /* pugixml_codelite.project */,
+ DA0F4499162076FC00FD58A7 /* pugixml_vs2005.vcproj */,
+ DA0F449A162076FC00FD58A7 /* pugixml_vs2005_static.vcproj */,
+ DA0F449B162076FC00FD58A7 /* pugixml_vs2008.vcproj */,
+ DA0F449C162076FC00FD58A7 /* pugixml_vs2008_static.vcproj */,
+ DA0F449D162076FC00FD58A7 /* pugixml_vs2010.vcxproj */,
+ DA0F449E162076FC00FD58A7 /* pugixml_vs2010_static.vcxproj */,
+ );
+ path = scripts;
+ sourceTree = "";
+ };
+ DA0F4495162076FC00FD58A7 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ DA0F44BA162076FC00FD58A7 /* libpugixml_d.a */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ DA0F449F162076FC00FD58A7 /* src */ = {
+ isa = PBXGroup;
+ children = (
+ DA0F44A0162076FC00FD58A7 /* pugiconfig.hpp */,
+ DA0F44A1162076FC00FD58A7 /* pugixml.cpp */,
+ DA0F44A2162076FC00FD58A7 /* pugixml.hpp */,
+ );
+ path = src;
+ sourceTree = "";
+ };
+ DA0F44A3162076FC00FD58A7 /* utils */ = {
+ isa = PBXGroup;
+ children = (
+ DA0F44A4162076FC00FD58A7 /* ofAppNoWindow.cpp */,
+ DA0F44A5162076FC00FD58A7 /* ofAppNoWindow.h */,
+ DA0F44A6162076FC00FD58A7 /* Utils.cpp */,
+ DA0F44A7162076FC00FD58A7 /* Utils.h */,
+ );
+ name = utils;
+ path = ../PGCommon/src/utils;
+ sourceTree = SOURCE_ROOT;
+ };
+ E4328144138ABC890047C5CB /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ E4328148138ABC890047C5CB /* openFrameworks.a */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ E45BE5980E8CC70C009D7055 /* frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ BBAB23CA13894EDB00AA2426 /* 3rd party frameworks */,
+ BBAB23C913894ECA00AA2426 /* system frameworks */,
+ );
+ name = frameworks;
+ sourceTree = "";
+ };
+ E4B69B4A0A3A1720003C02F2 = {
+ isa = PBXGroup;
+ children = (
+ E4B6FCAD0C3E899E008CF71C /* openFrameworks-Info.plist */,
+ E4EB6923138AFD0F00A09F29 /* Project.xcconfig */,
+ E4B69E1C0A3A1BDC003C02F2 /* src */,
+ E4EEC9E9138DF44700A80321 /* openFrameworks */,
+ BB4B014C10F69532006C3DED /* addons */,
+ E45BE5980E8CC70C009D7055 /* frameworks */,
+ E4B69B5B0A3A1756003C02F2 /* emptyExampleDebug.app */,
+ );
+ sourceTree = "";
+ };
+ E4B69E1C0A3A1BDC003C02F2 /* src */ = {
+ isa = PBXGroup;
+ children = (
+ DA0F4478162076FC00FD58A7 /* addons */,
+ DA0F447B162076FC00FD58A7 /* cocoa */,
+ DA0F447E162076FC00FD58A7 /* projects */,
+ DA0F4489162076FC00FD58A7 /* pugixmlLib */,
+ DA0F44A3162076FC00FD58A7 /* utils */,
+ E4B69E1D0A3A1BDC003C02F2 /* main.cpp */,
+ E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */,
+ E4B69E1F0A3A1BDC003C02F2 /* testApp.h */,
+ 11BCDC821607709900FCCD85 /* textButton.h */,
+ );
+ path = src;
+ sourceTree = SOURCE_ROOT;
+ };
+ E4EEC9E9138DF44700A80321 /* openFrameworks */ = {
+ isa = PBXGroup;
+ children = (
+ E4EB691F138AFCF100A09F29 /* CoreOF.xcconfig */,
+ E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */,
+ );
+ name = openFrameworks;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ E4B69B5A0A3A1756003C02F2 /* emptyExample */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = E4B69B5F0A3A1757003C02F2 /* Build configuration list for PBXNativeTarget "emptyExample" */;
+ buildPhases = (
+ E4B69B580A3A1756003C02F2 /* Sources */,
+ E4B69B590A3A1756003C02F2 /* Frameworks */,
+ E4B6FFFD0C3F9AB9008CF71C /* ShellScript */,
+ E4C2427710CC5ABF004149E2 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ E4EEB9AC138B136A00A80321 /* PBXTargetDependency */,
+ );
+ name = emptyExample;
+ productName = myOFApp;
+ productReference = E4B69B5B0A3A1756003C02F2 /* emptyExampleDebug.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ E4B69B4C0A3A1720003C02F2 /* Project object */ = {
+ isa = PBXProject;
+ buildConfigurationList = E4B69B4D0A3A1720003C02F2 /* Build configuration list for PBXProject "projectGenerator" */;
+ compatibilityVersion = "Xcode 2.4";
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ English,
+ Japanese,
+ French,
+ German,
+ );
+ mainGroup = E4B69B4A0A3A1720003C02F2;
+ productRefGroup = E4B69B4A0A3A1720003C02F2;
+ projectDirPath = "";
+ projectReferences = (
+ {
+ ProductGroup = E4328144138ABC890047C5CB /* Products */;
+ ProjectRef = E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */;
+ },
+ {
+ ProductGroup = DA0F4495162076FC00FD58A7 /* Products */;
+ ProjectRef = DA0F4494162076FC00FD58A7 /* pugixml.xcodeproj */;
+ },
+ );
+ projectRoot = "";
+ targets = (
+ E4B69B5A0A3A1756003C02F2 /* emptyExample */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXReferenceProxy section */
+ DA0F44BA162076FC00FD58A7 /* libpugixml_d.a */ = {
+ isa = PBXReferenceProxy;
+ fileType = archive.ar;
+ path = libpugixml_d.a;
+ remoteRef = DA0F44B9162076FC00FD58A7 /* PBXContainerItemProxy */;
+ sourceTree = BUILT_PRODUCTS_DIR;
+ };
+ E4328148138ABC890047C5CB /* openFrameworks.a */ = {
+ isa = PBXReferenceProxy;
+ fileType = archive.ar;
+ path = openFrameworks.a;
+ remoteRef = E4328147138ABC890047C5CB /* PBXContainerItemProxy */;
+ sourceTree = BUILT_PRODUCTS_DIR;
+ };
+/* End PBXReferenceProxy section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ E4B6FFFD0C3F9AB9008CF71C /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "cp -f ../../../libs/fmodex/lib/osx/libfmodex.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/libfmodex.dylib\"; install_name_tool -change ./libfmodex.dylib @executable_path/libfmodex.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME\";";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ E4B69B580A3A1756003C02F2 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E4B69E200A3A1BDC003C02F2 /* main.cpp in Sources */,
+ E4B69E210A3A1BDC003C02F2 /* testApp.cpp in Sources */,
+ 113CAA6814F88F2500D3906E /* ofxPanel.cpp in Sources */,
+ 113CAA7314F88F4200D3906E /* tinyxml.cpp in Sources */,
+ 113CAA7414F88F4200D3906E /* tinyxmlerror.cpp in Sources */,
+ 113CAA7514F88F4200D3906E /* tinyxmlparser.cpp in Sources */,
+ 113CAA7614F88F4200D3906E /* ofxXmlSettings.cpp in Sources */,
+ 2D786179150137420086071C /* ofxBaseGui.cpp in Sources */,
+ 2D78617A150137420086071C /* ofxButton.cpp in Sources */,
+ 2D78617B150137420086071C /* ofxSlider.cpp in Sources */,
+ 2D78617C150137420086071C /* ofxToggle.cpp in Sources */,
+ DA0F44A8162076FC00FD58A7 /* ofAddon.cpp in Sources */,
+ DA0F44A9162076FC00FD58A7 /* g2AppKit.mm in Sources */,
+ DA0F44AA162076FC00FD58A7 /* baseProject.cpp in Sources */,
+ DA0F44AB162076FC00FD58A7 /* CBLinuxProject.cpp in Sources */,
+ DA0F44AC162076FC00FD58A7 /* CBWinProject.cpp in Sources */,
+ DA0F44AD162076FC00FD58A7 /* visualStudioProject.cpp in Sources */,
+ DA0F44AE162076FC00FD58A7 /* xcodeProject.cpp in Sources */,
+ DA0F44AF162076FC00FD58A7 /* Jamfile.jam in Sources */,
+ DA0F44B0162076FC00FD58A7 /* Jamrules.jam in Sources */,
+ DA0F44B2162076FC00FD58A7 /* pugixml.cpp in Sources */,
+ DA0F44B3162076FC00FD58A7 /* ofAppNoWindow.cpp in Sources */,
+ DA0F44B4162076FC00FD58A7 /* Utils.cpp in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ E4EEB9AC138B136A00A80321 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ name = openFrameworks;
+ targetProxy = E4EEB9AB138B136A00A80321 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin XCBuildConfiguration section */
+ E4B69B4E0A3A1720003C02F2 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = E4EB6923138AFD0F00A09F29 /* Project.xcconfig */;
+ buildSettings = {
+ ARCHS = "$(NATIVE_ARCH)";
+ CONFIGURATION_BUILD_DIR = "$(SRCROOT)/bin/";
+ COPY_PHASE_STRIP = NO;
+ DEAD_CODE_STRIPPING = YES;
+ GCC_AUTO_VECTORIZATION = YES;
+ GCC_ENABLE_SSE3_EXTENSIONS = YES;
+ GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES;
+ GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
+ GCC_MODEL_TUNING = G5;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
+ GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
+ GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
+ GCC_WARN_UNINITIALIZED_AUTOS = NO;
+ GCC_WARN_UNUSED_VALUE = NO;
+ GCC_WARN_UNUSED_VARIABLE = NO;
+ OTHER_CPLUSPLUSFLAGS = (
+ "-D__MACOSX_CORE__",
+ "-lpthread",
+ );
+ };
+ name = Debug;
+ };
+ E4B69B4F0A3A1720003C02F2 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = E4EB6923138AFD0F00A09F29 /* Project.xcconfig */;
+ buildSettings = {
+ ARCHS = "$(NATIVE_ARCH)";
+ CONFIGURATION_BUILD_DIR = "$(SRCROOT)/bin/";
+ COPY_PHASE_STRIP = YES;
+ DEAD_CODE_STRIPPING = YES;
+ GCC_AUTO_VECTORIZATION = YES;
+ GCC_ENABLE_SSE3_EXTENSIONS = YES;
+ GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES;
+ GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
+ GCC_MODEL_TUNING = G5;
+ GCC_OPTIMIZATION_LEVEL = 3;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_UNROLL_LOOPS = YES;
+ GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
+ GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
+ GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
+ GCC_WARN_UNINITIALIZED_AUTOS = NO;
+ GCC_WARN_UNUSED_VALUE = NO;
+ GCC_WARN_UNUSED_VARIABLE = NO;
+ OTHER_CPLUSPLUSFLAGS = (
+ "-D__MACOSX_CORE__",
+ "-lpthread",
+ );
+ };
+ name = Release;
+ };
+ E4B69B600A3A1757003C02F2 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ );
+ FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../libs/glut/lib/osx\"";
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_MODEL_TUNING = G4;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
+ INFOPLIST_FILE = "openFrameworks-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_16)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_17)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_18)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_19)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_20)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_21)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_22)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_23)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_24)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_25)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_26)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_27)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_28)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_29)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_30)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_31)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_32)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_33)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_34)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_35)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_36)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_37)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_38)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_39)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_40)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_41)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_42)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_43)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_44)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_45)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_46)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_47)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_48)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_49)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_50)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_51)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_52)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ );
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/src/pugixmlLib\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SRCROOT)/src/pugixmlLib/lib\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3 = "\"$(SRCROOT)/../PGCommon/src/pugixmlLib/lib\"";
+ PREBINDING = NO;
+ PRODUCT_NAME = "$(TARGET_NAME)Debug";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ E4B69B610A3A1757003C02F2 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ );
+ FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../libs/glut/lib/osx\"";
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ GCC_MODEL_TUNING = G4;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
+ INFOPLIST_FILE = "openFrameworks-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_16)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_17)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_18)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_19)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_20)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_21)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_22)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_23)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_24)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_25)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_26)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_27)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_28)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_29)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_30)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_31)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_32)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_33)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_34)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_35)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_36)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_37)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_38)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_39)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_40)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_41)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_42)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_43)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_44)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_45)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_46)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_47)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_48)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_49)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_50)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_51)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
+ );
+ LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../PGCommon/src/pugixmlLib/lib\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/src/pugixmlLib\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SRCROOT)/src/pugixmlLib/lib\"";
+ PREBINDING = NO;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ E4B69B4D0A3A1720003C02F2 /* Build configuration list for PBXProject "projectGenerator" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ E4B69B4E0A3A1720003C02F2 /* Debug */,
+ E4B69B4F0A3A1720003C02F2 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ E4B69B5F0A3A1757003C02F2 /* Build configuration list for PBXNativeTarget "emptyExample" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ E4B69B600A3A1757003C02F2 /* Debug */,
+ E4B69B610A3A1757003C02F2 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = E4B69B4C0A3A1720003C02F2 /* Project object */;
+}
diff --git a/projectGenerator.xcodeproj/xcshareddata/xcschemes/projectGenerator.xcscheme b/PGSimple/projectGenerator.xcodeproj/xcshareddata/xcschemes/projectGenerator.xcscheme
similarity index 100%
rename from projectGenerator.xcodeproj/xcshareddata/xcschemes/projectGenerator.xcscheme
rename to PGSimple/projectGenerator.xcodeproj/xcshareddata/xcschemes/projectGenerator.xcscheme
diff --git a/PGSimple/projectGeneratorLinux.cbp b/PGSimple/projectGeneratorLinux.cbp
new file mode 100644
index 0000000..b4aba41
--- /dev/null
+++ b/PGSimple/projectGeneratorLinux.cbp
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PGSimple/projectGeneratorLinux.workspace b/PGSimple/projectGeneratorLinux.workspace
new file mode 100644
index 0000000..40e964d
--- /dev/null
+++ b/PGSimple/projectGeneratorLinux.workspace
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/PGSimple/projectGenerator_linux64.cbp b/PGSimple/projectGenerator_linux64.cbp
new file mode 100644
index 0000000..3865643
--- /dev/null
+++ b/PGSimple/projectGenerator_linux64.cbp
@@ -0,0 +1,153 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PGSimple/projectGenerator_linux64.workspace b/PGSimple/projectGenerator_linux64.workspace
new file mode 100644
index 0000000..eabcc7d
--- /dev/null
+++ b/PGSimple/projectGenerator_linux64.workspace
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/src/main.cpp b/PGSimple/src/main.cpp
similarity index 100%
rename from src/main.cpp
rename to PGSimple/src/main.cpp
diff --git a/src/testApp.cpp b/PGSimple/src/testApp.cpp
similarity index 100%
rename from src/testApp.cpp
rename to PGSimple/src/testApp.cpp
diff --git a/PGSimple/src/testApp.cpp.orig b/PGSimple/src/testApp.cpp.orig
new file mode 100644
index 0000000..fcf1b78
--- /dev/null
+++ b/PGSimple/src/testApp.cpp.orig
@@ -0,0 +1,789 @@
+#include "testApp.h"
+#include "Utils.h"
+#include
+#include "ofConstants.h"
+
+#ifdef TARGET_OSX
+#include "g2AppKit.h"
+#endif
+
+
+
+//------------------------------------------------------
+bool testApp::isAddonCore(string addon){
+
+
+ if (bInited == false){
+ coreAddons.push_back("ofx3DModelLoader");
+ coreAddons.push_back("ofxAssimpModelLoader");
+ coreAddons.push_back("ofxDirList");
+ coreAddons.push_back("ofxNetwork");
+ coreAddons.push_back("ofxOpenCv");
+ coreAddons.push_back("ofxOsc");
+ coreAddons.push_back("ofxThread");
+ coreAddons.push_back("ofxThreadedImageLoader");
+ coreAddons.push_back("ofxVectorGraphics");
+ coreAddons.push_back("ofxVectorMath");
+ coreAddons.push_back("ofxXmlSettings");
+ bInited = true;
+ }
+
+
+
+ for (int i = 0; i < coreAddons.size(); i++){
+
+ if (coreAddons[i] == addon){
+ return true;
+ }
+ }
+ return false;
+}
+
+//------------------------------------------------------
+// for project names, let's fix replace any odd characters with _
+void fixStringCharacters(string &toFix){
+
+ // replace all non alpha numeric (ascii) characters with _
+ for (int i = 0; i < toFix.size(); i++){
+ int which = (int)toFix[i];
+ if ((which >= 48 && which <= 57) ||
+ (which >= 65 && which <= 90) ||
+ (which >= 97 && which <= 122)){
+ } else {
+ toFix[i] = '_';
+ }
+ }
+}
+
+
+
+//------------------------------------------------------
+string testApp::setupForTarget(int targ){
+
+ if(project){
+ delete project;
+ }
+ string target;
+ switch(targ){
+ case OF_TARGET_OSX:
+ project = new xcodeProject;
+ target = "osx";
+ break;
+ case OF_TARGET_WINGCC:
+ project = new CBWinProject;
+ target = "win_cb";
+ break;
+ case OF_TARGET_WINVS:
+ project = new visualStudioProject;
+ target = "vs2010";
+ break;
+ case OF_TARGET_IPHONE:
+ project = new xcodeProject();
+ target = "ios";
+ break;
+ case OF_TARGET_ANDROID:
+ break;
+ case OF_TARGET_LINUX:
+ project = new CBLinuxProject;
+ target = "linux";
+ break;
+ case OF_TARGET_LINUX64:
+ project = new CBLinuxProject;
+ target = "linux64";
+ break;
+ }
+
+ project->setup(target);
+
+ return target;
+}
+
+
+
+
+
+
+//--------------------------------------------------------------
+void testApp::setup(){
+<<<<<<< HEAD
+ //ofSetLogLevel(OF_LOG_VERBOSE);
+ mode = 0;
+ bInited = false;
+ project = NULL;
+ sketchName = "mySketch";
+
+=======
+ ofSetLogLevel(OF_LOG_VERBOSE);
+ ofSetVerticalSync(true);
+
+
+ mode = 0;
+ bInited = false;
+ project = NULL;
+ sketchName = "mySketch";
+
+
+ //-------------------------------------
+ // get settings
+ //-------------------------------------
+
+ XML.loadFile("projectGeneratorSettings.xml");
+ appToRoot = XML.getValue("appToRoot", "../../../../");
+ defaultLoc = XML.getValue("defaultNewProjectLocation", "apps/myApps");
+ //-------------------------------------
+ // calculate the bin path (../../../ on osx) and the sketch path (bin -> root - > defaultLoc)
+ //-------------------------------------
+
+ // if appToRoot is wrong, we have alot of issues. all these paths are used in this project:
+
+#ifdef TARGET_OSX
+ string binPath = ofFilePath::getAbsolutePath(ofFilePath::join(ofFilePath::getCurrentWorkingDirectory(), "../../../"));
+#else
+ string binPath = ofFilePath::getCurrentExeDir();
+#endif
+
+ string ofRoot = ofFilePath::getAbsolutePath(ofFilePath::join(binPath, appToRoot));
+ setOFRoot(ofRoot);
+
+ addonsPath = ofFilePath::getAbsolutePath(ofFilePath::join(ofRoot,"addons"));
+ sketchPath = ofFilePath::getAbsolutePath(ofFilePath::join(ofRoot, defaultLoc));
+
+
+
+
+ //-------------------------------------
+ // get settings
+ //-------------------------------------
+
+
+ //-------------------------------------
+ // load font and setup the buttons
+ font.loadFont("frabk.ttf", 12, false, false);
+
+ // sketch button
+ button.font = &font;
+ button.prefix = "name: ";
+ button.setText(sketchName);
+ buttons.push_back(button);
+
+ // path button
+ button.deliminater = "/";
+ button.prefix = "path: ";
+ button.setText(sketchPath);
+ buttons.push_back(button);
+
+ button.deliminater = ", ";
+ button.prefix = "platforms: ";
+ button.bSelectable = false;
+ button.setText(platform);
+
+ button.topLeftAnchor.set(button.topLeftAnchor.x, button.topLeftAnchor.y + button.rect.height + 20);
+ buttons.push_back(button);
+
+
+ button.deliminater = ", ";
+ button.prefix = "addons: ";
+ button.bSelectable = true;
+ button.setText(addons);
+
+ button.topLeftAnchor.set(button.topLeftAnchor.x, button.topLeftAnchor.y + button.rect.height + 20);
+ buttons.push_back(button);
+
+ button.deliminater = ",";
+ button.prefix = "generate";
+ button.bSelectable = true;
+ button.setText("");
+ button.topLeftAnchor.set(50,ofGetHeight()-80);
+ buttons.push_back(button);
+
+ addonButton = button;
+ addonButton.prefix = "< back";
+ addonButton.setText("");
+
+ for (int i = 0; i < buttons.size(); i++){
+ buttons[i].calculateRect();
+ }
+
+ addonButton.calculateRect();
+
+ //-------------------------------------
+ // addons panels:
+ //-------------------------------------
+
+ panelCoreAddons.setup();
+ panelOtherAddons.setup();
+
+ ofDirectory addons(addonsPath);
+
+ addons.listDir();
+ for(int i=0;i<(int)addons.size();i++){
+ string addon = addons.getName(i);
+ cout << "adding addon " << addon << endl;
+ if(addon.find("ofx")==0){
+
+ if (isAddonCore(addon)){
+ ofxToggle * toggle = new ofxToggle();
+ panelCoreAddons.add(toggle->setup(addon,false,300));
+ } else {
+ ofxToggle * toggle = new ofxToggle();
+ panelOtherAddons.add(toggle->setup(addon,false,300));
+ }
+
+
+ }
+ }
+
+>>>>>>> 8dda11bacfb28917ce2b4b55bb94272ac29a2454
+ //-------------------------------------
+ // platform panel (not used, really, but here just in case)
+ //-------------------------------------
+
+ panelPlatforms.setup();
+ panelPlatforms.add(wincbToggle.setup("windows (codeblocks)",ofGetTargetPlatform()==OF_TARGET_WINGCC));
+ panelPlatforms.add(winvsToggle.setup("windows (visualStudio)", ofGetTargetPlatform()==OF_TARGET_WINVS));
+ panelPlatforms.add(linuxcbToggle.setup("linux (codeblocks)",ofGetTargetPlatform()==OF_TARGET_LINUX));
+ panelPlatforms.add(linux64cbToggle.setup("linux64 (codeblocks)",ofGetTargetPlatform()==OF_TARGET_LINUX64));
+ panelPlatforms.add(osxToggle.setup("osx (xcode)",ofGetTargetPlatform()==OF_TARGET_OSX));
+ panelPlatforms.add(iosToggle.setup("ios (xcode)",ofGetTargetPlatform()==OF_TARGET_IPHONE));
+
+<<<<<<< HEAD
+
+ //-------------------------------------
+ // load font and setup the buttons
+ if(!commandLine){
+ //-------------------------------------
+ // get settings
+ //-------------------------------------
+
+ XML.loadFile("projectGeneratorSettings.xml");
+ appToRoot = XML.getValue("appToRoot", "../../../../");
+ defaultLoc = XML.getValue("defaultNewProjectLocation", "apps/myApps");
+
+ //-------------------------------------
+ // calculate the bin path (../../../ on osx) and the sketch path (bin -> root - > defaultLoc)
+ //-------------------------------------
+
+ // if appToRoot is wrong, we have alot of issues. all these paths are used in this project:
+
+ #ifdef TARGET_OSX
+ string binPath = ofFilePath::getAbsolutePath(ofFilePath::join(ofFilePath::getCurrentWorkingDirectory(), "../../../"));
+ #else
+ string binPath = ofFilePath::getCurrentExeDir();
+ #endif
+
+ string ofRoot;
+
+ if(ofFilePath::getCurrentExeDir()=="/usr/bin/" || ofFilePath::getCurrentExeDir()=="/usr/local/bin/"){
+ ofRoot = getOFRoot();
+ }else{
+ ofRoot = ofFilePath::getAbsolutePath(ofFilePath::join(binPath, appToRoot));
+ setOFRoot(ofRoot);
+ }
+ addonsPath = ofFilePath::getAbsolutePath(ofFilePath::join(ofRoot,"addons"));
+ string sketchPath = ofFilePath::getAbsolutePath(ofFilePath::join(ofRoot, defaultLoc));
+
+ font.loadFont("frabk.ttf", 12, false, false);
+
+
+ // sketch button
+ button.font = &font;
+ button.prefix = "name: ";
+ button.setText(sketchName);
+ buttons.push_back(button);
+
+ // path button
+ button.deliminater = "/";
+ button.prefix = "path: ";
+ button.setText(sketchPath);
+ buttons.push_back(button);
+
+ button.deliminater = ", ";
+ button.prefix = "platforms: ";
+ button.bSelectable = false;
+ button.setText(platform);
+
+ button.topLeftAnchor.set(button.topLeftAnchor.x, button.topLeftAnchor.y + button.rect.height + 20);
+ buttons.push_back(button);
+
+
+ button.deliminater = ", ";
+ button.prefix = "addons: ";
+ button.bSelectable = true;
+ button.setText(addons);
+
+ button.topLeftAnchor.set(button.topLeftAnchor.x, button.topLeftAnchor.y + button.rect.height + 20);
+ buttons.push_back(button);
+
+ button.deliminater = ",";
+ button.prefix = "generate";
+ button.bSelectable = true;
+ button.setText("");
+ button.topLeftAnchor.set(50,ofGetHeight()-80);
+ buttons.push_back(button);
+
+ addonButton = button;
+ addonButton.prefix = "< back";
+ addonButton.setText("");
+
+ for (int i = 0; i < buttons.size(); i++){
+ buttons[i].calculateRect();
+ }
+
+ addonButton.calculateRect();
+
+
+ //-------------------------------------
+ // addons panels:
+ //-------------------------------------
+
+ panelCoreAddons.setup();
+ panelOtherAddons.setup();
+
+ ofDirectory addons(addonsPath);
+
+ addons.listDir();
+ for(int i=0;i<(int)addons.size();i++){
+ string addon = addons.getName(i);
+ cout << "adding addon " << addon << endl;
+ if(addon.find("ofx")==0){
+
+ if (isAddonCore(addon)){
+ ofxToggle * toggle = new ofxToggle();
+ panelCoreAddons.add(toggle->setup(addon,false,300));
+ } else {
+ ofxToggle * toggle = new ofxToggle();
+ panelOtherAddons.add(toggle->setup(addon,false,300));
+ }
+
+
+ }
+ }
+
+ // update the platforms text in the platform button
+ string platforms = "";
+ for (int i = 0; i < panelPlatforms.getNumControls(); i++){
+ if (*((ofxToggle *)panelPlatforms.getControl(i))){
+ if (platforms.length() > 0) platforms+=", ";
+ platforms += ((ofxToggle *)panelPlatforms.getControl(i))->getName();
+
+ };
+ }
+
+ buttons[2].setText(platforms);
+
+
+ panelPlatforms.setPosition(300,0);
+ panelCoreAddons.setPosition(300,0);
+ panelOtherAddons.setPosition(750,0);
+ ofSetVerticalSync(true);
+ }else{
+ string ofRoot = getOFRoot();
+ addonsPath = ofFilePath::getAbsolutePath(ofFilePath::join(ofRoot,"addons"));
+ generateProject();
+ std::exit(0);
+ }
+
+
+=======
+ // update the platforms text in the platform button
+ string platforms = "";
+ for (int i = 0; i < panelPlatforms.getNumControls(); i++){
+ if (*((ofxToggle *)panelPlatforms.getControl(i))){
+ if (platforms.length() > 0) platforms+=", ";
+ platforms += ((ofxToggle *)panelPlatforms.getControl(i))->getName();
+
+ };
+ }
+ buttons[2].setText(platforms);
+
+
+ panelPlatforms.setPosition(300,0);
+ panelCoreAddons.setPosition(300,0);
+ panelOtherAddons.setPosition(750,0);
+
+
+
+
+>>>>>>> 8dda11bacfb28917ce2b4b55bb94272ac29a2454
+}
+
+
+
+
+
+
+//--------------------------------------------------------------
+void testApp::update(){
+
+
+ //-------------------------------------
+ // if we are in addon mode check
+ //-------------------------------------
+
+ if (mode == MODE_ADDON) addonButton.checkMousePressed(ofPoint(mouseX, mouseY));
+
+
+ //-------------------------------------
+ // layout our normal buttons, check the mouse
+ //-------------------------------------
+
+ for (int i = 0; i < buttons.size(); i++){
+ buttons[i].calculateRect();
+ buttons[i].checkMousePressed(ofPoint(mouseX, mouseY));
+ }
+
+ for (int i = 0; i < buttons.size(); i++){
+ if (i == 0){
+ buttons[i].topLeftAnchor.set(200,80);
+ } else {
+ if (i != buttons.size()-1)
+ buttons[i].topLeftAnchor.set(buttons[i-1].topLeftAnchor.x, buttons[i-1].topLeftAnchor.y +buttons[i-1].rect.height + 20);
+ }
+ }
+
+
+ //-------------------------------------
+ // addons panels can be really long, so use the mouse pos to move them if we need to
+ //-------------------------------------
+
+ if (panelCoreAddons.getShape().height > ofGetHeight()){
+ float pct = ofMap(ofGetMouseY(), 0,ofGetHeight(), 0,1,true);
+ float diff = panelCoreAddons.getShape().height - ofGetHeight();
+ panelCoreAddons.setPosition(300,-diff * pct);
+ }
+
+ if (panelOtherAddons.getShape().height > ofGetHeight()){
+ float pct = ofMap(ofGetMouseY(), 0,ofGetHeight(), 0,1,true);
+ float diff = panelOtherAddons.getShape().height - ofGetHeight();
+ panelOtherAddons.setPosition(750,-diff * pct);
+ }
+
+}
+
+//--------------------------------------------------------------
+void testApp::draw(){
+
+
+ ofBackgroundGradient(ofColor(190,190,190), ofColor(130,130,130), OF_GRADIENT_LINEAR);
+
+ if (mode == 0){
+
+ for (int i = 0; i < buttons.size(); i++){
+ buttons[i].draw();
+ }
+
+ } else if (mode == 1){
+
+ panelCoreAddons.draw();
+ panelOtherAddons.draw();
+ } else if (mode == 2){
+ panelPlatforms.draw();
+ }
+ //cout << panelAddons.getShape().height << endl;
+
+
+ if (mode == 0){
+ ofFill();
+ ofSetColor(0,0,0);
+ ofRect(0,ofGetHeight(), ofGetWidth(), -25);
+ ofSetColor(255,255,255);
+ ofDrawBitmapString(status, 10,ofGetHeight()-8);
+
+ }
+ if (mode == 1){
+ addonButton.draw();
+ }
+}
+
+//--------------------------------------------------------------
+void testApp::keyPressed(int key){
+
+ if (key == ' '){
+
+ //printf("%s -------- \n", ResultBuffer);
+ //std::exit(0);
+ }
+
+
+}
+
+void testApp::generateProject(){
+
+ vector targetsToMake;
+ if( osxToggle ) targetsToMake.push_back(OF_TARGET_OSX);
+ if( iosToggle ) targetsToMake.push_back(OF_TARGET_IPHONE);
+ if( wincbToggle ) targetsToMake.push_back(OF_TARGET_WINGCC);
+ if( winvsToggle ) targetsToMake.push_back(OF_TARGET_WINVS);
+ if( linuxcbToggle ) targetsToMake.push_back(OF_TARGET_LINUX);
+ if( linux64cbToggle ) targetsToMake.push_back(OF_TARGET_LINUX64);
+
+ if( targetsToMake.size() == 0 ){
+ cout << "Error: makeNewProjectViaDialog - must specifiy a project to generate " <>>>>>> 8dda11bacfb28917ce2b4b55bb94272ac29a2454
+ for(int i = 0; i < (int)targetsToMake.size(); i++){
+ string target = setupForTarget(targetsToMake[i]);
+ if(project->create(path)){
+ vector addonsToggles = panelCoreAddons.getControlNames();
+ for (int i = 0; i < (int) addonsToggles.size(); i++){
+ ofxToggle toggle = panelCoreAddons.getToggle(addonsToggles[i]);
+ if(toggle){
+ ofAddon addon;
+ addon.pathToOF = getOFRelPath(path);
+ addon.fromFS(ofFilePath::join(addonsPath, addonsToggles[i]),target);
+ project->addAddon(addon);
+
+ }
+ }
+
+
+ addonsToggles = panelOtherAddons.getControlNames();
+ for (int i = 0; i < (int) addonsToggles.size(); i++){
+ ofxToggle toggle = panelOtherAddons.getToggle(addonsToggles[i]);
+ if(toggle){
+ ofAddon addon;
+ addon.pathToOF = getOFRelPath(path);
+ addon.fromFS(ofFilePath::join(addonsPath, addonsToggles[i]),target);
+ project->addAddon(addon);
+
+ }
+ }
+
+ project->save(true);
+ }
+ }
+<<<<<<< HEAD
+
+
+ cout << "project generated correctly in ";
+ if(!commandLine){
+ cout << buttons[1].myText + "/" + buttons[0].myText << endl;
+ status = "generated: " + buttons[1].myText + "/" + buttons[0].myText;
+ }else{
+ cout << projectPath << endl;
+ }
+=======
+
+
+ printf("done with project generation \n");
+ status = "generated: " + buttons[1].myText + "/" + buttons[0].myText;
+>>>>>>> 8dda11bacfb28917ce2b4b55bb94272ac29a2454
+
+ // go through the control panels, do stuff
+}
+
+//--------------------------------------------------------------
+void testApp::keyReleased(int key){
+
+
+
+}
+
+//--------------------------------------------------------------
+void testApp::mouseMoved(int x, int y ){
+
+}
+
+//--------------------------------------------------------------
+void testApp::mouseDragged(int x, int y, int button){
+
+}
+
+//--------------------------------------------------------------
+void testApp::mousePressed(int x, int y, int button){
+
+ if (mode == MODE_NORMAL){
+
+
+ // check the mouse for press
+
+ for (int i = 0; i < buttons.size(); i++){
+ buttons[i].checkMousePressed(ofPoint(x, y));
+ }
+
+ //-------------------------------------
+ // 4 = genearate
+ //-------------------------------------
+
+ if (buttons[4].bMouseOver == true){
+ generateProject();
+ }
+
+ //-------------------------------------
+ // 0 = sketch name
+ //-------------------------------------
+
+ if (buttons[0].bMouseOver == true){
+ string text = ofSystemTextBoxDialog("choose sketch name", buttons[0].myText);
+ fixStringCharacters(text);
+ status = "sketch name set to: " + text;
+ buttons[0].setText(text);
+ }
+
+ //-------------------------------------
+ // 1 = sketch path
+ //-------------------------------------
+
+ if (buttons[1].bMouseOver == true){
+
+ printf("here2? \n");
+
+ string command;
+
+
+ ofDirectory dir(ofFilePath::join(getOFRoot(),defaultLoc));
+
+ //cout << dir.getAbsolutePath() << endl;
+
+ if (!dir.exists()){
+ dir.create();
+ }
+
+#ifdef TARGET_OSX
+
+ printf("here? \n");
+
+ char * MessageBuffer = "please select sketch folder";
+ char * FileExtension = "";
+ char ResultBuffer[1024];
+ memset(ResultBuffer, 0,1024);
+
+ string defaultStr = ofFilePath::join(getOFRoot(),defaultLoc);
+ cout << defaultStr << endl;
+ if (__g2ShowOpenDialog((char *)defaultStr.c_str(), MessageBuffer, FileExtension, ResultBuffer, 1024)){
+
+ string res = string(ResultBuffer);
+ buttons[1].setText(res);
+ status = "sketch path set to: " + res;
+
+ }
+#else
+
+ ofFileDialogResult results = ofSystemLoadDialog("please select sketch folder",true,buttons[1].myText);
+ if(results.bSuccess){
+ buttons[1].setText(results.filePath);
+ status = "sketch path set to: " + results.filePath;
+ }
+
+#endif
+
+
+ }
+
+
+ //-------------------------------------
+ // 2 = platform (disabled)
+ //-------------------------------------
+
+
+ if (buttons[2].bMouseOver == true){
+ // platform is diabled for now
+ // mode = 2;
+ }
+
+ //-------------------------------------
+ // 3 = addon
+ //-------------------------------------
+
+ if (buttons[3].bMouseOver == true){
+ mode = MODE_ADDON;
+
+ }
+ }
+
+ //-------------------------------------
+ // handle addon mode
+ //-------------------------------------
+
+ if (mode == MODE_ADDON){
+
+ //-------------------------------------
+ // if we hit he back button, collect the addons for display
+ //-------------------------------------
+
+ if (addonButton.bMouseOver){
+
+ string addons = "";
+
+ for (int i = 0; i < panelCoreAddons.getNumControls(); i++){
+ if (*((ofxToggle *)panelCoreAddons.getControl(i))){
+ if (addons.length() > 0) addons+=", ";
+ addons += ((ofxToggle *)panelCoreAddons.getControl(i))->getName();
+
+ };
+
+ }
+ for (int i = 0; i < panelOtherAddons.getNumControls(); i++){
+ if (*((ofxToggle *)panelOtherAddons.getControl(i))){
+ if (addons.length() > 0) addons+=", ";
+ addons += ((ofxToggle *)panelOtherAddons.getControl(i))->getName();
+
+ };
+
+ }
+ buttons[3].setText(addons);
+
+ status = "addons set to: " + addons;
+
+ addonButton.bMouseOver = false;
+ mode = MODE_NORMAL;
+ }
+ }
+
+ if (mode == MODE_PLATFORM){
+
+ }
+}
+
+//--------------------------------------------------------------
+void testApp::mouseReleased(int x, int y, int button){
+
+}
+
+//--------------------------------------------------------------
+void testApp::windowResized(int w, int h){
+
+}
+
+//--------------------------------------------------------------
+void testApp::gotMessage(ofMessage msg){
+
+}
+
+//--------------------------------------------------------------
+void testApp::dragEvent(ofDragInfo dragInfo){
+
+}
diff --git a/src/testApp.h b/PGSimple/src/testApp.h
similarity index 100%
rename from src/testApp.h
rename to PGSimple/src/testApp.h
diff --git a/src/textButton.h b/PGSimple/src/textButton.h
similarity index 100%
rename from src/textButton.h
rename to PGSimple/src/textButton.h