I want to run clang-tidy without having to build. Everything should be there from the CMake configuration step except JuceHeader.h is generated during the build step.
Any tips how to generate it without having to start the build process and cancel it in some hacky way once the header has been generated?
To answer your question directly, I don’t know, when @reuk is in he may have some other suggestions.
How difficult would it be to include the module headers and not generate the JUCE header at all?
You could add a custom target that only depends on your custom header (or headers):
Then, building this target will just generate all of the specified headers.
That’s an idea, thanks. I’ll give it a go.
That works nicely. Thanks again.