Like Tree1Likes
  • 1 Post By tabstop

Automatic Header File ... "version.h" !

This is a discussion on Automatic Header File ... "version.h" ! within the Tech Board forums, part of the Community Boards category; Suddenly(or not so suddenly...Idk) a header file named "version.h" appeared in my svn working directory. I don't think svn would ...

  1. #1
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,528

    Automatic Header File ... "version.h" !

    Suddenly(or not so suddenly...Idk) a header file named "version.h" appeared in my svn working directory.
    I don't think svn would create C++ code in a header file to do its versioning ...
    Any idea which one(IDE....I opened it as a makefile project in many or the makefile...or gcc)
    creating the following?
    Code:
    namespace AutoVersion{
    	
    	//Date Version Types
    	static const char DATE[] = "27";
    	static const char MONTH[] = "05";
    	static const char YEAR[] = "2011";
    	static const char UBUNTU_VERSION_STYLE[] = "11.05";
    	
    	//Software Status
    	static const char STATUS[] = "Alpha";
    	static const char STATUS_SHORT[] = "a";
    	
    	//Standard Version Type
    	static const long MAJOR = 1;
    	static const long MINOR = 0;
    	static const long BUILD = 0;
    	static const long REVISION = 0;
    	
    	//Miscellaneous Version Types
    	static const long BUILDS_COUNT = 1;
    	#define RC_FILEVERSION 1,0,0,0
    	#define RC_FILEVERSION_STRING "1, 0, 0, 0\0"
    	static const char FULLVERSION_STRING[] = "1.0.0.0";
    	
    	//These values are to keep track of your versioning state, don't modify them.
    	static const long BUILD_HISTORY = 0;
    	
    
    }
    #endif //VERSION_H
    Manasij Mukherjee | gcc-4.9.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    Did you google on a key phrase, like "namespace AutoVersion"? AutoVersioning Plugin
    Salem likes this.

  3. #3
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,528
    ..oo...sorry.... I left after googling "version.h", "svn version.h", "eclipse version.h"... and even the whole piece !!
    Guess I'm somewhat out of my head after a whole day of school..!
    Manasij Mukherjee | gcc-4.9.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why I can not "extern" a variable from header file?
    By meili100 in forum C++ Programming
    Replies: 22
    Last Post: 06-23-2008, 04:58 AM
  2. problem with -> notation and using a "general" header file
    By Yourhighness in forum C Programming
    Replies: 2
    Last Post: 06-08-2003, 09:39 AM
  3. Header file for "fix" function ?
    By Rex in forum C++ Programming
    Replies: 1
    Last Post: 04-08-2003, 05:42 AM
  4. "itoa"-"_itoa" , "inp"-"_inp", Why some functions have "
    By L.O.K. in forum Windows Programming
    Replies: 5
    Last Post: 12-08-2002, 08:25 AM
  5. "CWnd"-"HWnd","CBitmap"-"HBitmap"...., What is mean by "
    By L.O.K. in forum Windows Programming
    Replies: 2
    Last Post: 12-04-2002, 07:59 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21