[FR] Custom target names for CLion/CMake projects

It’s kind of a pain to integrate a JUCE project into a larger CMake build environment, one of the lower hanging fruit would be a field in the CLion exporter to add custom target names. For example instead of a static library always having a target named STATIC_LIBRARY, field in the exporter that would allow us to set the target name to MY_JUCE_LIBRARY or whatever.

It just makes life a little easier when you have a bunch of targets.

Rather than patching the CLion exporter I think a better way to go would be a more comprehensive way of including individual JUCE modules into CMake. This is something we’re going to look at in the near future.

1 Like

Yes, please do that!