vst VS project without CMAKE (preprocessor and maindll question)

SDK for VST 3 audio plug-in and host development.
Post Reply
Wanderer
Posts: 17
Joined: Sun Jun 24, 2018 2:24 pm

vst VS project without CMAKE (preprocessor and maindll question)

Post by Wanderer » Thu Feb 27, 2020 5:46 pm

I created project in VisualStudio where I set up VST without cmake. (for my personal needs) It is working, but I have question because it is not clear to me.

1. Preprocessor
Under preprocessor I have this:

Code: Select all

WIN32
NDEBUG
_WINDOWS
RELEASE=1
SMTG_RENAME_ASSERT=1
_UNICODE
CMAKE_INTDIR="Release"
PluginProject1_EXPORTS
Everything here is necessary or not, when I didn't use CMAKE?

2. Dllmain.cpp
I copy this file and add it in to my project. My old project created with CMAKE looks ok, but my new project without CMAKE intelisense select InitModule function as not declared.

Code: Select all

extern bool InitModule ();
Hovewer my new project without CMAKE is compiled, validated and it runs in Reaper without problem.

Post Reply