Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 715 Bytes

File metadata and controls

27 lines (22 loc) · 715 Bytes

Documentation

Build

vcpkg:

vcpkg install detours rapidjson --triplet=x64-windows-static

CMake (or open the directory with Visual Studio and config it manually):

mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE="C:\...\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows-static
cmake --build . --config Release

Build as a static library

You need to add -BUILD_SHARED_LIBS=OFF when calling cmake .. .

Also you need to add a preprocessor definition to your project: IB_INPUT_STATIC.

Test build

For the test you also need:

vcpkg install boost-test fmt

And add -DBUILD_TESTING=ON when calling cmake .. .