This guide covers the installation of the Dext Framework. You can choose between the Automated Setup (recommended) or the Manual Setup.
- Delphi 11 Alexandria or newer.
- Git (to clone the repository).
Using an environment variable simplifies your Library Paths and allows you to switch between different versions/forks of Dext easily.
-
In Delphi, go to Tools > Options > IDE > Environment Variables.
-
Click New...
-
Variable Name:
DEXT -
Value: The full path to the
Sourcesdirectory inside your cloned repository.- Example:
C:\dev\Dext\DextRepository\Sources - Note: Ensure it points to the
Sourcesfolder, not the root, to match the paths below.
- Example:
Add the following paths to your Library Path (Tools > Options > Language > Delphi > Library) for your target platforms (Win32, Win64, Linux64).
If you set up the $(DEXT) variable as described above:
$(DEXT)\..\Output\$(ProductVersion)_$(Platform)_$(Config)
Add the following paths to your Browsing Path (Tools > Options > Language > Delphi > Library) for your target platforms. This allows the IDE to find the source code for debugging and "Ctrl+Click" navigation.
$(DEXT)
$(DEXT)\Core
$(DEXT)\Core\Base
$(DEXT)\Core\Json
$(DEXT)\Data
$(DEXT)\Hosting
$(DEXT)\Hosting\Cli
$(DEXT)\Hosting\Cli\Commands
$(DEXT)\Web
$(DEXT)\Web\Caching
$(DEXT)\Web\Hosting
$(DEXT)\Web\Indy
$(DEXT)\Web\Middleware
$(DEXT)\Web\MVC
- Open
Sources\DextFramework.groupproj. - Right-click ProjectGroup > Build All.
- "File not found" during Manual Build: Ensure all subdirectories in
Sourcesare covered by your Library Path or the$(DEXT)expansion.
