Skip to content

Commit

Permalink
premake: Fix the VST2 boilerplate cpp-files inside the VST3 SDK
Browse files Browse the repository at this point in the history
VST2 boileplate cpp-files inside the VST3 SDK had an incorrect path,
which went silent from the build system.  Enumerate the needed
boilerplate cpp-files explicitly so that the build system will always
give us an error if any of the files are missing.

However, comment the files out because compiling vst2wrapper.cpp will
result the following compiler error (Linux/GCC):

vst3sdk/public.sdk/source/vst/basewrapper/basewrapper.cpp: In member function ‘virtual bool Steinberg::Vst::BaseEditorWrapper::_open(void*)’:
vst3sdk/public.sdk/source/vst/basewrapper/basewrapper.cpp:197:32: error: ‘type’ was not declared in this scope
   return mView->attached (ptr, type) == kResultTrue;

Signed-off-by: Jarkko Sakkinen <[email protected]>
  • Loading branch information
jarkkojs committed Dec 19, 2018
1 parent 45c5f8a commit 7a68ab7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ if VST24SDK then
VST24SDK .. "/public.sdk/source/vst2.x/audioeffect.cpp",
VST24SDK .. "/public.sdk/source/vst2.x/audioeffectx.cpp",
VST24SDK .. "/public.sdk/source/vst2.x/vstplugmain.cpp",
"vst3sdk/public.sdk/source/vst2.x/**.cpp",
-- "vst3sdk/public.sdk/source/vst/vst2wrapper/vst2wrapper.cpp",
-- "vst3sdk/public.sdk/source/vst/vst2wrapper/vst2wrapper.sdk.cpp",
VSTGUI .. "plugin-bindings/aeffguieditor.cpp",
}

Expand Down

0 comments on commit 7a68ab7

Please sign in to comment.