Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Project Exporter Plugin
Alpha:
I have written a plugin that will export the active project as a premake 4 script. Premake has the ability to generate multiple IDE project files and makefiles, so if proper Premake support is achieved, Code::Blocks will in essence be able to export to all of them.
* Now supports Bakefile export as well.
* Currently, this plugin generates all of the basic components, drastically reducing the time required to create a new build system, however, some modification of the output is often required.
* Note that the Project Exporter plugin will overwrite files (in the case of a conflict) without notification.
v0.3 Bakefile support added; GUI cut down to be reasonable; several minor fixes in project reading
v0.2 GUI drafted; upgrade targets to projects option; evaluate variables option; language detection.
v0.1.1 fixed crash on restart.
Here (v0.1) is the initial source code.
Known problems/To-Do's:
* C language projects are detected, but Premake4 generated makefiles do not compile - Does anyone know why? I looked at the makefiles and they looked like they should work.
* Prebuild steps are ignored during Bakefile export
* Parsing of global variables during Bakefile export sometimes yields invalid Bakefiles
* Continue adding detection of more properties of Code::Blocks projects (especially dependencies)
* Add workspace recognition
Note: if you are looking for mature makefile generation, see cbp2make.
Alpha:
Version 0.2 released. Please note that although the dialog has many options, only the first two are implemented (the others will do nothing). Also, the dialog is likely to be completely changed in the next version.
Switched hosting to SkyDrive (sorry, to download, you will need to click twice instead of just once; however, the files should not go offline at the end of the year now).
Does anyone have enough knowledge with premake/makefiles to tell me why C projects do not compile? Thanks.
Alpha:
Version 0.3 released. This release adds preliminary Bakefile support. (If you decide to look at the code for this section, be warned that it is quite messy at the moment.)
The Premake options dialog now is condensed to the few essentials.
Does anyone have a favorite build system they would like me to look into next (when I have time)?
oBFusCATed:
Autotools of course :)
Alpha:
OK, I will see what I can do (this may be a bit more complicated...).
Do you have any suggested reading? Most of my experience with Autotools has been only what I needed to use through MSYS.
Navigation
[0] Message Index
[#] Next page
Go to full version