I am newbie to CMake and I am trying to switch my project from Projucer to CMake.
I set up my CMakeLists.txt file and everything works fine with the standard cmake commands from my terminal. However, I would like to use my CLion IDE to build release and debug versions of my plugin, but every time I try to run my debug or release build, it fails because of missing executable. Could I build my (release) project without adding an ‘executable’?
Up to now the two debug and release builds differ for the -DCMAKE_BUILD_TYPE option. Is this difference the same between the Projucer Release and Debug builds? And how could I debug my plugin in CLion by adding breakpoints?
Up to now I tried to add an executable to my debug build (Ableton Live in my case) and a breakpoint to a line of code. However every time I click on the debug button, Ableton opens up but on my breakpoint I read this:
The breakpoint will not currently be hit. No executable code is associated with this line.
Thank you for your helps