Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

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

(1/1)

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?

--- End quote ---
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.

nocide:

--- Quote ---What's wrong with opening the windows project file and doing the same operation?
--- End quote ---

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?

Navigation

[0] Message Index

Go to full version