Building HPX on Windows - STEllAR-GROUP/hpx GitHub Wiki
-
Install Visual Studio (Visual Studio)
-
Install Git (Git)
-
Install CMake (CMake)
-
Build Vcpkg (in Git Bash) in the desired folder:
> git clone https://github.com/Microsoft/vcpkg.git
> cd vcpkg
> .\bootstrap-vcpkg.bat
> .\vcpkg integrate install
- Install hwloc
> .\vcpkg.exe install hwloc:x64-windows
- Install Boost (This may take a long time ~ 2hrs).
> .\vcpkg.exe install boost:x64-windows
- Clone HPX
> git clone https://github.com/STEllAR-GROUP/hpx.git
- Open the CMAKE GUI.
- Set the source code to the path of the HPX source.
- Set the build the binary to where you want HPX to be built.
- Add the following entries:
set
CMAKE_TOOLCHAIN_FILE
(it's a file path)vcpkg\scripts\buildsystems\vcpkg.cmake
setCMAKE_BUILD_TYPE
(it's a string) toDebug
.
- Configure
- Generate
- Open Project
- Right-click on any target and click build (click on
ALL_BUILD
to build all).