Code::Blocks Forums
User forums => Help => Topic started by: H on February 08, 2010, 05:50:12 pm
-
I'm switching over to Visual Studio 2008 from Code Blocks. I have a project written in Code Blocks, and I'd like to manage it in Visual Studio. The problem is that the project file for the program is in the .cbp file format. Is there any way to get this working in Visual Studio?
-
Is there any way to get this working in Visual Studio?
It's probably better to ask the devs of VS. C::B does not support any other than C::B itself. Import is another story.
-
If you wish to support BOTH Visual Studio and Code::Blocks projects;
I suggest looking into preMake or CMake build programs.
http://premake.sourceforge.net/
http://www.cmake.org/
Tim S.
-
The URL for Premake is actually http://industriousone.com/premake (http://industriousone.com/premake). Feel free to contact me if you have any questions about it.
-
If you're moving the project from C::B to VS, just note down the settings from the Code::Blocks projects and create an equivalent solution in Visual Studio. Depending on your familiarity with, and ease of reading them, you may find it faster to open your .cbp files in Visual Studios text editor rather then running both IDEs side by side. Like .vcproj files, .cbp are just XML files, and are fairly straight forward to read/edit. The biggest issue you'll have to worry about, is if you're transitioning from GCC to Visual C++ for the compiler as well - option flags in one tool suite, do not always line up with the other.
In my personal experience, CMake is very overrated, but can be handy if you wish to support multiple IDEs.