[Solved] CMake & VSTGUI_LIVE_EDITING

SDK 3.6.8
VS or XCode

I noticed the following in the CMakeLists.txt in the SDK root (line 114):

add_compile_options($<$CONFIG:Debug:-DVSTGUI_LIVE_EDITING=1>)

However, neither the resulting Visual Studio nor XCode projects have this preprocessor flag set. Any ideas on why and/or how to set this properly CMake?

Thanks,

  • Will

check the project properties of vstgui, you will see that VSTGUI_LIVE_EDITING is defined…

Got it - thanks.

I’m trying to enable it on a per-project basis for individual projects, not just the vstgui lib; not sure if I needed to create the vstgui target separately (my problem, not yours).

  • Will