User's Guide: preTools Suite for Windows

Getting Started

Reference

Command Line Options

preMake, preBuild and preVCbld accept a number of command line options. The names of these options have been selected to prevent collisions with the options used by Nmake.exe, Build.exe, and VCBuild.exe. Each option is preceded by a switch character; either '-' or '/' is acceptable. The option names are case sensitive. The table below enumerates the recognized options.

Option preMake preBuild preVCbld Description
-help yes yes yes Displays a short summary of command line options and command line usage. The program version is also displayed.
-cfg:<name> yes yes yes Selects a particular configuration for which to build an environment. The "<name>" field corresponds to the name of a <configuration> element of the configuration file. For example, "-cfg:vc8" selects the configuration named "vc8". Whitespace may not occur between "-cfg:" and the configuration name, "vc8". Also, the configuration name is not case sensitive.
-detect yes yes yes Attempts to find each of the components in the [detect] section of the configuration file and reports the results. Three responses are possible for a component:
   found - registry key and value found
   not defined - registry key found
   not found - registry key not found
This command overrides other options.
-noexec yes yes yes This option stops short of executing Nmake or Build, and instead dumps the complete environment using the command shell's Set command. This is useful for debugging the configuration file.
-debug yes no no This assigns the $(BuildType) macro, the string value "debug ".
-checked no yes no This assigns the $(BuildType) macro, the string value "checked ".
-nodebug yes no no This assigns the $(BuildType) macro, the string value "nodebug ".
-free no yes no This assigns the $(BuildType) macro, the string value "free ".
-retail yes yes no This assigns the $(BuildType) macro, the string value "retail ".
-verbose yes yes yes Display progress messages during execution.
-shortnames no yes no Convert component install paths to 8.3 filenames.
-longnames yes no no Disable use of 8.3 filenames in component directories.