![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Compile > Build Management > GenerateNote: Build Management capabilities are available for Apex C/C++ and Apex Duo.
The Compile > Build Management > Generate command generates code for C/C++ source files. This command displays the Generate Dialog Box.
Generate Dialog Box Fields:
Objects to Generate
The list of files, directories, views or configurations to be generated. Use the Add, Remove, and Clear buttons to modify this list.
When directories are specified, code is generated for all files in the directories and in any subdirectories. When views are specified, code is generated for all source files in the view and in addition libraries are updated as specified by the view's build policy. When configurations are specified, all views referenced by the configuration are coded.
Options
This command accepts the following options.
Specifies that debugging is to be enabled. The default value of this option in a particular view may be changed by setting the DEBUGGING context switch.
Specifies the optimization level. The default value of this option in a particular view may be changed by setting the OPTIMIZATION_LEVEL context switch. See target compiler documentation for the meaning of different optimization levels.
Specifies profiling is to be enabled. Possible values are prof and gprof.
-cpp_options: compiler-options
Specifies option values to be passed to the target compiler for C++ source files. See target compiler documentation for specific values. The default value of this option in a particular view may be changed by setting the CPP_OPTIONS context switch.
Specifies option values to be passed to the target compiler for C source files. See target compiler documentation for specific values. The default value of this option in a particular view may be changed by setting the C_OPTIONS context switch.
Specifies option values to be passed to the assembler when assembly (.s) files are processed. See target assembler documentation for specific values. The default value of this option in a particular view may be changed by setting the S_OPTIONS context switch.
-closure_compilation_policy: compilation_policy
Specifies the policy for compiling the closure when compiling a view that contains a library. The possible values are compile_all and compile_none. The default value of the option in a particular view may be changed by setting the CLOSURE_COMPILATION_POLICY context switch.
Specifies that when building libraries, the closure of the libraries is not to be compiled. If set this switch will override any compilation specified by the switch
Specifies that when building libraries, the closure from the last build should be used. If no closure exists then it will be computed. Setting this switch also specifies that no recompilation of the closure will occur.
Build management is described in detail in the C++ Compiler Refrerence.
Additional Topics
Rational Software Corporation http://www.rational.com support@rational.com techpubs@rational.com Copyright © 1993-2001, Rational Software Corporation. All rights reserved. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |