H3 has been successfully built on Windows using Visual Studio 2017.
You can use the CMake GUI to configure the Visual Studio project files needed to build H3. Alternately, you can do the same from the command line:
mkdir build
cd build
cmake ..
You can now open h3.sln
and build the ALL_BUILD
project to build the H3 library, filter applications, and tests. From the command line:
msbuild ALL_BUILD.vcxproj
Tests can be run by building the RUN_TESTS
project. Tests require bash
be available, which is usually supplied by Git for Windows. From the command line:
msbuild RUN_TESTS.vcxproj
You can build H3 as a shared library (DLL), but the test suite does not support this configuration because the tests use functions internal to the DLL, and they are not exposed for testing.
cmake .. -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON
msbuild ALL_BUILD.vcxproj