We need to change some project properties to generate code from Visual Studio. Select "All configuration" and clear all settings on the "NMake" page. Then add spell tool calling as "Build command line". For example:
D:\Projects\GenieLamp\Bin\Release\GenieLamp.Spell.exe -i QuickStart.Project.xml

Now add domain layer class library project to solution.

Delete "Class1.cs" automatically created by project wizard and leave project empty.
Execute "build" on modeling project and view output. If there no errors occurred during generation and database creation/updating the output can contains some warning messages. You may suppress them with -w option of spell tool.
Some errors may have an incorrect database interactive SQL utility parameters as source (see SQL Server Genie configuration in "QuickStart.Project.xml"). In this example we use connection with integrated security (log on as current Windows user) to default instance of SQL Server on your PC:
sqlcmd -b -S localhost -i %FILE_NAME%
When you use SQL Server Express, the instance by default is "SQLExpress" so
sqlcmd -b -S .\SQLExpress -i %FILE_NAME%
In other cases check it and modify if need.
When modeling project is successfully built the database will be created:

SQL Server Genie generates 3 files. UPD_QuickStart.sql is used to create or update database catalog. Be aware that updating will add new tables or columns only. Delete objects from database manually if need.
As we defined in GL project configuration, domain layer files are generated in "Domain" directory. Then we add these files to NHibernate domain project:
Make "QuickStart.Domain.hbm.xml" an embedded resource (file properties, "build action" then select "embedded resource").
Add NHibernate references to project (NHibernate and IesiCollection assemblies).
Now we build domain layer project.

Uncheck modeling project from automatic build to avoid code regeneration every time when build of entire solution is selected.

Wiki: Quick start
Wiki: QuickStart2Modeling
Wiki: SQL Server genie