Build and Version

Post your requests and ideas on the future development of mikroC PRO for PIC.
Post Reply
Author
Message
vneto
Posts: 94
Joined: 09 Jan 2006 18:37

Build and Version

#1 Post by vneto » 05 Nov 2009 08:29

While working on complicated project i need to build and program many times, in order for me to keep track of what build i'm using i suggest to add automatic build and version options.

1. Define a Global variables or function (like GetDateTime())
2. Add text feilds in the Project options for the Version values (int)
3. enable option in the Project to automaticaly increment the value each build

Details:

Values = Major.Minor.Build
major 0..99
minor 0..99
build 0..99

Functions:
GetVersion = 11.22.33
GetVerMajor = 11
GetVerMinor = 22
GetVerBuild = 33

Thanks

User avatar
nikola.kostic
mikroElektronika team
Posts: 433
Joined: 11 Aug 2009 12:12

#2 Post by nikola.kostic » 06 Nov 2009 14:55

Thanks. We will consider your suggestions.

vneto
Posts: 94
Joined: 09 Jan 2006 18:37

#3 Post by vneto » 06 Nov 2009 15:17

I'm Using MicroBasic so dont forget to implament this ther as well

jms
Posts: 5
Joined: 04 Jul 2014 03:00

Re: Build and Version (GetDateTime)

#4 Post by jms » 27 Sep 2016 17:25

Today I was looking for something that does exactly what "GetDateTime" does in MikroBasic compiler. Unfortunately there is nothing I can find in the MikroC/PIC or MikroC/dsPIC compilers. Is there another way to accomplish the same results in MikroC compilers?

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: Build and Version

#5 Post by lana.arsic » 28 Sep 2016 11:00

Hi,

I believe I have answered you on the ticket,
so I suggest you to continue our correspondence there.

Best regards,
Lana

GaseousJ
Posts: 7
Joined: 12 Sep 2017 05:22

Re: Build and Version

#6 Post by GaseousJ » 03 Dec 2018 04:29

Was this suggestion ever implemented during the last 9 years?

Like all things MikroElectronika, I don't hold much hope, but who knows?

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Build and Version

#7 Post by petar.suknjaja » 03 Dec 2018 12:23

Hi,
No, it wasn't implemented.
But search through the forum or libstock, I believe that you'll find some practical solutions.
Kind regards,
Petar

GaseousJ
Posts: 7
Joined: 12 Sep 2017 05:22

Re: Build and Version

#8 Post by GaseousJ » 04 Dec 2018 01:15

petar.suknjaja wrote:Hi,
No, it wasn't implemented.
But search through the forum or libstock, I believe that you'll find some practical solutions.
Kind regards,
Petar
Thank you for the clarification.

I hope you realise why telling me to essentially google my problem for a practical solution is zero help though. Searching for a solution is how I ended up on this page.

Classic MikroE!

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Build and Version

#9 Post by petar.suknjaja » 05 Dec 2018 10:14

Hi GaseousJ,
GaseousJ wrote:I hope you realise why telling me to essentially google my problem for a practical solution is zero help though. Searching for a solution is how I ended up on this page.
I never told you to google for your problem. I told you to search this forum or libstock.
While I've searched for something similar, I came across some interesting ideas and even on a application on the libstock.
I'm sure that you'll find something useful with the Search tool for this forum, or maybe an idea how to create your own
routine that would incorporate that functionality.

I would recommend you to take a look for the macros such as __DATE__ and __TIME__
and maybe this application gets handy:
https://libstock.mikroe.com/projects/vi ... -generator

Also, could I ask you to post here only relevant to this post.
If you have an opinion or suggestion about MikroE, could I ask you to write it in topic assigned for it.
Let's keep topics clean and useful to other users.

Thank you for understanding,

Kind regards,
Petar

Post Reply

Return to “mikroC PRO for PIC Wish List”