New Compiler Flag Scheme setting

What am I missing about this?

I’ve tried setting some flags on individual files, but they don’t show up in XCode afaict.

I thought that they would show in the Compiler Flags column, but that is always empty, perhaps I should be looking somewhere else?

I’m using 5.4.3 Projucer

Have you actually defined what flags should be used for the scheme in the Xcode exporter?

Here are the steps:

  1. Create a new scheme and give it a name:

  2. Assign that scheme to a file:

  3. Define the compiler-specific flags for the scheme in the exporters:

  4. Re-save the project

2 Likes

Right, had missed that part completely! Thanks.

Is anyone using this feature? Can anyone confirm if it is broken in Juce 7.0.4? I had it working with Juce 6.1.6, but it doesn’t appear to be working in Juce 7.0.4. I’ll create an issue, but wanted a sanity check first.

Yes, it was broken in 7.0.4, but has since been fixed in 7.0.5 (iiuc) : Projucer: Fix file-specific compiler flags · juce-framework/JUCE@709c0f7 · GitHub

Ah, very cool, thank you. I didn’t see it in the release notes, but I didn’t crawl through the repo. Appreciated!