Project

General

Profile

Actions

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.

hello_world
Sample macro.
macro_list
Displays a list of all available macros, including description if available.
child_pages
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
include
Includes a wiki page. Examples:

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

{{collapse
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.
}}
thumbnail
Displays a clickable thumbnail of an attached image.
Default size is 200 pixels. Examples:

{{thumbnail(image.png)}}
{{thumbnail(image.png, size=300, title=Thumbnail)}} -- with custom title and size
issue
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 about 11 years ago ยท 6 revisions