Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: tijsv on December 03, 2009, 01:08:07 pm

Title: file paths, forward backward slashes
Post by: tijsv on December 03, 2009, 01:08:07 pm
Hello,

Is there a way to force a single path style in Code::Blocks projects?

I am using Code::Blocks both on Windows and linux.
When editing and saving a project file on Windows, all file paths will be converted to windows style, with backward slashes.
When editing and saving the same project file on linux, all file paths will be converted to unix style, with forward slashes.

This conversion is performed correctly, since I can always open the project file on both systems.
However, all paths will be changed even when only a small actual change has been made to the project.
This is annoying in combination with subversion.

Kind Regards,
Tijs
Title: Re: file paths, forward backward slashes
Post by: zabzonk on December 03, 2009, 02:06:31 pm
I agree. CB should use one style (forward slashes) throughout and convert on the fly where needed, which isn't very often.
Title: Re: file paths, forward backward slashes
Post by: oBFusCATed on December 03, 2009, 04:36:57 pm
+1

Have reported this problem long time ago, no one responded :(
Title: Re: file paths, forward backward slashes
Post by: MortenMacFly on December 03, 2009, 04:38:38 pm
Have reported this problem long time ago, no one responded :(
Not really responded but I have a pending patch that takes care of that already. Be patient.
Title: Re: file paths, forward backward slashes
Post by: oBFusCATed on December 03, 2009, 11:15:07 pm
Aaa, great :)
This problem doesn't bother me at the moment, I'm booting winboze only to play games :)