projectGenerator icon indicating copy to clipboard operation
projectGenerator copied to clipboard

Template: OSX Application with no FMOD linking broken

Open NickHardeman opened this issue 3 years ago • 0 comments

The generated Project.xcconfig file sets OF_CORE_LIBS without FMOD. However, FMOD is still referenced from OF, like _FMOD_SYSTEM_CLOSE In the past, I have set something like OF_NO_FMOD and avoided all of the fmod calls if it is set.

In the Run Script Build Phase FMOD is being copied over rsync -aved "$OF_PATH/libs/fmod/lib/osx/libfmod.dylib" "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/";

Could be an opportunity to integrate something like OF_NO_SOUND or the like. This could also be referenced in the Build phase to avoid unnecessarily copying over FMOD.

NickHardeman avatar Feb 23 '21 18:02 NickHardeman