Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

build version from source code

Solved!
Go to solution

I know that it's possible to use some amount of variable data to produce the version number of installers and build output. 

 

But Is it possible to pull variables or macros from source code as my build version?  This would be very handy!

0 Kudos
Message 1 of 3
(3,937 Views)
Solution
Accepted by topic author ElectroLund

Hi,

 

I am using the macro _TARGET_PRODUCT_VERSION_ which yields major, minor, service and build version (but without the autoincrement)

0 Kudos
Message 2 of 3
(3,928 Views)

Wolfgang, thanks for that info.  I didn't know about the built-in macros.  These are very helpful!

0 Kudos
Message 3 of 3
(3,919 Views)