Author Topic: sync codeblocks.cbp <-> codeblocks-unix.cbp  (Read 4996 times)

Offline nocide

  • Multiple posting newcomer
  • *
  • Posts: 23
sync codeblocks.cbp <-> codeblocks-unix.cbp
« 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?


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: sync codeblocks.cbp <-> codeblocks-unix.cbp
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline nocide

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: sync codeblocks.cbp <-> codeblocks-unix.cbp
« Reply #2 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?
« Last Edit: April 09, 2010, 10:08:09 pm by nocide »