News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How to explicitly clear CodeBlocks' build instruction cache?

Started by DjogaRo, February 11, 2021, 03:46:37 PM

Previous topic - Next topic

DjogaRo

Hello there,

does anyone know, how to clear CB's build instruction cache explicitly?

I'm not new to programming, but new to getting that involved in the build process. I intend to make an application in CB that employs wxWidgets. For over a week I'm trying to configure the latter to be the way I want to use it and get CB to build it successfully.
Today I tried wxW 3.0.5 instead of 3.1.4. First I learned, that the older one defaults to gtk2, not 3, when I configure it with just --gtk. Then after reconfiguring with --gtk=3, I saw CB trying to use the gtk2-variant, which cannot be, since the wxW build is to be asked for compiler and linker parameters. ***************************************************. Sry, I'm in a bad place rigth now. I'd thought, I was getting dumber by the day - not being able to make sence of how my configurations of CB and wxW builds are (not) working together, while every now and then my collegues asked what's the hold-up.

I hope someone tells me, how to make sure, that CB reevaluates options like "`/mnt/int/data/micha/Documents/3rdParty/wxWidgets-3.0.5/buildgtk/wx-config --static --cflags`".

But for now, I need to fight the urge to destroy things.

Regards,
  Djoga'Ro

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

DjogaRo


BlueHazzard

We should introduce a script command to clear the cache....

oBFusCATed

Nope. We should clear the cache at the start of the build or switch to ninja...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]