HiTECNOLOGYs / cl-charms

More up-to-date version of cl-charms. Forked it because it was, apparently, abandoned by author and I couldn't contact him.
https://gitorious.org/cl-charms
Other
158 stars 29 forks source link

Enable to select a header file of curses library #56

Open Hamayama opened 4 years ago

Hamayama commented 4 years ago

Hello.

There are three header file name variations of curses library.

So, I tried to enable to select a header file of curses library by *features*.

Available feature names are as follows.

feature name header file remarks
:use-curses-header curses.h
:use-pdcurses-header pdcurses.h
(none) ncurses.h (default)

An example of .asd file might be as follows.

;; my-app.asd

#+win32
(eval-when (:load-toplevel :compile-toplevel :execute)
  (pushnew :use-pdcurses-header *features*))

(defsystem "my-app"
  :depends-on ("cl-charms")
  :components ((:file "my-app-main")
               (:file "my-app-sub")))