I'm new to CodeBlocks, pretty impressed so far but I'm having a couple of issues:
I have a project using a custom makefile (and a custom compiler).
I have my project compiliing successfully, though I have to uncheck the "build this target with All" option.
The first problem I have is that the clean make command is hardcoded.. The arguments our makefile takes to build our project are in the format:
"make platform target"
So if I make a CodeBlocks target called "A B" where A is the platform (PC, etc) and B is the target (Debug, Release, Final). Building the project works fine (so long as I uncheck the "build this target with All" option in the build options), but when I try and clean the project it automatically calls:
"make clean_A"
Which doesn't exist so it fails. What I want is for it to call "make A clean", how do I define this ? I cannot change the makefile (as it would effect other people in my group, who don't use CodeBlocks and rely on the format as it is)
The second problem I have is debugging the app. My makefile spits out a custom binary (.xyz) I define this file as the "output file" in properties->target. Regardless of what I define as the debugger executable in the compiler options (I have both a version of gbd that works with these binary files, and a custom windows GUI debugger) I get a "debugger executable is not set" error.
Any ideas how to fix this ?
Thanks all