Created
March 25, 2023 15:46
-
-
Save dimitre/5395276a925952327d8a194bb2d66645 to your computer and use it in GitHub Desktop.
Chalet OF addons
This file contains hidden or 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
| { | |
| "name": "open-frameworks", | |
| "version": "1.0.0", | |
| "variables" : { | |
| "name" : "3dRoom2023", | |
| "path" : "apps/WerkApps/3dRoom2023", | |
| "addons" : "ofxMicroUI,ofxTools,ofxSyphon,ofxNetwork,ofxAssimpModelLoader" | |
| }, | |
| "abstracts:*": { | |
| "language": "C++", | |
| "language[toolchain:apple-llvm]": "Objective-C++", | |
| "settings:Cxx": { | |
| "cppStandard": "c++17", | |
| "warningsPreset": "minimal", | |
| "runtimeTypeInformation": true, | |
| "threads": true, | |
| "exceptions": true, | |
| "defines[:debug]": [ | |
| "DEBUG" | |
| ], | |
| "compileOptions[toolchain:apple-llvm]": [ | |
| "-fpascal-strings", | |
| "-fobjc-arc" | |
| ], | |
| "includeDirs": [ | |
| "libs/openFrameworks/*", | |
| "libs/openFrameworks" | |
| ], | |
| "includeDirs[:macos]": [ | |
| "libs/glew/include", | |
| "libs/tess2/include", | |
| "libs/glm/include", | |
| "libs/utf8/include", | |
| "libs/glfw/include", | |
| "libs/pugixml/include", | |
| "libs/uriparser/include", | |
| "libs/fmod/include", | |
| "libs/cairo/include/cairo", | |
| "libs/FreeImage/include", | |
| "libs/curl/include", | |
| "libs/freetype/include/freetype2", | |
| "libs/json/include", | |
| "libs/rtAudio/include" | |
| ], | |
| "libDirs[:macos]": "libs/fmod/lib/osx", | |
| "links[:macos]": "fmod", | |
| "staticLinks[:macos]": [ | |
| "libs/boost/lib/osx/boost_system.a", | |
| "libs/boost/lib/osx/boost_filesystem.a", | |
| "libs/cairo/lib/osx/png.a", | |
| "libs/cairo/lib/osx/pixman-1.a", | |
| "libs/cairo/lib/osx/cairo.a", | |
| "libs/cairo/lib/osx/cairo-script-interpreter.a", | |
| "libs/curl/lib/osx/curl.a", | |
| "libs/FreeImage/lib/osx/freeimage.a", | |
| "libs/freetype/lib/osx/freetype.a", | |
| "libs/glew/lib/osx/glew.a", | |
| "libs/glfw/lib/osx/glfw3.a", | |
| "libs/pugixml/lib/osx/pugixml.a", | |
| "libs/rtAudio/lib/osx/rtaudio.a", | |
| "libs/tess2/lib/osx/tess2.a", | |
| "libs/uriparser/lib/osx/uriparser.a" | |
| ], | |
| "macosFrameworks": [ | |
| "Accelerate", | |
| "AGL", | |
| "ApplicationServices", | |
| "AVFoundation", | |
| "Cocoa", | |
| "CoreAudio", | |
| "CoreFoundation", | |
| "CoreMedia", | |
| "CoreServices", | |
| "CoreVideo", | |
| "IOKit", | |
| "OpenGL", | |
| "QuartzCore", | |
| "Security" | |
| ] | |
| } | |
| }, | |
| "targets": { | |
| "open-frameworks": { | |
| "kind": "staticLibrary", | |
| "files": { | |
| "include": [ | |
| "libs/openFrameworks/{3d,communication,events,gl,graphics,math,sound,types,utils,video}/*.cpp", | |
| "libs/openFrameworks/app/{ofBaseApp,ofMainLoop,ofAppRunner,ofAppGLFWWindow}.cpp" | |
| ], | |
| "include[toolchain:apple-llvm]": "libs/openFrameworks/**.{mm,m}", | |
| "exclude[:macos]": [ | |
| "libs/openFrameworks/video/ofDirectShowPlayer.cpp", | |
| "libs/openFrameworks/video/ofGstVideoGrabber.cpp", | |
| "libs/openFrameworks/video/ofGstVideoPlayer.cpp", | |
| "libs/openFrameworks/video/ofGstUtils.cpp" | |
| ] | |
| } | |
| }, | |
| "ofApp": { | |
| "kind": "executable", | |
| "settings:Cxx": { | |
| "includeDirs": [ | |
| "${var:path}/src", | |
| "addons/{${var:path}}/src", | |
| "addons/{${var:addons}}/src", | |
| "addons/{${var:addons}}/libs" | |
| ], | |
| "staticLinks": [ | |
| "open-frameworks", | |
| "addons/ofxAssimpModelLoader/libs/assimp/lib/osx/assimp.a" | |
| ] | |
| }, | |
| "files": { | |
| "include" : [ | |
| "${var:path}/src/*.cpp", | |
| "addons/{${var:addons}}/src/**.cpp" | |
| ], | |
| "exclude" : [ | |
| ".DS_Store" | |
| ] | |
| }, | |
| "copyFilesOnRun[:macos]": "${var:path}/bin/data" | |
| }, | |
| "download-libs": { | |
| "kind": "script", | |
| "condition": "[:runTarget]", | |
| "file[:macos]": "scripts/osx/download_libs.sh" | |
| } | |
| }, | |
| "distribution": { | |
| "ofApp": { | |
| "kind": "bundle", | |
| "buildTargets": "*", | |
| "exclude": [ | |
| "data/.gitkeep" | |
| ], | |
| "macosBundle": { | |
| "type": "app", | |
| "icon": "libs/openFrameworksCompiled/project/osx/of.icns", | |
| "infoPropertyList": { | |
| "CFBundleDevelopmentRegion": "en-US", | |
| "CFBundleDisplayName": "${name}", | |
| "CFBundleExecutable": "${mainExecutable}", | |
| "CFBundleIconFile": "${icon}", | |
| "CFBundleIdentifier": "com.developer.application", | |
| "CFBundleInfoDictionaryVersion": "6.0", | |
| "CFBundleName": "${bundleName}", | |
| "CFBundlePackageType": "APPL", | |
| "CFBundleShortVersionString": "1.0.0", | |
| "CFBundleVersion": "1.0.0", | |
| "CFBundleSignature": "????", | |
| "LSMinimumSystemVersion": "10.8", | |
| "NSHighResolutionCapable": true | |
| } | |
| } | |
| }, | |
| "ofApp.dmg": { | |
| "kind": "macosDiskImage", | |
| "pathbarVisible": false, | |
| "textSize": 12, | |
| "iconSize": 80, | |
| "size": { | |
| "width": 512, | |
| "height": 342 | |
| }, | |
| "positions": { | |
| "ofApp": { | |
| "x": 120, | |
| "y": 188 | |
| }, | |
| "Applications": { | |
| "x": 392, | |
| "y": 188 | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment