TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 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 (140535 times)
  2. FAT32 Library (73023 times)
  3. Network Ethernet Library (58026 times)
  4. USB Device Library (48212 times)
  5. Network WiFi Library (43821 times)
  6. FT800 Library (43293 times)
  7. GSM click (30354 times)
  8. mikroSDK (28984 times)
  9. PID Library (27115 times)
  10. microSD click (26717 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: 802 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

FixedFIFO

5

This library provides a fixed-size FIFO to an application. Users can set the FIFO depth and width. There are also three examples for mikroPascal PRO for PIC, dsPIC/PIC24 and PIC32. Each example implements a USB CDC device and a PC application sends commands to PIC for adding/reading items to/from FIFO.

[Learn More]

File Transfer To PIC

0

This is a simple example of file transfer from a desktop client to a PIC32 server, using mikroMedia for PIC32MX7+ board and mikroMedia+ shield for PIC32MX7.

[Learn More]

RTCC_18FxxJ50 library

5

Library for accessing the PIC18FxxJ50 internal RTCC. The library should be compatible with other PICs with same RTCC.

[Learn More]