Skip to content

9241304/sqlcipher-amalgamation-visual-studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Make sqlite/sqlcipher amalgamation using Visual Studio Command Prompt

Prerequisites

  1. Download and install Tcl (recommended link)
  2. Add tcl tools to PATH. You can skip this step, but make sure you made SET "PATH=%PATH%;c:\path\to\tcl\tools" in Visual Studio Command Prompt

Build amalgamation

  1. Open the Visual Studio Command Prompt (Tools -> Command Line -> Developer Command Prompt)
  2. cd to your Projects or SDKs folder (e.g. C:\SDK)
  3. Clone sqlcipher (or sqlite3) repository
> git clone [email protected]:sqlcipher/sqlcipher.git`
  1. cd to cloned repository and make .am folder and cd to created folder
> cd sqlcipher
> mkdir .am
> cd .am
  1. Run amalgamation
nmake /f ../Makefile.msc sqlite3.c TOP=..

Done! Now you can use amalgamation in your project. Don`t forget add compile definitions (SQLITE_HAS_CODEC) and SSL libraries to your project, otherwise you will get regular sqlite3 functionality

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published