2.11.5 Including in your code

CodeBlocks

[Contents] CodeBlocks Manual   [Search] Search

[Table of contents]

2.11.5 Including in your code


To use the variables generated by the plugin just #include <version.h>. An example code would be like the following:
  #include <iostream>
  #include "version.h"
  
  void main(){
      std::cout<<AutoVersion::Major<<endl;
  }


[Previous] 2.11.4.5 Changes Log
[Next] 2.11.5.1 Output of version.h

Created: 2010/25/05 11:52   Updated: 2010/25/05 11:52
Author: HighTec EDV-Systeme GmbH
Copyright © 2010 HighTec EDV-Systeme GmbH