I have the situation when cmake doesn’t see my changes in .h files. And app just running without any changes. I have to run “clean” before the each build. Not sure why this is happening. (My sources is basically only .h files without .cpp files. because I’m tired of duplicating the same method names in two files) p.s. this even happens if I use .cpp files. (I use CLion IDE)
So my question is if I can exclude somehow JUCE files from the cmake clean, so it will not generate each time the same mm.o files and just used the old one?
Project rebuild takes a long time and it becomes difficult to debug something in real time.
especially hard is building on these files:
[ 94%] Building CXX object CMakeFiles/APP.dir/Users/xxxx/Documents/GitHub/MyApp1/JuceLibraryCode/include_juce_gui_extra.mm.o
[ 97%] Building CXX object CMakeFiles/APP.dir/Users/xxxx/Documents/GitHub/MyApp1/JuceLibraryCode/include_juce_opengl.mm.o
Please help! I didn’t find this thread on the forum, but if I missed something or there is a setting in Projucer. Let me know.