Compile VST plugins without Wine

This commit is contained in:
Javier Serrano Polo
2016-04-24 18:52:43 +02:00
parent d31ad894ce
commit 4b8cf97af3
3 changed files with 7 additions and 1 deletions

View File

@@ -406,6 +406,9 @@ IF(WANT_VST)
IF(WINE_FOUND)
SET(LMMS_SUPPORT_VST TRUE)
SET(STATUS_VST "OK")
ELSEIF(WANT_VST_NOWINE)
SET(LMMS_SUPPORT_VST TRUE)
SET(STATUS_VST "OK")
ELSE(WINE_FOUND)
SET(STATUS_VST "not found, please install (lib)wine-dev (or similar) - 64 bit systems additionally need gcc-multilib and g++-multilib")
ENDIF(WINE_FOUND)

View File

@@ -24,6 +24,9 @@ IF(LMMS_BUILD_WIN32)
ENDIF(LMMS_BUILD_WIN64 AND NOT LMMS_BUILD_MSYS)
ENDIF(LMMS_BUILD_WIN32)
SET(REMOTE_VST_PLUGIN_FILEPATH "RemoteVstPlugin" CACHE STRING "Relative file path to RemoteVstPlugin")
ADD_DEFINITIONS(-DREMOTE_VST_PLUGIN_FILEPATH="${REMOTE_VST_PLUGIN_FILEPATH}")
IF(LMMS_BUILD_WIN32)
BUILD_PLUGIN(vstbase vst_base.cpp VstPlugin.cpp VstPlugin.h communication.h MOCFILES VstPlugin.h)
ELSE()

View File

@@ -99,7 +99,7 @@ VstPlugin::VstPlugin( const QString & _plugin ) :
{
setSplittedChannels( true );
tryLoad( "RemoteVstPlugin" );
tryLoad( REMOTE_VST_PLUGIN_FILEPATH );
#ifdef LMMS_BUILD_WIN64
if( m_badDllFormat )
{