#To make a solution file to navigate the SQLite source code from the Visual Studio GUI: #copy d:\work\prep\sqlite\3.8.8.3\patch\*.* d:\work\sqlite-amalgamation-3080803 #cmake -G "Visual Studio 9 2008" -DCMAKE_INSTALL_PREFIX=d:\work\local d:\work\sqlite-amalgamation-3080803 project (sqlite) cmake_minimum_required(VERSION 2.8) add_library (sqlite3 sqlite3.c sqlite3.h ) add_executable (shell shell.c ) target_link_libraries (shell sqlite3 ) install (TARGETS sqlite3 shell ARCHIVE DESTINATION lib RUNTIME DESTINATION bin) install (FILES sqlite3.h sqlite3ext.h DESTINATION include)