$ cd <PROJECT_FOLDER>
$ mkdir build; cd build
$ cmake -DOPENSSL_STATIC_LINK=ON -DYKPIV_STATIC_LINK=ON ..
$ make
Or just run the build.sh.
./build.sh
The binary file will be generated under <PROJECT_FOLDER>/build/tool/
.
Set-ExecutionPolicy RemoteSigned
.\build.ps1
The binary file will be generated under <PROJECT_FOLDER>\build\tool\Release
.
Check here for more details about Windows build.
Check Yubico's README for details.
Check here