Skip to content

Commit

Permalink
fixes for backwards compatability of addons for xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
ofTheo committed Feb 2, 2010
1 parent 3432d20 commit ea7bb42
Show file tree
Hide file tree
Showing 36 changed files with 173 additions and 21 deletions.
47 changes: 47 additions & 0 deletions addons/ofAddons.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
//#warning ______________________________________________________________________________
//#warning !!! ofAddons.h is deprecated - from OF 007 and on this file will NOT EXIST !!!
//#warning To see the new usage for using addons in OF please see www.openframeworks.cc/006-Important-Notes
//#warning ______________________________________________________________________________

// these #define are kept around to make sure that old code doesn't break, but from 0.07 we will be using a non #define system for addons.
// see: http://www.openframeworks.cc/006-Important-Notes

//-------------------------------------------- openCV
#ifdef OF_ADDON_USING_OFXOPENCV
#include "ofxCvMain.h"
#endif

//-------------------------------------------- dir list
#ifdef OF_ADDON_USING_OFXDIRLIST
#include "ofxDirList.h"
#endif

//-------------------------------------------- vector math
#ifdef OF_ADDON_USING_OFXVECTORMATH
#include "ofxVectorMath.h"
#endif

//-------------------------------------------- network
#ifdef OF_ADDON_USING_OFXNETWORK
#include "ofxNetwork.h"
#endif

//-------------------------------------------- vector graphics
#ifdef OF_ADDON_USING_OFXVECTORGRAPHICS
#include "ofxVectorGraphics.h"
#endif

//-------------------------------------------- OSC
#ifdef OF_ADDON_USING_OFXOSC
#include "ofxOsc.h"
#endif

//-------------------------------------------- ofthread
#ifdef OF_ADDON_USING_OFXTHREAD
#include "ofxThread.h"
#endif

//-------------------------------------------- ofXML
#ifdef OF_ADDON_USING_OFXXMLSETTINGS
#include "ofxXmlSettings.h"
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -706,6 +707,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -742,6 +744,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -1214,6 +1215,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -1250,6 +1252,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -681,6 +682,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -717,6 +719,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -725,6 +726,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -761,6 +763,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -725,6 +726,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -761,6 +763,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -725,6 +726,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -761,6 +763,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -725,6 +726,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -761,6 +763,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -793,6 +794,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -829,6 +831,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -796,6 +797,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -832,6 +834,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -796,6 +797,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -832,6 +834,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -683,6 +684,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -719,6 +721,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -696,6 +697,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -732,6 +734,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -707,6 +708,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -743,6 +745,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -704,6 +705,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down Expand Up @@ -740,6 +742,7 @@
../../../libs/freetype/include/,
../../../libs/freetype/include/freetype2,
../../../libs/poco/include,
../../../addons/,
);
OTHER_CPLUSPLUSFLAGS = (
"-D__MACOSX_CORE__",
Expand Down
Loading

0 comments on commit ea7bb42

Please sign in to comment.