We are providing two packages for FPC/Lazarus:
mormot_base
: Core units needed by mORMot- Implements ORM, SOA and MVC features
- ORM via static-linked SQLite3
- ORM over external SQL and MongoDB
- High-level Domain-Driven-Design units
mormot_cross
: Stand-alone package, client-side only, but should be running on all FPC targets
Initially these Packages were designed to compile into Lazarus.
The mormot_base
package has just one dependency, disabled by default, which is ZeosLib.
If you want to use ZeosLib, you must setup the package before compile it, follwoing instructions below:
- Open the Package
- Click on Options
- In "Compile Options", click on "Custom Options"
- Click on "Defines" and uncheck
NOSYNDBZEOS
conditional - Add
zcomponent
package from ZeosLib into it. - Save and return to Package
- Compile
If you have compiled without using this option before, follow the steps above, but using "More > Recompile Clean" option to recompile the package.
If NOSYNDBZEOS
is defined, SynDBZeos.pas
unit will be just an "empty unit".
Delphi Packages are not defined since they don't make sense for mORMot source code, which doesn't have any visual component.
Just get the mORMot sources, then add the corresponding search path to your IDE. See the corresponding documentation.