1. Download SQLITE3
-
build
sqlite3.dll:cl sqlite3.c /LD -
generate
sqlite3.lib:lib sqlite3.obj -
build
sqlite3.exe:cl shell.c sqlite3.lib -o sqlite3.exe
EXE_SQLITE3: file path ofsqlite3.exeSQLITE3_INCLUDE_DIR: directory wheresqlite3.hlocatedSQLITE3_LIBRARY: file path ofsqlite3.lib
run cmake -G"Visual Studio 15 2017 Win64" -DEXE_SQLITE=sqlite3\sqlite3.exe -DSQLITE3_INCLUDE_DIR=sqlite3 -DSQLITE3_LIBRARY=sqlite3\sqlite3.lib -DCMAKE_INSTALL_PREFIX=distro ..
in this case, i am using build directory inside proj4 directory from git and put sqlite3 directory inside build directory.
msbuild PROJ4.sln (Debug) or msbuild PROJ4.sln /property:Configuration=Release for Release version
msbuild INSTALL.vcxproj or msbuild INSTALL.vcxproj /property:Configuration=Release
go to build directory and run
cmake --build . --target ALL_BUILD --config Release for Release version
cmake --buid . --target INSTALL --config Release