Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
CB project: integrated 'update'
LETARTARE:
Hello, :-X
to compile a last version of 'Code :: Blocks', I use as IDE a previous version.
After compiling 'Code :: Blocks', it is tedious to open a console to launch 'update (.bat)'.
I tested the following solution with VISTA and OpenSuse :
1- create a real target 'Update' , 'Command only' type, 'Pos-built steps' with a call to 'update.bat' or './update'
2- in the virtual target 'All': add in last this target 'Update'
This makes it possible to integrate the update into the construction process.
I may have forgotten some things ?
ollydbg:
This is a good idea, great!
My question is: When will the target named "Update" to be "built"? I mean You just manually click the "build" button to "build" the "Update" target?
LETARTARE:
Here is the kind of interesting question.
I just did a test on 'svn11176' that I cleaned up, then I compiled the 'Update' target under VISTA.
The result is in image ...
BlueHazzard:
You could also add the update target it to the "All" target at the end. So it will always be running after rebuilding codeblocks.
One problem i see here is, that if you build the codeblocks workspace with all plugins you have to run this update script at the end of the build process of all plugins.
LETARTARE:
Thank you for the information :
You say :
--- Quote ---You could also add the update target it to the "All" target at the end.
--- End quote ---
Of course, as indicated -> 'last'
--- Quote ---2- in the virtual target 'All': add in last this target 'Update'
--- End quote ---
You also indicate :
--- Quote ---you have to run this update script at the end of the build process of all plugins
--- End quote ---
This is a good question, but I have not tested it yet.
Is it a problem ?
Navigation
[0] Message Index
[#] Next page
Go to full version