User forums > General (but related to Code::Blocks)
create Project for Windows and Linux
new-c::b-user:
Thanks for your ideas. I will try them. I thought Codeblocks has some automatic way for this, and i didn't see it.
BTW: BIG thx to the devteam, great work!!
cacb:
--- Quote from: jens on September 14, 2007, 10:03:21 pm ---There's no problem to use the same code and project files if you leave the OS specific settings under Build options ...empty.
You only have to use the same compiler(-name) under linux and windows and set the directories executables and so on under Settings -> Compiler and debugger.
--- End quote ---
You do not have to use the same compiler under linux and windows. I am sharing project files and source files 100% transparently between XP and Kubuntu and I am using Visual Studio 2005 Express C++ compiler under Windows and GCC under linux. This can be done using 4 build targets, i.e. Debug/Release for windows and Debug/Release for linux.
cacb
Navigation
[0] Message Index
[*] Previous page
Go to full version