News:

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

Main Menu

sync codeblocks.cbp <-> codeblocks-unix.cbp

Started by nocide, April 09, 2010, 07:47:58 PM

Previous topic - Next topic

nocide

I've added a new file to the codeblocdks-unix project.
So how can I synchronize the corresponding win32 project file? manually?


MortenMacFly

Quote from: nocide on April 09, 2010, 07:47:58 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.
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]

nocide

#2
QuoteWhat'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?