... Is there a way to add system paths in codeblocks? ...
actually no :-(
but i had a similar need and "solved" it by the following workaround :
create a cmd-script and set your needed path(es) there to your PATH environment variable,
i use scripts something like the following
@if "%ENVMYXYZAPP%" == "" (
set ENVMYXYZAPP=SET
echo Setting my environment for xyz app ...
set PATH=D:\my\path\for\xyz\app;%PATH%
start D:\programme\codeblocks\codeblocks.exe d:\devel\xyz\xyz.cbp
)
which works with Windows XP well,
you can look at the attached project, which i used in former times
for testing the debugger, but it uses two dll's in separate subdirectories,
there is one start_cb_???.cmd to start the ide with the workspace,
and one start_???.cmd to test the executable without ide.
look at that files and you'll get the idea
[attachment deleted by admin]