The :midl-file
defsystem member type can be used to include IDL files in a Lisp system definition.
When a file is given the type :midl-file
, compiling the system will compile the IDL file to produce a fasl. Loading the system will load this fasl. The :package
, :mapping-options
and :import-search-path
keywords can specified as for midl
.
;; Include the file myfile.idl in a system
(defsystem my-system ()
:members (("myfile.idl" :type :midl-file)))
LispWorks COM/Automation User Guide and Reference Manual - 14 Feb 2015