64 lines
1.1 KiB
Text
64 lines
1.1 KiB
Text
HOWTO
|
|
=====
|
|
|
|
|
|
Prepare:
|
|
--------
|
|
|
|
- in "make.lisp", add all of your lisp files to *lisp-files*
|
|
|
|
- alternatively (using ASDF) see "my-app.asd" and "dependencies.lisp"
|
|
|
|
|
|
Build (simple, no ASDF):
|
|
------------------------
|
|
|
|
remove "tmp/" (if present)
|
|
|
|
$ eql5 make
|
|
$ qmake
|
|
$ make (MSVC: nmake)
|
|
|
|
Now you should find a "my_app" executable.
|
|
|
|
|
|
Build (using ASDF with dependencies):
|
|
-------------------------------------
|
|
|
|
remove "tmp/" (if present)
|
|
|
|
$ eql5 make-ASDF
|
|
$ qmake
|
|
$ make (MSVC: nmake)
|
|
|
|
Now you should find a "my_app" executable, containing everything in one exe.
|
|
|
|
Please note files:
|
|
|
|
my-app.asd ; define system
|
|
package.lisp ; example package
|
|
dependencies.lisp ; for Quicklisp (used in "run" and "make-ASDF")
|
|
run.lisp ; load system (compiled)
|
|
r.lisp ; load system (interpreted, for development)
|
|
|
|
|
|
Notes:
|
|
------
|
|
|
|
[Windows]
|
|
|
|
Please note function
|
|
|
|
eql.ignoreIOStreams();
|
|
|
|
in main.cpp, as printing to *standard-output* would crash your GUI
|
|
application.
|
|
|
|
|
|
Deploy:
|
|
-------
|
|
|
|
You may want to strip your exe before deploying:
|
|
|
|
$ strip my_app
|
|
|