 |
-
Create a build folder. HPX requires an out-of-tree-build. This means
that you will be unable to run CMake in the HPX source folder.
-
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 variable needs to be set to point to the root folder of your Boost
installation. It is recommended to set the variable CMAKE_INSTALL_PREFIX
as well. This allows to control where the built HPX libraries will
be installed.
-
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).
-
Press "Configure" again. Repeat this step until the "Generate"
button becomes clickable (and until no variable definitions are marked
red anymore).
-
Press "Generate".
-
Open up the build folder, and double-click hpx.sln.
-
Build the INSTALL target.