NaCl is google's sdk for running c++ (with opengl ES 2 support if wanted) in chrome, I've been trying to find an IDE I can use to do this as google doesn't supply one, however google has it's own gnu C and libs etc for building for security reasons the code has to be compiled using these. I couldn't see where to add a custom compiler to c::b so I've come seeking some help and here's basically what I want to do to get this working, if it's possible, and any one can help me, I'd be thankful.
On c::b build:
1) Save the project (the cbp, maybe this is saved automagically when I hit build by default in c::b?)
2) From c::b, as a prebuild step, run an application I've built that generates a Makefile from the cbp of the code blocks project, that generates the make file for all the build targets ( NaCl, Android, or whatever target is genned for the makefile with the proper compiler and that ) - doing this because NaCl build is a bit complicated
3) Run make on the custom generated make file
Obviously I can use cbp as the IDE, when I generate the make file from the cbp, where I would save the project then run the make file generator and build thing manually. But I'd feel better if I can set up a build process using the IDE that kicks this off.
The big thing about this, is that when I've got a project with all of that working, I'll create a template file that I can create NaCl projects on from it.