User forums > Using Code::Blocks

reading files during debug

(1/1)

ogre722:
I noticed that (like visual studio) when debugging a project, files read by the program are looked up in the project folder, not the compiled executable's folder. Its a pain having to move resources when i want to use program outside of the debugger. Is there a way to change this?

oBFusCATed:
You can try to set Project -> Properties -> build targets -> execution dir

Navigation

[0] Message Index

Go to full version