Skip to content

Instantly share code, notes, and snippets.

@mitmul
Last active December 10, 2015 07:08
Show Gist options
  • Save mitmul/4399485 to your computer and use it in GitHub Desktop.
Save mitmul/4399485 to your computer and use it in GitHub Desktop.
TEMPLATE = app
CONFIG += console
CONFIG -= qt
CONFIG -= x86_64
CONFIG += x86
QMAKE_CXXFLAGS_WARN_ON += "-Wno-unused-parameter"
unix:*-g++*: QMAKE_CXXFLAGS += -fpermissive
SOURCES += main.cpp \
testapp.cpp \
Swarm.cpp \
OrthoCamera.cpp \
Grid.cpp
HEADERS += \
testapp.h \
Swarm.h \
OrthoCamera.h \
Grid.h
INCLUDEPATH += /opt/local/of_libs/openFrameworks \
/opt/local/of_libs/openFrameworks/3d \
/opt/local/of_libs/openFrameworks/app \
/opt/local/of_libs/openFrameworks/communication \
/opt/local/of_libs/openFrameworks/events \
/opt/local/of_libs/openFrameworks/gl \
/opt/local/of_libs/openFrameworks/graphics \
/opt/local/of_libs/openFrameworks/math \
/opt/local/of_libs/openFrameworks/sound \
/opt/local/of_libs/openFrameworks/types \
/opt/local/of_libs/openFrameworks/utils \
/opt/local/of_libs/openFrameworks/video \
/opt/local/of_libs/glew/include \
/opt/local/of_libs/glut/include \
/opt/local/of_libs/cairo/include/cairo \
/opt/local/of_libs/tess2/include \
/opt/local/of_libs/poco/include \
/opt/local/of_libs/fmodex/include
LIBS += -framework Accelerate \
-framework AppKit \
-framework Cocoa \
-framework IOKit \
-framework QTKit \
-framework CoreVideo \
-framework AGL \
-framework ApplicationServices \
-framework AudioToolbox \
-framework Carbon \
-framework CoreAudio \
-framework CoreFoundation \
-framework CoreServices \
-framework OpenGL \
-framework QuickTime
LIBS += /opt/local/of_libs/openFrameworksCompiled/lib/osx/openFrameworks.a
LIBS += /opt/local/of_libs/glew/lib/osx/glew.a
LIBS += /opt/local/of_libs/tess2/lib/osx/tess2.a
LIBS += /opt/local/of_libs/poco/lib/osx/PocoCrypto.a
LIBS += /opt/local/of_libs/poco/lib/osx/PocoData.a
LIBS += /opt/local/of_libs/poco/lib/osx/PocoDataODBC.a
LIBS += /opt/local/of_libs/poco/lib/osx/PocoDataSQLite.a
LIBS += /opt/local/of_libs/poco/lib/osx/PocoFoundation.a
LIBS += /opt/local/of_libs/poco/lib/osx/PocoNet.a
LIBS += /opt/local/of_libs/poco/lib/osx/PocoNetSSL.a
LIBS += /opt/local/of_libs/poco/lib/osx/PocoUtil.a
LIBS += /opt/local/of_libs/poco/lib/osx/PocoXML.a
LIBS += /opt/local/of_libs/poco/lib/osx/PocoZip.a
LIBS += /opt/local/of_libs/cairo/lib/osx/cairo-script-interpreter.a
LIBS += /opt/local/of_libs/cairo/lib/osx/cairo.a
LIBS += /opt/local/of_libs/cairo/lib/osx/pixman-1.a
LIBS += /opt/local/of_libs/fmodex/lib/osx/libfmodex.dylib
QMAKE_LFLAGS += -F/opt/local/of_libs/glut/lib/osx/
LIBS += -framework GLUT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment