Our develop server use Environmental Modules (http://modules.sourceforge.net/) which requires loading necessary modules before compiling and running applications.
It has been done by command ‘module load xxx’. Where I can put that command to execute before compile, and GDB run?
Usually the full custom project is used to execute sequences of commands for building and debugging. With the upcoming version of VisualGDB, there will also be a possibility of extending Linux projects with custom command sequences pre and post build/debug commands.