-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathproject.el
74 lines (65 loc) · 2.14 KB
/
project.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
(defun pad-ocaml-project-xxx ()
(interactive)
(setq
pad-ocaml-project-path "/home/pad/c__syncweb"
pad-ocaml-project-subdirs
(split-string
"commons globals extra
h_version-control h_statistics
gui
")
pad-ocaml-project-toplevel "syncweb.top"
)
; --------------------------------------------------------------------------
; xxx
; --------------------------------------------------------------------------
(setq
pad-ocaml-project-prog "syncweb"
pad-ocaml-project-args
(join-string
(list
"-debugger"
(case 11
(0 "foo")
(1 "-view_of_orig tests/hello.nw hello.c")
(2 "-parse_view demos/demo.mli")
(3 "-sync tests/hello.nw tests/hello.c")
(10 "demos/demo.ml.nw demos/demo.ml")
(11 "-less_marks demos/demo.ml.nw demos/demo.ml")
(20 "-md5sum_in_auxfile demos/multi.nw demos/multi1.nw demos/multi2.nw multi_main.ml")
(30 "-less_marks -unparse_view demos/demo.ml.nw demo.ml")
)
)
)
)
; --------------------------------------------------------------------------
; xxx2
; --------------------------------------------------------------------------
(setq
pad-ocaml-project-prog "xxx2"
;pad-ocaml-project-prog "gui/test"
pad-ocaml-project-args
(join-string
(list
"-debugger"
(case 0
(0 "")
)
))
)
; --------------------------------------------------------------------------
; for the help system, for C-c C-h to find where to look for
(mapcar (lambda (p)
(ocaml-add-path (concat pad-ocaml-project-path "/" p))
(ocaml-add-path "/usr/lib/ocaml/3.09.2/lablgtk2")
(ocaml-add-path "/usr/lib/ocaml/3.09.2/lablgtksourceview")
(ocaml-add-path "/home/pad/comments/ocamlgtk/src")
(ocaml-add-path "/home/pad/packages/lib/ocaml/std-lib")
(ocaml-add-path "/home/pad/packages/lib/ocaml/pkg-lib/lablgtk2")
(ocaml-add-path "/home/pad/packages/lib/ocaml/pkg-lib/lablgtksourceview")
)
pad-ocaml-project-subdirs
)
)
;(setq ocaml-lib-path nil)
;(setq ocaml-module-alist 'lazy)