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

DescriptionDefines 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).
ExamplesSee the example compilation.
Related ItemsOpalStartCompile2
Library and Header

WINDOWSLINUX
Static LibraryOpalApi.lib-
Dynamic LibraryOpalApi.dlllibOpalApi.so
Header FileOpalApi.hOpalApi.h

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter