Changeset 12353 in project for release/3/nemo/trunk/nemo.setup


Ignore:
Timestamp:
11/04/08 09:21:07 (13 years ago)
Author:
Ivan Raikov
Message:

Added skeleton for matlab code generator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/3/nemo/trunk/nemo.setup

    r12276 r12353  
    5252  `((version 1.11)
    5353    ,@(if has-exports? `((exports "nemo-nmodl.exports")) (list)) ))
     54
     55(if (file-exists? "nemo-matlab.scm")
     56    (compile -O -d2 -s -extension -o ,(dynld-name "nemo-matlab")
     57             ,@(if has-exports? '(-check-imports -emit-exports nemo-matlab.exports) '())
     58             nemo-matlab.scm))
     59
     60(if (file-exists? "nemo-matlab.scm")
     61    (install-extension
     62     
     63     ;; Name of your extension:
     64     'nemo-matlab
     65     
     66     ;; Files to install for your extension:
     67     `(,(dynld-name "nemo-matlab") 
     68       ,@(if has-exports? '("nemo-matlab.exports") (list)) )
     69     
     70     ;; Assoc list with properties for your extension:
     71     `((version 1.11)
     72       ,@(if has-exports? `((exports "nemo-matlab.exports")) (list)) )))
    5473
    5574
Note: See TracChangeset for help on using the changeset viewer.