Make utility settings dialog (C++ Code Reverser)
The Reverser displays this dialog before loading a batch file created through your make utility. The dialog is necessary because batch files created by different make utilities use different switches to identify #Define and Include path elements in the batch file.
You need to specify the following information:
#Define Switch- the switch used to identify #Defines in the batch file.
Include Path Switch- the switch used to identify Include paths.
Compiler Name- a value that identifies the command lines that contain #Define and Include path information. The Reverser searches for #Define and Include Path information only in command lines that start with the Compiler Name value you specify. Typically, these command lines start with the name of the compiler, for example gcc.
If you select the Replace #Define and Include Settingscheck box, any #Define and Include settings that are set up through the Model Settings File are overwritten by those extracted from the batch file.
If you clear the Replace #Define and Include Settingscheck box, the #Define and Include settings that are set up through the Model Settings File are appended by those extracted from the batch file.
This dialog appears only if after clicking the Project File button you select a file that does not have a dsp or vcproj extension.
Tips
If you do not know which switches are used in the batch file created through your make utility, open the batch file in a text editor and determine which switches are associated with the #Defines and Includes search paths:
Windows based compilers often use the /D switch for a #Define and the /I switch for an Includes search path.
Unix based compilers often use the -D switch for a #Define and the -I switch for an Includes search path.
For gnu make, you create a batch file through the -n switch, that is, make -n <make file name> > <batch file name>
Was this helpful?