我如何在Mac上构建VST插件而不使用Xcode?(我正在使用Code :: Blocks)。
INCLUDES = \
-IVSTGL \
-I../vstsdk2.4/ \
-I../vstsdk2.4/public.sdk/source/vst2.x/
LIBS = \
-framework OpenGL \
-framework GLUT \
-framework AGL \
-framework Carbon \
-framework CoreServices
SOURCES = \
VstPlugin.cpp \
ExampleEditor.cpp \
VSTGL/VSTGLEditor.cpp \
VSTGL/VSTGLTimer.cpp \
../vstsdk2.4/public.sdk/source/vst2.x/audioeffect.cpp \
../vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.cpp \
../vstsdk2.4/public.sdk/source/vst2.x/vstplugmain.cpp
all:
g++ -arch i386 $(INCLUDES) -bundle -o VSTGL.vst/Contents/MacOS/VSTGL $(SOURCES)