1) use cmake gui to generate vs project 2) compile and copy the DLL into the output directory.