TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141871 times)
  2. FAT32 Library (75035 times)
  3. Network Ethernet Library (59342 times)
  4. USB Device Library (49344 times)
  5. Network WiFi Library (45149 times)
  6. FT800 Library (44698 times)
  7. GSM click (31298 times)
  8. mikroSDK (30256 times)
  9. microSD click (27683 times)
  10. PID Library (27572 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Build Version Generator

Rating:

10

Author: VCC

Last Updated: 2024-03-31

Package Version: 1.2.0.0

Category: Other Codes

Downloaded: 833 times

Followed by: 3 users

License: MIT license  

Build Version Generator is a tool, which generates code, containing version number and current build date of a mikroPascal / mikroBasic / mikroC project. It is run as a compiler IDE tool.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Build Version Generator" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Build Version Generator" changes.

Do you want to report abuse regarding "Build Version Generator".

  • Information
  • Comments (3)
DOWNLOAD LINK RELATED COMPILER CONTAINS
Other Compiler
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Features:

 - It is started from a mikro compiler as a tool

 - Saves project version in a separate file, as a library

 - Generates version formatted as one, two, three or four numbers separated by user-specified separators

 - In addition to numbers, a version string can contain user defined strings

 - Build number can be autoincremented as an option

 - In adition to saving version as a string, individual numbers are saved as integers (8/16/32-bit, un/signed)

 - Build date and time are saved both as string and individual numbers

 - Date string can have one of three separators "/", "." and " " and four formats of YYYY MM DD

 - The application closes automatically after being started, waiting a specified time

 - The generated library, containing version constants, is automatically saved when closing the application

 - Except the autoclose timer constant, all options are saved in separate settings files

 

Requirements / Recommendations:

 - The application must be run with "%HEX_FILE_NAME" parameter from compiler's IDE, including quotes.

- An IDE bug deletes the quotes from HEX_FILE_NAME parameter, so there must be two parameters, which are correctly saved:  "%HEX_FILE_NAME" %HEX_FILE_NAME  The second one has no quotes and is ignored by the application.

 

Limitations:

 - Keeps track of only project version, not of individual sources.

 - Since application options are saved in separate files (per project), settings revert to default on new projects. Thus, users have to configure settings for every new project.

Build Version Generator

Build Version Generator

Application screenshot

View full image
Version String Format

Version String Format

Version string can be composed of one to four version numbers, with user-defined separators, a pre-text and a post-text.

View full image
Build Version Generator Options

Build Version Generator Options

Options

View full image
IDE Tool

IDE Tool

As command line parameters, users should fill in: "%HEX_FILE_NAME" %HEX_FILE_NAME

View full image

ALSO FROM THIS AUTHOR

DynTFT

10

DynTFT is a set of visual components, inspired by Delphi's VCL. These components are compilable by mikroPascal, Delphi and FreePascal, allowing faster designing and debugging of the UI part of an application. The API features a runtime component registration, to make sure that users won't have to deal with internal handling of mouse/touch events.

[Learn More]

DynTFT Color Themes

0

DynTFT Color Themes are a collection of inc files with color constants, usable by DynTFT components.

[Learn More]

DynArrays

0

Dynamic arrays of Byte, Word, DWord and Pointer. Also 2D arrays of Byte and Word, and 3D array of Byte. Can be compiled on desktop (tested with FreePascal) and MCU (for dsPIC and PIC32).

[Learn More]