Last active
March 30, 2023 15:56
-
-
Save dimitre/d6cedc75a51e8cf4bcd564f862e978b7 to your computer and use it in GitHub Desktop.
OFLib Chalet
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": "OFLib", | |
"version": "0.2.0", | |
"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": { | |
"OFW": { | |
"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,ofGstVideoPlayer,ofGstUtils}.cpp" | |
] | |
} | |
}, | |
"download-libs": { | |
"kind": "script", | |
"condition": "[:runTarget]", | |
"file[:macos]": "scripts/osx/download_libs.sh" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment