-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
742fee3
commit 53edb27
Showing
10 changed files
with
262 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ofxGui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
import qbs | ||
import qbs.Process | ||
import qbs.File | ||
import qbs.FileInfo | ||
import qbs.TextFile | ||
import "%{JS: %{CorrectInitialOFPath}?'../../..':'%{OFPath}'}/libs/openFrameworksCompiled/project/qtcreator/ofApp.qbs" as ofApp | ||
|
||
Project{ | ||
property string of_root: %{JS: %{CorrectInitialOFPath}?'\'../../..\'':'\'%{OFPath}\''} | ||
|
||
ofApp { | ||
name: { return FileInfo.baseName(sourceDirectory) } | ||
|
||
files: [ | ||
'src/main.cpp', | ||
'src/ofApp.cpp', | ||
'src/ofApp.h', | ||
] | ||
|
||
of.addons: [ | ||
'ofxGui', | ||
] | ||
|
||
of.addons: [ | ||
%{JS: | ||
[].concat(%{ofx3DModelLoader} ? ['\'ofx3DModelLoader\''] : []) | ||
.concat(%{ofxAssimpModelLoader} ? ['\'ofxAssimpModelLoader\''] : []) | ||
.concat(%{ofxGui} ? ['\'ofxGui\''] : []) | ||
.concat(%{ofxKinect} ? ['\'ofxKinect\''] : []) | ||
.concat(%{ofxNetwork} ? ['\'ofxNetwork\''] : []) | ||
.concat(%{ofxOpenCv} ? ['\'ofxOpenCv\''] : []) | ||
.concat(%{ofxOsc} ? ['\'ofxOsc\''] : []) | ||
.concat(%{ofxSvg} ? ['\'ofxSvg\''] : []) | ||
.concat(%{ofxVectorGraphics} ? ['\'ofxVectorGraphics\''] : []) | ||
.concat(%{ofxXmlSettings} ? ['\'ofxXmlSettings\''] : []).toString() | ||
} | ||
] | ||
|
||
// additional flags for the project. the of module sets some | ||
// flags by default to add the core libraries, search paths... | ||
// this flags can be augmented through the following properties: | ||
of.pkgConfigs: [] // list of additional system pkgs to include | ||
of.includePaths: [] // include search paths | ||
of.cFlags: [] // flags passed to the c compiler | ||
of.cxxFlags: [] // flags passed to the c++ compiler | ||
of.linkerFlags: [] // flags passed to the linker | ||
of.defines: [] // defines are passed as -D to the compiler | ||
// and can be checked with #ifdef or #if in the code | ||
of.frameworks: [] // osx only, additional frameworks to link with the project | ||
of.staticLibraries: [] // static libraries | ||
of.dynamicLibraries: [] // dynamic libraries | ||
|
||
// other flags can be set through the cpp module: http://doc.qt.io/qbs/cpp-module.html | ||
// eg: this will enable ccache when compiling | ||
// | ||
// cpp.compilerWrapper: 'ccache' | ||
|
||
Depends{ | ||
name: "cpp" | ||
} | ||
|
||
// common rules that parse the include search paths, core libraries... | ||
Depends{ | ||
name: "of" | ||
} | ||
|
||
// dependency with the OF library | ||
Depends{ | ||
name: "openFrameworks" | ||
} | ||
} | ||
|
||
property bool makeOF: true // use makfiles to compile the OF library | ||
// will compile OF only once for all your projects | ||
// otherwise compiled per project with qbs | ||
|
||
|
||
property bool precompileOfMain: false // precompile ofMain.h | ||
// faster to recompile when including ofMain.h | ||
// but might use a lot of space per project | ||
|
||
references: [FileInfo.joinPaths(of_root, "/libs/openFrameworksCompiled/project/qtcreator/openFrameworks.qbs")] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
-O3 -march=native -mtune=native -DNDEBUG -Wall -Werror=return-type -std=c++14 -DGCC_HAS_REGEX -DOF_USING_GTK -DOF_USING_GTK -DOF_USING_MPG123 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/AL -I/usr/include/rtaudio -D_FORTIFY_SOURCE=2 -D__UNIX_JACK__ -D__LINUX_ALSA__ -D__LINUX_PULSE__ -I/usr/include/alsa -D_REENTRANT -I/usr/include/libdrm -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/fmodex/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/gtc -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/detail -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/simd -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/gtx -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/json/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/kiss/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/pugixml/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/tess2/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/utf8/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/utf8/include/utf8 -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/communication -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/math -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/3d -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/utils -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/sound -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/events -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/graphics -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/app -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/gl -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/types -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/video -I/home/sota/of_v0.10.0_linux64gcc6_release/apps/myApps/mandelbrot/src -Wl,-rpath=./libs:./bin/libs -Wl,--as-needed -Wl,--gc-sections -fuse-ld=gold -L/home/sota/of_v0.10.0_linux64gcc6_release/libs/fmodex/lib/linux64/ -lfmodex | ||
-O3 -march=native -mtune=native -DNDEBUG -Wall -Werror=return-type -std=c++14 -DGCC_HAS_REGEX -DOF_USING_GTK -DOF_USING_GTK -DOF_USING_MPG123 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/AL -I/usr/include/rtaudio -D_FORTIFY_SOURCE=2 -D__UNIX_JACK__ -D__LINUX_ALSA__ -D__LINUX_PULSE__ -I/usr/include/alsa -D_REENTRANT -I/usr/include/libdrm -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/fmodex/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/gtc -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/detail -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/simd -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/gtx -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/json/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/kiss/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/pugixml/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/tess2/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/utf8/include -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/utf8/include/utf8 -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/communication -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/math -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/3d -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/utils -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/sound -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/events -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/graphics -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/app -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/gl -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/types -I/home/sota/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/video -I/home/sota/of_v0.10.0_linux64gcc6_release/apps/myApps/julia/src -I/home/sota/of_v0.10.0_linux64gcc6_release/addons/ofxGui/src -Wl,-rpath=./libs:./bin/libs -Wl,--as-needed -Wl,--gc-sections -fuse-ld=gold -L/home/sota/of_v0.10.0_linux64gcc6_release/libs/fmodex/lib/linux64/ -lfmodex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters