I’m trying something different to have a faster compilation and linking here.
Sometimes I’m only working with graphics, without need of sound, video or communication.
so I’ve decided to edit config.osx.default.mk to avoid compiling and linking some parts of OFW.
I’ve added those lines to PLATFORM_CORE_EXCLUSIONS section
PLATFORM_CORE_EXCLUSIONS += $(OF_LIBS_PATH)/fmodex/%
PLATFORM_CORE_EXCLUSIONS += $(OF_LIBS_PATH)/rtAudio/%
PLATFORM_CORE_EXCLUSIONS += $(OF_LIBS_PATH)/openFrameworks/video/%
PLATFORM_CORE_EXCLUSIONS += $(OF_LIBS_PATH)/openFrameworks/sound/%
PLATFORM_CORE_EXCLUSIONS += $(OF_LIBS_PATH)/openFrameworks/communication/%
PLATFORM_CORE_EXCLUSIONS += $(OF_LIBS_PATH)/openFrameworks/3d/%
and commented out some frameworks too
PLATFORM_FRAMEWORKS =
PLATFORM_FRAMEWORKS += Accelerate
# PLATFORM_FRAMEWORKS += QTKit
# PLATFORM_FRAMEWORKS += AGL
# PLATFORM_FRAMEWORKS += ApplicationServices
# PLATFORM_FRAMEWORKS += AudioToolbox
# PLATFORM_FRAMEWORKS += CoreAudio
PLATFORM_FRAMEWORKS += CoreFoundation
# PLATFORM_FRAMEWORKS += CoreServices
PLATFORM_FRAMEWORKS += OpenGL
PLATFORM_FRAMEWORKS += IOKit
PLATFORM_FRAMEWORKS += Cocoa
PLATFORM_FRAMEWORKS += CoreVideo
PLATFORM_FRAMEWORKS += AVFoundation
PLATFORM_FRAMEWORKS += CoreMedia
# PLATFORM_FRAMEWORKS += QuartzCore
PLATFORM_FRAMEWORKS += Security
and everything is a little bit faster here using Make.
It works without changing any source code of OpenFrameworks.
It would be great to be able to build without even more parts like cairo or Freeimage, FreeType