Hi everybody,
I need advice on how to better use xrc files with C::B. I want to use wxrc to generate cpp files which I then include in my project.
Currently I add the xrc files to my project, activate the compilation in their properties and give them a custom compilation command line like this:
wxrc --extra-cpp-code --cpp-code --output=xrc_effect.cpp --function=InitXmlEffect $file
I added the resulting cpp files to my project and they are compiled normally.
Unfortunately this approach leads to two problems:
- The xrc files are always compiled
- Once the build runs, it doesn't detect that the resulting cpp files were updated and are therefore they are not compiled on the first run.
Any help appreciated...