example: ecl_qt: move files to qt/

After the first build stage movie files to the qt/ directory (covered
in *.lisp files and Makefile).
This commit is contained in:
Daniel Kochmański 2016-08-13 12:51:43 +02:00
parent 2f2b3defd1
commit 4dd7ec150b
6 changed files with 10 additions and 9 deletions

View file

@ -1,13 +1,13 @@
all:lisp-envi.a hello-lisp-system--all-systems.fasb
#lisp environment.
lisp-envi.a: lisp-envi.asd lisp-envi.lisp build_static.lisp
qt/lisp-envi.a: lisp-envi.asd lisp-envi.lisp build_static.lisp
ecl -load build_static.lisp
#your lisp system.
hello-lisp-system--all-systems.fasb: hello-lisp-system.asd hello-lisp.lisp \
qt/hello-lisp-system--all-systems.fasb: hello-lisp-system.asd hello-lisp.lisp \
build_fasl.lisp
ecl -load build_fasl.lisp
clean:
-rm -f hello-lisp-system--all-systems.fasb lisp-envi.a
-rm -f qt/hello-lisp-system--all-systems.fasb qt/lisp-envi.a

View file

@ -17,8 +17,9 @@ that package in advance using `(ql:quickload :lparallel)`.
## Build CL Library and FASB
Run `make` in current directory and you get two files, if
successful. `lisp-envi.a` and `hello-lisp-system--all-systems.fasb`.
Run `make` in current directory and you get two files in the directory
`qt/` (if successful). `lisp-envi.a` and
`hello-lisp-system--all-systems.fasb`.
## Configure and build your Qt Project

View file

@ -4,5 +4,5 @@
(asdf:make-build :hello-lisp-system
:type :fasl
:monolithic t
:move-here "./")
:move-here "qt/")
(quit)

View file

@ -3,6 +3,6 @@
(asdf:make-build :lisp-envi
:type :static-library
:move-here "./")
:move-here "qt/")
(quit)

View file

@ -29,7 +29,7 @@ QMAKE_CFLAGS += `ecl-config --cflags`
QMAKE_LFLAGS += `ecl-config --ldflags` -lecl
# Lisp library written by a user
LIBS += $$_PRO_FILE_PWD_/../lisp-envi.a
LIBS += $$_PRO_FILE_PWD_/lisp-envi.a
RESOURCES += \

View file

@ -2,7 +2,7 @@
#include <QApplication>
#include "cl_bridge_utils.hpp"
string CL_MAIN_FASB = "\"../hello-lisp-system--all-systems.fasb\"";
string CL_MAIN_FASB = "\"hello-lisp-system--all-systems.fasb\"";
string CL_MAIN_PACKAGE_NAME = "hello-lisp";
/* Initialization.