Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: MoonKid on September 20, 2007, 09:11:56 pm
-
Is there a point on the TODO list to implement a export functionality for C::B projects?
e.g. Export such a project as a bakefile. Then everybody can create its own specifik makefiles from it.
What do you think about that?
-
Do it the other way round: use cmake and let cmake create a CodeBlocks project or makefile or XCode/MSVC/Eclipse/KDevelop project for Linux/*BSD/Windows/Apple/Sun/HPUX/...
The current codeblocks generator in cmake cvs HEAD (for Windows users there is now a nightly build available at http://www.cmake.org/files/vCVS/ ) generates a makefile based codeblocks project.
A native CB project would also be possible, but that requires a lot more work and somebody to do it.
Alex
-
Do it the other way round
Right.
Is there a point on the TODO list...
There is presently no item on the to-do list for that. This doesn't mean it might not implemented one day, just it's not on the schedule.
-
Do it the other way round: use cmake and let cmake create a CodeBlocks project or makefile or XCode/MSVC/Eclipse/KDevelop project for Linux/*BSD/Windows/Apple/Sun/HPUX/...
Sorry, but I think I understand nothing of what you sayed. ;)
cmake is just a other buildsystem beside gnumake, nmake, etc?
cmake can create CodeBlocks projects from its own cmake-makefile-format?
The current codeblocks generator in cmake cvs HEAD (for Windows users there is now a nightly build available at http://www.cmake.org/files/vCVS/ ) generates a makefile based codeblocks project.
A native CB project would also be possible, but that requires a lot more work and somebody to do it.
cmake generate "a makefile based codeblocks project"
"native CB project would also be possible"
What is the difference? cmake generate CB project files AND "native" CB project files? It confusing me.
-
Is there a point on the TODO list to implement a export functionality for C::B projects?
e.g. Export such a project as a bakefile. Then everybody can create its own specifik makefiles from it.
What do you think about that?
Try my plugin. cbMakefileGen being created a simple makefile for exists C::B project.
cbMakefileGen sources available (see below). Binary Win32 only now. My plugin tested on Linux too (Ubuntu).
-
Do it the other way round: use cmake and let cmake create a CodeBlocks project or makefile or XCode/MSVC/Eclipse/KDevelop project for Linux/*BSD/Windows/Apple/Sun/HPUX/...
Sorry, but I think I understand nothing of what you sayed. ;)
cmake is just a other buildsystem beside gnumake, nmake, etc?
cmake can create CodeBlocks projects from its own cmake-makefile-format?
The current codeblocks generator in cmake cvs HEAD (for Windows users there is now a nightly build available at http://www.cmake.org/files/vCVS/ ) generates a makefile based codeblocks project.
A native CB project would also be possible, but that requires a lot more work and somebody to do it.
cmake generate "a makefile based codeblocks project"
"native CB project would also be possible"
What is the difference? cmake generate CB project files AND "native" CB project files? It confusing me.
This is a very late answer to this thread, but for future readers it might be good to not leave this question hanging there...
CMake (http://www.cmake.org (http://www.cmake.org)) is to considered as build system generator. You write your project description using the CMake syntax and the CMake tool (command line or graphical) will generate the files for the build system targeted. The build system targets available depend on the OS you use and the available compilers or IDE's you have. For example under windows you might use minGW makefiles, MSVC 6/7/8 solutions or NMake makefiles, under Linux you have gnu Makefiles, KDevelop projects, under MacOSX you have gnu makefiles but also XCode projects. Recently the Eclipse CDT project target has been added.
What alex.neundorf was trying to say is that Code::Blocks could just be another build system target and that using CMake it would be very (very) easy to switch to another build system/IDE.
HTH
Mathieu
-
According to the Cmake documentation, it will have a Code::Blocks project file generator soon:
http://www.cmake.org/Wiki/CMake_Generator_Specific_Information#Code::Blocks_Generator
Starting with version 2.6.0 CMake also comes with a project file generator for the [CodeBlocks IDE].
This support is still in beta and needs feedback in order to mature.
- cmExtraCodeBlocksGenerator.cxx (http://www.cmake.org/cgi-bin/viewcvs.cgi/Source/cmExtraCodeBlocksGenerator.cxx?root=CMake&view=log)
- cmExtraCodeBlocksGenerator.h (http://www.cmake.org/cgi-bin/viewcvs.cgi/Source/cmExtraCodeBlocksGenerator.h?root=CMake&view=log)
-
Another alternative for Makefile generation is Premake (http://premake.sf.net). We use Premake (http://premake.sf.net) to generate both Makefiles and Code::Blocks projects for wxFormBuilder (http://www.wxformbuilder.org), and it has been working very well for the past year.
-
Another alternative for Makefile generation is Premake (http://premake.sf.net). We use Premake (http://premake.sf.net) to generate both Makefiles and Code::Blocks projects for wxFormBuilder (http://www.wxformbuilder.org), and it has been working very well for the past year.
QFT. Premake works very nicely with Code::Blocks.
-
Another alternative for Makefile generation is Premake (http://premake.sf.net). We use Premake (http://premake.sf.net) to generate both Makefiles and Code::Blocks projects for wxFormBuilder (http://www.wxformbuilder.org), and it has been working very well for the past year.
QFT. Premake works very nicely with Code::Blocks.
Yeah, i succesfully compiled wxJavaScript Code::Blocks project files generated by premake.
It just work great