Command Line Interface
This step is necessary if you are using:
System Testing for C
.otc Contract Check feature
Before you can compile a generated source file, you must set up a file named options.h, which contains compilation parameters for such files.
How to prepare the options.h file:
From the sub-directory lib of the selected Target Deployment Port, copy a file named options_model.h to a directory of your choice, and rename it to options.h.
The directory of your choice may be the directory where the generated source files or instrumented source files are located.
Open options.h in a text editor and add the following define at the beginning of the file:
#define ATL_WITHOUT_STUDIO
Make any necessary changes by adjusting the corresponding macros in the file.
The options_model.h file is self-documented, and you can adjust every macro to one of the values listed. Each macro is set to a default value, so you can keep everything unchanged if you don't know how to set them.
Take note of the directory where this file is stored, you will need it in order to compile the generated or instrumented source files.
Related Topics
Preparing a Products Header File | Command Line Component Testing for C, Ada and C++ | Command Line System Testing for C