|
usage
#Use of VersionManager CodeLite plugin IntroductionHere is the use of the Version Manager plugin in CodeLite. DetailsGlobal settingsTo manage global settings, go to menu Plugin -> Version Manager -> Settings... Those settings are used by default when managing version of a new project. Project settings
File settings
Here you can find the default variables names used by VersionManager while generating the .h version file. You can also use a namespace if desired. CodeLite project settingsI you want to manage your project versions, you just have to "right clic" on your project (in the Workspace view), and you will see a Version manager menu entry.
Sample resultthe file produced (vm_version.h for the example, as configured below), will contain the following source code : #ifndef VERSIONMANAGER_VERSION_H_INCLUDED
#define VERSIONMANAGER_VERSION_H_INCLUDED
namespace version {
static const int MAJOR = 1;
static const int MINOR = 0;
static const int RELEASE = 0;
static const int BUILD = 0;
static const char* STATUS = "Release";
static const char* VERSION = "1.0.0.0 Release";
}; // namespace version
#endif // VERSIONMANAGER_VERSION_H_INCLUDED
|
► Sign in to add a comment