I have followed the steps described here: https://github.com/bp-kelley/rdkit-csharp to try and create RDKits C# Wrappers.
git clone https://github.com/bp-kelley/
Try changing your cmake call to this:
cmake -G "Visual Studio 16 2019" -A x64 ... [rest of your CMake options] ...
Here is the documentation for the different platform names (architectures) you can use with VS 2019.
As the error message in your question suggests, CMake used to support specifying Win64
along with the Visual Studio version, like this: "Visual Studio 15 2017 Win64"
. However, they have stopped supporting that as of Visual Studio 16 2019, forcing us to use the -A x64
approach.