All Projects → dbetz → xlisp

dbetz / xlisp

Licence: MIT license
XLISP - an object-oriented LISP

Programming Languages

c
50402 projects - #5 most used programming language
NewLisp
63 projects

xlisp

An object-oriented LISP

Version 3.0

February 18, 2006

Building with CMake

We've added the ability to build with CMake to simplify building XLisp on your system. The way that we expect this to work on Linux systems using make would be to first make a build directory. For this walkthrough we'll say that we start in the xlisp directory:

cd ..
mkdir build
cd build
ccmake ../xlisp

So, now we have made a build directory outside of xlisp, so that the build products don't get strewn all over our pristine source. The ccmake command is a curses front end to CMake that I like. From there you can pick the type of build, then type "g" for generate. This drops you out in a shell prompt, where it has made makefiles for you (on other platforms, you may have other types of build files generated). After that you can:

make
# and then, either:
make install
# or
make package

With the CMake file we have in there, it also has a "package" target, which will most likely result in a gzipped tar file of the build products. It is also possible to alter the CMakeLists.txt file to generate other package types, such as *.rpm, *.deb, etc.

David Michael Betz

18 Garrison Drive Bedford, US, NH 03110

(603) 472-2389 (home)

Copyright (c) 1984-2006, by David Michael Betz

All Rights Reserved

See the included file LICENSE for the full license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].