Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
AutoVersioning Plugin
mp:
Hi!
I still have errors compiling plugin, but now some new errors occurred. I can't install compiled plugin too. C::B says that this plugin is compiled with other version of SDK than IDE.
JGM:
--- Quote from: mp on July 09, 2007, 05:56:53 pm ---Hi!
I still have errors compiling plugin, but now some new errors occurred. I can't install compiled plugin too. C::B says that this plugin is compiled with other version of SDK than IDE.
--- End quote ---
:?
Well maybe you haven't defined the $(#cb) variable, or you are trying to compile without compiling first codeblocks from source, also you got to compile the wx library.
Just uploaded my custom compilation of codeblocks with the autoversioning plugin working here right click and save as to download if you want to try it out.
mp:
--- Quote from: JGM on July 09, 2007, 06:46:12 pm ---
--- Quote from: mp on July 09, 2007, 05:56:53 pm ---Hi!
I still have errors compiling plugin, but now some new errors occurred. I can't install compiled plugin too. C::B says that this plugin is compiled with other version of SDK than IDE.
--- End quote ---
:?
Well maybe you haven't defined the $(#cb) variable, or you are trying to compile without compiling first codeblocks from source, also you got to compile the wx library.
Just uploaded my custom compilation of codeblocks with the autoversioning plugin working here right click and save as to download if you want to try it out.
--- End quote ---
I've defined variable, I've got compiled wxWidgets library, but i don't have compiled c::b by my self, only downloaded form forum.
Thanks for your C::B, i will try it later and post results.
// EDIT:
After using your version of C::B all seams to be ok :) Very nice plugin :D Thx.
And I've noticed one problem: why after compilation od one .cpp file plugin increment build count by 2 or 3?
JGM:
--- Quote from: mp on July 09, 2007, 08:02:08 pm ---// EDIT:
After using your version of C::B all seams to be ok :) Very nice plugin :D Thx.
And I've noticed one problem: why after compilation od one .cpp file plugin increment build count by 2 or 3?
--- End quote ---
I don't understand clearly what you mean but:
This variable is for keeping track of all the compilations that we do while working, Is just for our eyes to know how many work we have done, I just thought it will be a nice feature (also for our work reports :D). But the revision and build (not build_count) increments only when a file had been modified. If you put the mouse pointer on each textbox it shows the scheme that I implemented.
The scheme is the following:
- Revision increments by a random number up to 10 every time a modification is made.
- Build number increments when revision increments by 1.
If auto increment is marked:
- Minor is incremented by 1 each time the build number reach a barrier of 100 and reset to 0 on 10.
- Major is incremented by 1 each time the minor reach 10.
if dates is marked:
- Generates variables with the current date of compilation.
if svn marked:
- search in the directory selected for revision number and date and generates the appropriate variables.
I'm thinking of implementing another window for customizing the current scheme but i will work on this later. :D
JGM:
Added new version with an option to commit changes before auto-incrementing and some minor fixes. :)
Check first post for download.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version