News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

file paths, forward backward slashes

Started by tijsv, December 03, 2009, 01:08:07 PM

Previous topic - Next topic

tijsv

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

zabzonk

I agree. CB should use one style (forward slashes) throughout and convert on the fly where needed, which isn't very often.

oBFusCATed

+1

Have reported this problem long time ago, no one responded :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

Quote from: oBFusCATed on December 03, 2009, 04:36:57 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

Aaa, great :)
This problem doesn't bother me at the moment, I'm booting winboze only to play games :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]