C-API | OP_COMPILATION_DEFINE

Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

C-API | OP_COMPILATION_DEFINE

Description

Defines the steps to be performed during compilation. These defines should be used when using the StartCompile2.

Usage

See Elements

Elements

  • OP_SEPARATE_ONLY (1): Do only the separation when compiling a model.

  • OP_GENERATE_ONLY (2): Do only the code generation when compiling a model.

  • OP_TRANSFER_ONLY (4): Transfers only the files when compiling a model.

  • OP_COMPIL_ONLY (8): Do the code compilation only when compiling a model.

  • OP_RETRIEVE_FILES_ONLY (16): Retrieves only the target files when compiling a model.

  • OP_COMPIL_ALL_NT (15): Sets all options for win32 targets.

  • OP_COMPIL_ALL_LINUX (31): Sets all options for Linux targets.

  • OP_COMPIL_ALL_REDHAWK (31): Sets all options for OPAL-RTLinux (x86-based) targets.

  • OP_COMPIL_ALL_REDHAWK64 (31): Sets all options for OPAL-RTLinux (x64-based) targets.

  • OP_COMPIL_ALL_QNXNTO (31): Sets all options for QNX 6 targets (not supported anymore).

Examples

See the example compilation.

Related Items

OpalStartCompile2

Library and Header



WINDOWS

LINUX

Static Library

OpalApi.lib

-

Dynamic Library

OpalApi.dll

libOpalApi.so

Header File

OpalApi.h

OpalApi.h