Compiler flag for debug mode only?

It seems that compiler flags for debug/release mode only hasn’t been implemented yet.

  1. Is it scheduled?
  2. Is there a workaround (i’m concern by debug flags on linux).

Ok it doesn’t matter. Just wanted to add -fno-omit-frame-pointer for debug mode.
But after investigations, it seems not required.

+1, want to add Basic Runtime Checks to debug /RTC1

The best answer to this is, use CMake :wink:

I already considered Cmake. But this is not a simple task for me, because I have multiple projects and tools, some of them directly interact with the jucer files. Also I have to be 100% sure that there is no change in the resulting binaries, plug-ins, which need to be compatible to their hosts. This all needs to be carefully checked and considered.

So my big request is to add Additional Compiler Flags to the build configurations. Which would be great addition to the already complete feature set.

Bump, even if every projucer request ends with you getting a recommendation to switch to cmake (which seems to be a complete easy peasy task ;-), I would kindly ask, if we can get build configuration specific compiler flags in the good old projucer for VS. This is a little change which gives us a lot of flexibility. Thanks!

Same request from me. Googling for this quite simple feature results in answers going back several years:

  • Yes this is easy, I thought I added that (Jules)
  • It’s on the/a list (team)
  • Use CMake (the real pros here)

I know this will never be added, but I want to bump this anyway.

[Edit] I was wrong here, nice!

I didn‘t checked it yet, according to this commit, this feature was added here

2 Likes

Amazing, my Projucer build is from one day before that (28 Sept).

Super!

Thanks so much for this news and fix, @chkn and Team, that I completely missed.