Home

Awesome

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.

Updated 11/8/24 to test 2FA.