Create a build folder. HPX requires an out-of-tree-build.
This means that you will be unable to run CMake in the HPX
Open up the CMake GUI. In the input box labelled "Where is the
source code:", enter the full path to the source folder. In the
input box labelled "Where to build the binaries:", enter
the full path to the build folder you created before.
Add CMake variable definitions (if any) by clicking the "Add Entry"
button. The only required variable you need to define is
BOOST_ROOT. This (PATH) variable
needs to be set to point to the root folder of your Boost installation.
It is recommended to set the variable
as well. This allows to control where the built HPX libraries will
be installed. If this (PATH) variable is set, it has to refer to the
directory where the built HPX files should be
Press the "Configure" button. A window will pop up asking
you which compilers to use. Select the Visual Studio 10 (64Bit) compilers
(they are usually the default if available).
Make sure that the under the
tree that the
build type is set to Debug or Release, according to what you plain
Press "Configure" again. Repeat this step until the "Generate"
button becomes clickable (and until no variable definitions are marked
Open up the build folder, and double-click hpx.sln.
Build the INSTALL target.
For more detailed information about using CMake
please refer its documentation and to the section Building
HPX with CMake.