validator-keys-tool
validator-keys-tool copied to clipboard
Improve Visual Studio build check for newer versions
This is basically the same change that was included in https://github.com/ripple/rippled/pull/4150
Building with the Visual Studio 19 or 22 cmake generators fails because "Win64" is not included in the name. That's because the naming convention was changed between 17 and 19 to not include the architecture, and the default was changed to 64-bit, so the check can be a lot looser.
Is this file even used? When building the validator-keys-tool I had to update the one in .nih_c coming from the rippled download
It is. Make sure that the rippled download has version 1.9.1, which has this same fix. Basically, this condition gets checked twice - once by validator-keys-tool, once by rippled. If you try to build develop using one of the VS generators ("Visual Studio 16 2019" or "Visual Studio 17 2022"), it will fail.
Thanks Ed. I had updated manually the KeySanity.cmake last week, but forgot all about it :-), so indeed the change is needed!
@ximinez is this still worth including? Should I merge it?
is this still worth including? Should I merge it?
@intelliot I think it is, yes.