[Solved] CMake & VSTGUI_LIVE_EDITING

SDK for VST 3 audio plug-in and host development.
Post Reply
willpirkle
Posts: 67
Joined: Tue Jun 21, 2016 12:53 pm

[Solved] CMake & VSTGUI_LIVE_EDITING

Post by willpirkle »

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

User avatar
ygrabit
Posts: 172
Joined: Fri Jun 17, 2016 7:52 am
Location: Hamburg
Contact:

Re: CMake & VSTGUI_LIVE_EDITING

Post by ygrabit »

check the project properties of vstgui, you will see that VSTGUI_LIVE_EDITING is defined....
YVan Grabit

willpirkle
Posts: 67
Joined: Tue Jun 21, 2016 12:53 pm

Re: CMake & VSTGUI_LIVE_EDITING

Post by willpirkle »

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

Post Reply