Fork from the original libffi which can be compiled using the Cmake build system. This project is meant to help the build of Calculate Binding project, so the number of platforms supported may be lower than the original's (at first, mainly x86).
Library version 3.2.1
- Windows x86 - Microsoft Visual C++ Compiler
- Windows x86-64 - Microsoft Visual C++ Compiler
Using the Microsoft Visual C++ Compiler under Windows:
cmake -H. -B{build_dir} -G"NMake Makefiles" -DCMAKE_BUILD_TARGET=<Debug|Release>
cmake --build {build_dir} --target ffi
See accompanying copying file.