Targets

Workspace level

As the name suggests, workspace-level targets are available from the workspace directory. These are a superset of the targets available in project directories. The workspace-only targets perform higher level tasks like creating projects and generating environment scripts. As the table below explains, project-level targets invoked in the workspace are forwarded to a child make processes in each project directory.

Workspace targets

Target

Description

help

Lists available targets

rsync

Will rsync the latest test data down to your I3_TESTDATA directory

test

Will build everything, then run the test driver script to test everything, then print a summary. See Testing

test-bins

Builds test binaries. See Testing

pybindings

Builds python binding libraries.

env-check

Checks your environment for corruption. Used at various times in the build process to ensure that you haven’t set ROOTSYS in your .bashrc.

docs

make all of: html, doxygen and inspect

html

Generates this html documentation in I3_BUILD/docs

latex

Generates latex version of this documentation in I3_BUILD/latex

doxygen

runs doxygen to autogenerate documentation in I3_BUILD/docs/doxygen

inspect

builds icetray-inspect documentation in I3_BUILD/docs/inspect

rebuild_cache

See documentation for cmake and Command line configuration

edit_cache

See documentation for cmake and Command line configuration

Project level

Project level targets include several standard targets like clean and all, as well as whatever targets are created by calling cmake macros described in Icetray-specific cmake macro reference and in the standard cmake documentation.