I have a CodeBlocks project on Linux that uses Urho3D::File to try to load xml UI and Scene files from a (non-resource) relative path - if not found, it dumps a hardcoded copy in the working directory.
My project has a “Bin” folder, that acts as root. Working directory for both release and debug builds are set to that folder - it contains Data and CoreData and so on… so far, so good.
If I run the Release version of the app, I get my xml files dumped in the Bin folder - the working directory. All good.
But if I run the Debug version, I get my xml files dumped in the Project Root folder - not the working directory.
Whose fault is this? Is this a “feature” of CodeBlocks, or Urho? Seems like Urho is not at fault?