HPX – CMake Scripts

HPXCMake is a collection of CMake scripts to be used for modular HPX development. The goal is to provide a basic set of CMake scripts that allow a convenient way of supporting modular developement of HPX based libraries and applications. Its main goal is to provide a basis for developing HPX itself.

The key features are:

  • Specification of dependant modules

add_module() HPX_MODULE_DIR variable:CMAKE_BINARY_DIR CMAKE_BINARY_DIR

HPX – CMake Scripts

HPXCMake is a collection of CMake scripts to be used for modular HPX development. The goal is to provide a basic set of CMake scripts that allow a convenient way of supporting modular developement of HPX based libraries and applications. Its main goal is to provide a basis for developing HPX itself.

The key features are:

  • Specification of dependant modules

add_module() HPX_MODULE_DIR variable:CMAKE_BINARY_DIR CMAKE_BINARY_DIR

Table of Contents

User Guide

Installation

Creating a HPX module

Developement of a HPX module

Reference

Commands

hpx_add_module

Add a module

hpx_add_module(<module> <commit>)

Adds the module as a dependency. If the module could not be found in HPX_MODULE_DIR it will be fetched form HPX_MODULE_<module>_REPOSITORY and <commit> is checked out. The location of the checkout will be HPX_MODULE_DIR.

Variables

HPX_MODULE_DIR

The root directory where modules should be searched for if they can’t be found with find_package(MODULE)