Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 303 Bytes

File metadata and controls

6 lines (5 loc) · 303 Bytes

This is an example of a basic module using the O2 CMake macros to generate a library and an executable.

In particular :

  • O2_SETUP : necessary to register the module in O2.
  • O2_GENERATE_LIBRARY : use once and only once per module to generate a library.
  • O2_GENERATE_EXECUTABLE : generate executables.