Additional build flags

The following environment variables do useful things:

  • maus_lcov: set to non-zero to enable c++ coverage tools. Requires lcov
  • maus_gprof: set to non-zero to enable c++ profiling tools. Requires gprof
  • maus_debug: set to non-zero to enable c++ debugging tools. Improves granularity of stack trace (if ROOT didn't always hijack stack trace) and let's us use gdb.
  • maus_no_optimize: set to non-zero to disable gcc -O3 flag. Note this is disabled if any of the lcov, gprof or debug flags are set.

WARNING: these are developer add-ons, for dev use only.

Sample macro.
Displays a list of all available macros, including description if available.
Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:

{{child_pages}} -- can be used from a wiki page only
{{child_pages(depth=2)}} -- display 2 levels nesting only
{{child_pages(Foo)}} -- lists all children of page Foo
{{child_pages(Foo, parent=1)}} -- same as above with a link to page Foo
Includes a wiki page. Examples:

{{include(projectname:Foo)}} -- to include a page of a specific project wiki
Inserts of collapsed block of text. Examples:

This is a block of text that is collapsed by default.
It can be expanded by clicking a link.

{{collapse(View details...)
With custom link text.
Displays a clickable thumbnail of an attached image.
Default size is 200 pixels. Examples:

{{thumbnail(image.png, size=300, title=Thumbnail)}} -- with custom title and size
Displays an issue link including additional information. Examples:

{{issue(123)}}                              -- Issue #123: Enhance macro capabilities
{{issue(123, project=true)}}                -- Andromeda - Issue #123: Enhance macro capabilities
{{issue(123, tracker=false)}}               -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123

Updated by Rogers, Chris over 11 years ago ยท 6 revisions