Created
March 30, 2023 15:57
-
-
Save dimitre/278a61801aafd36267ff4f2ff224b8e4 to your computer and use it in GitHub Desktop.
OFW Chalet Project
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
{ | |
"name": "OF", | |
"version": "0.3.2", | |
"variables" : { | |
"path" : ".", | |
"addons" : "ofxMicroUI,ofxTools", //ofxPoco ofxAssimpModelLoader | |
"ofPath" : "/Volumes/tool/ofw" | |
}, | |
"externalDependencies": { | |
"OFLib" : { | |
"kind": "local", | |
"path" : "${var:ofPath}" | |
} | |
}, | |
"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": [ | |
"${var:ofPath}/libs/openFrameworks/*", | |
"${var:ofPath}/libs/openFrameworks" | |
], | |
"includeDirs[:macos]": [ | |
"${var:ofPath}/libs/glew/include", | |
"${var:ofPath}/libs/tess2/include", | |
"${var:ofPath}/libs/glm/include", | |
"${var:ofPath}/libs/utf8/include", | |
"${var:ofPath}/libs/glfw/include", | |
"${var:ofPath}/libs/pugixml/include", | |
"${var:ofPath}/libs/uriparser/include", | |
"${var:ofPath}/libs/fmod/include", | |
"${var:ofPath}/libs/cairo/include/cairo", | |
"${var:ofPath}/libs/FreeImage/include", | |
"${var:ofPath}/libs/curl/include", | |
"${var:ofPath}/libs/freetype/include/freetype2", | |
"${var:ofPath}/libs/json/include", | |
"${var:ofPath}/libs/rtAudio/include" | |
], | |
"libDirs[:macos]": "${var:ofPath}/libs/fmod/lib/osx", | |
"links[:macos]": "fmod", | |
"staticLinks[:macos]": [ | |
// "${var:ofPath}/libs/boost/lib/osx/boost_system.a", | |
// "${var:ofPath}/libs/boost/lib/osx/boost_filesystem.a", | |
"${var:ofPath}/libs/cairo/lib/osx/png.a", | |
"${var:ofPath}/libs/cairo/lib/osx/pixman-1.a", | |
// "${var:ofPath}/libs/cairo/lib/osx/cairo.a", | |
// "${var:ofPath}/libs/cairo/lib/osx/cairo-script-interpreter.a", | |
"${var:ofPath}/libs/curl/lib/osx/curl.a", | |
"${var:ofPath}/libs/FreeImage/lib/osx/freeimage.a", | |
"${var:ofPath}/libs/freetype/lib/osx/freetype.a", | |
"${var:ofPath}/libs/glew/lib/osx/glew.a", | |
"${var:ofPath}/libs/glfw/lib/osx/glfw3.a", | |
"${var:ofPath}/libs/pugixml/lib/osx/pugixml.a", | |
"${var:ofPath}/libs/rtAudio/lib/osx/rtaudio.a", | |
"${var:ofPath}/libs/tess2/lib/osx/tess2.a", | |
"${var:ofPath}/libs/uriparser/lib/osx/uriparser.a" | |
], | |
"macosFrameworks": [ | |
"Accelerate", | |
"AGL", | |
"ApplicationServices", | |
"AVFoundation", | |
"Cocoa", | |
"CoreAudio", | |
"CoreFoundation", | |
"CoreMedia", | |
"CoreServices", | |
"CoreVideo", | |
"IOKit", | |
"OpenGL", | |
"QuartzCore", | |
"Security" | |
] | |
} | |
}, | |
"targets": { | |
"room": { | |
"kind": "executable", | |
"settings:Cxx": { | |
"includeDirs": [ | |
"${var:path}/src/", | |
"${var:ofPath}/addons/{${var:addons}}/src/", | |
"${var:ofPath}/addons/{${var:addons}}/libs/**" | |
], | |
"staticLinks": [ | |
// "OFW" | |
"${var:ofPath}/OFLib/arm64-apple-darwin_Release/libOFW.a" | |
// , | |
// "${var:ofPath}/addons/ofxAssimpModelLoader/libs/assimp/lib/osx/assimp.a" | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libittnotify.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/liblibopenjp2.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/liblibprotobuf.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libopencv_core.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libopencv_features2d.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libopencv_imgproc.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libopencv_objdetect.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libzlib.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libopencv_video.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libopencv_calib3d.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libopencv_dnn.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libopencv_flann.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libopencv_ml.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libopencv_photo.a", | |
// "${var:ofPath}/addons/ofxOpenCv/libs/opencv/lib/osx/libquirc.a" | |
] | |
}, | |
"files": { | |
"include" : [ | |
"${var:path}/src/*.cpp", | |
"${var:ofPath}/addons/{${var:addons}}/src/**.cpp" | |
], | |
"exclude" : [ | |
".DS_Store", | |
".settings", | |
".vscode" | |
] | |
}, | |
"copyFilesOnRun[:macos]": "${var:path}/bin/data" | |
} | |
} | |
, | |
"distribution": { | |
"room": { | |
"kind": "bundle", | |
"buildTargets": "*", | |
"exclude": [ | |
"data/.gitkeep" | |
], | |
"macosBundle": { | |
"type": "app", | |
"icon": "${var:ofPath}/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 | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment