As mORMot is actively being developed, the best way of getting hold of the library is to grab the latest, bleeding edge, code. We do that by:
- Getting and installing git
- Grab a copy of the repository
- Configuring Delphi to use the library
Step 1: Get git!
This is easy enough. Visit http://msysgit.github.io/ and download and install the appropriate package.
Step 2: Get the code!
Almost as easy! Open a command prompt, change to the drive and directory where you want the library to live and type:
git clone https://github.com/synopse/mORMot.git
I suggest something like
E: git clone https://github.com/synopse/mORMot.git mORMot
This will create and download a copy of the repository to E:\mORMot\
Next we need to grab a copy of the SQLite 3 static .obj files. This will allow our mORMot based application to embed the SQLite engine in our application.
Grab http://synopse.info/files/sqlite3obj.7z and extract to yourE:\mORMot\ folder. If you plan to develop for 64-bit targets grab http://synopse.info/files/SQLite3-64.7z and place sqlite3-64.dll in your project’s build directory or in your Windows directory.
Step 3: Configure the environment!
Add the following to your Delphi Library Path:
Step 4: Test the environment!
Open E:\mORMot\SQLite3\TestSQL3.dpr and run it. Make sure all the tests pass.