Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: nocide on April 09, 2010, 07:47:58 pm

Title: sync codeblocks.cbp <-> codeblocks-unix.cbp
Post by: nocide on April 09, 2010, 07:47:58 pm
I've added a new file to the codeblocdks-unix project.
So how can I synchronize the corresponding win32 project file? manually?

Title: Re: sync codeblocks.cbp <-> codeblocks-unix.cbp
Post by: MortenMacFly on April 09, 2010, 08:39:23 pm
So how can I synchronize the corresponding win32 project file? manually?
What's wrong with opening the windows project file and doing the same operation?
Alternatively keep in mind that you could also (instead of projects) use two different (platform-depended) targets in a project. This way adding a file to the projects allows you to add it to the targets (where needed) appropriately.
Title: Re: sync codeblocks.cbp <-> codeblocks-unix.cbp
Post by: nocide on April 09, 2010, 09:45:07 pm
Quote
What's wrong with opening the windows project file and doing the same operation?

Yep, your right. I just can do the same with the windows project file. Just omit the compilation step  (I've a blond day :))
The second option sounds good, but anyway, I have to change both project files to create a valid patch!!

EDIT:
No, this failed!
After saving the windows project-file under linux, all windowspaths with backslash '\' was converted to unix-style slash '/'. That's not wat I wanted.
I can do the same thing on windows directly, but I wonder, ...  that must be something wich have to be done all the day, ain't it?