Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

export as makefile

<< < (2/2)

Mathieu:

--- Quote from: MoonKid on September 20, 2007, 09:55:04 pm ---
--- Quote from: alex.neundorf on September 20, 2007, 09:42:36 pm ---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/...
--- End quote ---

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?


--- Quote ---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.
--- End quote ---

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.

--- End quote ---

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) 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

afb:
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


--- Quote ---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.

--- End quote ---


* cmExtraCodeBlocksGenerator.cxx
* cmExtraCodeBlocksGenerator.h

rjmyst3:
Another alternative for Makefile generation is Premake. We use Premake to generate both Makefiles and Code::Blocks projects for wxFormBuilder, and it has been working very well for the past year.

mandrav:

--- Quote from: rjmyst3 on March 03, 2008, 07:32:26 pm ---Another alternative for Makefile generation is Premake. We use Premake to generate both Makefiles and Code::Blocks projects for wxFormBuilder, and it has been working very well for the past year.

--- End quote ---

QFT. Premake works very nicely with Code::Blocks.

jsibarani:

--- Quote from: mandrav on March 03, 2008, 08:08:38 pm ---
--- Quote from: rjmyst3 on March 03, 2008, 07:32:26 pm ---Another alternative for Makefile generation is Premake. We use Premake to generate both Makefiles and Code::Blocks projects for wxFormBuilder, and it has been working very well for the past year.

--- End quote ---

QFT. Premake works very nicely with Code::Blocks.

--- End quote ---

Yeah, i succesfully compiled  wxJavaScript Code::Blocks project files generated by premake.
It just work great

Navigation

[0] Message Index

[*] Previous page

Go to full version