-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
Meant for some users only. This was planned other times before and I'm proposing something simple.
Motivation: we can reduce compiling time when not using the entire project. A smaller binary can be a faster submission to app store too.
related discussion:
https://forum.openframeworks.cc/t/bundling-osx-app-without-glut-and-without-fmodex-nasty/23503/4
my first suggestion is we can use a variable in Project.xcconfig to have fmod enabled as default, like:
OF_USE_LIB_FMOD = YES
So I can edit the second build phases script and put an if inside (already tested)
if [ "$OF_USE_LIB_FMOD" == "YES" ] ; then
echo "\033[32;1;4mUsing libfmod\033[0m"
rsync -aved "$OF_PATH/libs/fmod/lib/osx/libfmod.dylib" "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/";
else
echo "\033[31;1;4mNot using libfmod\033[0m"
fithis way we can stop including certain libraries if desired
related ideas:
roymacdonald
Metadata
Metadata
Assignees
Labels
No labels