GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — AliceO2/Examples/ExampleModule1 at dev · dberzano/AliceO2

This repository was archived by the owner on Sep 26, 2019. It is now read-only.

Expand file tree

/

ExampleModule1

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

ExampleModule1

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
cmake
cmake
 
 
doc
doc
 
 
include/ExampleModule1
include/ExampleModule1
 
 
src
src
 
 
test
test
 
 
CMakeLists.txt
CMakeLists.txt
 
 
README.md
README.md
 
 

README.md

Outline

Example 1

[TOC]

Introduction {#Introduction}

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

Macros and variables {#Macros}

  • 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.
  • HEADERS is not needed in case we don't generate a dictionary.

Classes {#Classes}

We have one class that belongs to the interface (Foo) and one class that is internal (Bar). As a consequence, the header of the former should go to the include directory whereas the header of the second must go to the src directory.

Foo uses Bar, both are included in the library. The executable uses Foo.

Documentation {#Documentation}

The documentation is in markdown with special markers for doxygen such as [TOC]. Note the that the TOC will work only if no levels are skip (don't create a subsection without a section above it).

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.