User forums > Using Code::Blocks

Commands generation with CodeBlocks

(1/2) > >>

JNo:
Hello,

I want to generate all commands associated to a Rebuild command in bat file.

In fact, CodeBlocks is usefull to develop the software, but when I want to generate a release of my software I must be able to regenerate the identical software without CodeBlocks.

How to do that ?

Thanks for your help

BlueHazzard:

--- Quote ---regenerate the identical software without CodeBlocks.
--- End quote ---
why?

There is a makefile generator plugin out there that generates a makefile from a codeblocks project....

JNo:
In fact I don't found this code blocks plugin just a cbp2make utility but I don't succeed to generate make file because  it don't detect my target configuration:

Warning: toolchain 'comp_perso' for target 'default' is not defined.

BlueHazzard:
Can you give a minimal project to reproduce this?

JNo:
In fact I found an interesting feature save build log to html file when build is finished.

But this output includes all commands and all commands output.
I need to generate a final script (*.bat) with all commands (compil / link and other if needed).

Why ? Because :

* I need to demonstares how to build the embedded software
* If in 20 years Codeblocks is dead or not compatible with today version then we can continue to develop
* It is important to be independent of IDE for building software (SQA Requirement)

Navigation

[0] Message Index

[#] Next page

Go to full version