Remove fmod.dll and fmodL.dll from compilation result

Hello,

I don’t use any sounds in my OF app.
I would like to remove fmod.dll and fmodL.dll from generated binaries because it takes place for nothing.

How can i avoid theses 2 files from being added while compiling my project ?
(i do not use any addons that needs them)

Thanks a lot

Eviral

I’ll have to double check on Windows but to avoid compiling OF with FMOD you would need to add
USE_FMOD=0 as a macro in the openFrameworksLib VS project settings.

Then you would need to modify this line to remove references to fmod:

And then remove the dlls from the libs/fmod/ folder as they get copied automatically if they exist.

Again this hasn’t been tested, but I think it should cover it.

2 Likes