User forums > Using Code::Blocks
Shuffling project between OSs
Jenna:
You can create different targets for windows and linux and keep them in the same project-file (and/or workspace).
kencamargo:
--- Quote from: jens on April 06, 2010, 07:12:41 am ---You can create different targets for windows and linux and keep them in the same project-file (and/or workspace).
--- End quote ---
I know, Jens, I've been doing that for a while now, using your instructions and packages (thank you, btw). The issue here is that I have one specific project that has a problem when I do the cross build under Linux, so I have to take the whole thing to a Win vm, and I can't simply take the same project; as I wrote elsewhere, under Linux the wx-config script is used (even for the cross-compiling), that is not the case under Win. Or am I missing something?
Ken
stahta01:
For an wx-config under windows see http://sites.google.com/site/wxconfig/
Note, I do not think that will solve your problem; but, it might help.
Tim S.
kencamargo:
--- Quote from: stahta01 on April 07, 2010, 06:01:01 am ---For an wx-config under windows see http://sites.google.com/site/wxconfig/
Note, I do not think that will solve your problem; but, it might help.
Tim S.
--- End quote ---
Thanks Tim, this will certainly help, even if it doesn't solve everything.
Ken
dmoore:
--- Quote from: kencamargo on April 07, 2010, 05:15:13 am ---
--- Quote from: jens on April 06, 2010, 07:12:41 am ---You can create different targets for windows and linux and keep them in the same project-file (and/or workspace).
--- End quote ---
I know, Jens, I've been doing that for a while now, using your instructions and packages (thank you, btw). The issue here is that I have one specific project that has a problem when I do the cross build under Linux, so I have to take the whole thing to a Win vm, and I can't simply take the same project; as I wrote elsewhere, under Linux the wx-config script is used (even for the cross-compiling), that is not the case under Win. Or am I missing something?
--- End quote ---
If you have win32 and linux targets in your project you can specify compiler and link options for each target (the lib list for win32, wx-config for linux). Why doesn't this work for you?
Navigation
[0] Message Index
[*] Previous page
Go to full version