Add the exports file for Windows VST
This commit is contained in:
parent
ac838e388b
commit
dd8b5d93a5
2 changed files with 7 additions and 0 deletions
|
|
@ -42,6 +42,9 @@ add_library(${VSTPLUGIN_PRJ_NAME} MODULE
|
||||||
SfizzVstState.cpp
|
SfizzVstState.cpp
|
||||||
GUIComponents.cpp
|
GUIComponents.cpp
|
||||||
VstPluginFactory.cpp)
|
VstPluginFactory.cpp)
|
||||||
|
if(WIN32)
|
||||||
|
target_sources(${VSTPLUGIN_PRJ_NAME} PRIVATE vst3.def)
|
||||||
|
endif()
|
||||||
target_link_libraries(${VSTPLUGIN_PRJ_NAME}
|
target_link_libraries(${VSTPLUGIN_PRJ_NAME}
|
||||||
PRIVATE ${PROJECT_NAME}::${PROJECT_NAME})
|
PRIVATE ${PROJECT_NAME}::${PROJECT_NAME})
|
||||||
target_include_directories(${VSTPLUGIN_PRJ_NAME}
|
target_include_directories(${VSTPLUGIN_PRJ_NAME}
|
||||||
|
|
|
||||||
4
vst/vst3.def
Normal file
4
vst/vst3.def
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
EXPORTS
|
||||||
|
GetPluginFactory
|
||||||
|
InitDll
|
||||||
|
ExitDll
|
||||||
Loading…
Add table
Reference in a new issue