To expand a bit:
- Download and install CMake. Check the CMakelists.txt file to see the minimum CMake version required for the project. The current CMake 3.x will probably be fine.
- You probably want to do a build outside of the source tree, so make a directory where the MSVC project will be generated.
- Open a Visual Studio DOS command window and CD to that directory.
- Run the command: cmake -G"NMake Makefiles" <path to root of SQLCipher source tree>
(where of course you substitute the actual path for "<path to ...>")
- The previous step generates NMake Makefiles. If you want to generate a Visual Studio "solution" instead, use "Visual Studio 14 2015" instead of "NMake Makefiles". Note it is case-sensitive. See the CMake documentation for more options.
- If you generated Makefiles, the next step is to build your project: "cmake --build ." Otherwise, open the solution in VS and build it there.
Bookmarks