Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
General (but related to Code::Blocks)
»
Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa (Read 6778 times)
LETARTARE
Lives here!
Posts: 572
L'ami de l'homme.The friend of man.
Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa
«
on:
March 05, 2026, 10:46:24 am »
Is there a script or program that would create a project file from 'Linux' to 'Windows' or vice versa?
Logged
CB-13831, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'
ollydbg
Developer
Lives here!
Posts: 6207
OpenCV and Robotics
Re: Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa
«
Reply #1 on:
March 05, 2026, 11:23:10 am »
Why do you need such feature.
I think mostly, the files in the cbp are the same(mostly), but different OSs have different include search files and linker options.
Logged
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.
predictbong
Single posting newcomer
Posts: 1
Re: Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa
«
Reply #2 on:
April 22, 2026, 09:08:56 am »
I agree with your point. Different operating systems also offer different linking options. It's perfectly possible to select the appropriate file across systems.
Logged
olenna
Single posting newcomer
Posts: 1
Re: Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa
«
Reply #3 on:
April 22, 2026, 11:13:07 am »
There is no official tool that reliably converts a *_linux.cbp project into a *_win.cbp.
Logged
Miguel Gimenez
Developer
Lives here!
Posts: 1864
Re: Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa
«
Reply #4 on:
April 22, 2026, 11:44:29 am »
Profile spammer olenna reported to moderator.
«
Last Edit:
Yesterday
at 09:06:39 am by Miguel Gimenez
»
Logged
Miguel Gimenez
Developer
Lives here!
Posts: 1864
Re: Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa
«
Reply #5 on:
Yesterday
at 09:05:57 am »
Delayed profile spammer predictbong reported to moderator.
Logged
ilyacolton
Single posting newcomer
Posts: 1
Re: Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa
«
Reply #6 on:
Today
at 05:28:24 am »
Nah, there's no "universal" script or program for that, dude. Project files are usually super specific to each IDE/tool; typically, we use cross-platform build systems like CMake or framework-specific tools (like Qt) to manage projects between Linux and Windows.
fnaf
«
Last Edit:
Today
at 05:30:04 am by ilyacolton
»
Logged
Miguel Gimenez
Developer
Lives here!
Posts: 1864
Re: Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa
«
Reply #7 on:
Today
at 10:09:10 am »
Badly hidden spam reported to moderator.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
General (but related to Code::Blocks)
»
Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa