Here is the BuildUniverse.bat script that we use to build the software for one of our projects.
Here's how a run looks like when no options have been specified:
promt>BuildUniverse BuildUniverse 0.5 (Wed, 02 Mar 2011) Performing the following build steps: 1. update to latest Subversion revision 2. build online help 3. build software 4. build installer Before creating an installer to release a version of Camera, please - update Project/ChangeLog.txt - consult Project/Release.txt 7:58:05 - 1. Updating to latest Subversion revision... 7:58:19 - 2. Building online help files... 7:59:32 - 3. Building software (check configuration)... 7:59:38 - 3. Building software (updating version and build number)... 7:59:39 - 3. Building software ([clean], compile, link)... 8:26:52 - 4. Building installer... 8:36:14 - Done. prompt>
The help screen (BuildUniverse --help):
Prompt>BuildUniverse.bat -h Usage: BuildUniverse.bat [options] Options --help, -h this help page --set-version={version} specify new version as 1.2.3. If left unspecified, the current version is retained. --no-svn-update do not update the working copy to the latest subversion revision; reduces compilation time. --no-help-build do not build the help file; reduces compilation time. --no-version-update do not update the version and build numbers in version.h files; reduces compilation time. --no-check-configuration do not check for undesired compiler configuration changes. --no-clean do not remove products before building; currently only for software. --no-software-build do not compile/link the code. --no-setup-build do not build the installer. --version report the versions of this script and other scripts used. --quiet, -q suppress reporting filenames and number of files processed. --verbose, -v also report paths of intermediate files and number of files processed. --log-level={level} specify as one of debug, info, warning, error, critical [info]. BuildUniverse.bat performs the following steps to produce an installer for Camera: 1. update to latest Subversion revision 2. build the online help 3. build the software 4. build the installer Before creating an installer to release a version of Camera, please - update Project/ChangeLog.txt - consult Project/Release.txt Prompt>
The script.
Page created 10 March 2011
Martin Moene