-
Notifications
You must be signed in to change notification settings - Fork 2
/
dune-project
119 lines (109 loc) · 4.74 KB
/
dune-project
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
(lang dune 3.8)
; Recommendation: Place this file in source control.
; Auto-generated by CMake from a DkSDKProject_AddProject() statement. Edit your CMakeLists.txt files, not this.
(name SonicScout)
(version 1.0.0)
(generate_opam_files true)
; Generate .opam files in opam/
(opam_file_location inside_opam_directory)
; Do not format `dune` files because many auto-generated. Only `ocaml` and `reason` files.
(formatting (enabled_for ocaml reason))
(license "DocumentRef-Diskuv-Commercial-1.0:LicenseRef-AllRightsReserved-1")
(maintainers "Diskuv Support <[email protected]>")
(homepage "https://github.com/diskuv/scoutapps#readme")
(bug_reports "https://github.com/diskuv/scoutapps/issues")
(source (uri "git+https://github.com/diskuv/scoutapps.git"))
(authors
"Diskuv Support <[email protected]>")
(package
; This is the developer tools package. See the documentation for the CMake CACHE variable
; DKSDK_DEV_TOOLS.
;
; Future Compatibility when building outside of DkSDK
; ---
;
; The developer tools package should be installed in a different ocamlfind
; destination (different opam switch, etc.) than the other opam packages listed in this file.
; By following this recommendation you can have a different set of versions for the developer
; dependencies compared to the other packages.
; Let's walk through an example. All other opam packages listed in this file must -- if they
; have a `cmdliner` dependency -- share the same `cmdliner` version. Let's say that version is
; `cmdliner.1.1.1`. By using a distinct opam switch for the developer package, you are free to
; use `cmdliner.1.0.4` or any other version of cmdliner.
(name SonicScout)
(synopsis "Developer dependencies for the SonicScout project")
(description "The developer dependencies are distinct opam dependencies from all the other SonicScout packages")
; It is expected that many dev tools will not be used in any `dune` files
(allow_empty)
(depends
(capnp (>= 3.5.0))
(menhir (>= 20230608))
(ocaml-lsp-server (>= 1.16.1))
(ocamlformat (= 0.26.1))))
(package
(name SonicScout_Std)
(synopsis "A simple Hello World library that demonstrates how to use DkSDK CMake")
; code can be omitted when cross-compiling, but .opam file will still exist in the source tree
(allow_empty)
(description "SquirrelScout_Std is a library that has functions to do upper-casing and thread timeouts.
You can clone the project using the './dk dksdk.project.new' command; see the DkSDK.md document for more information.")
(depends
(ocaml (>= 4.14.2))
(fmt (>= 0.9.0))
(logs (>= 0.7.0))
lwt
(capnp (>= 3.5.0))
(vector (>= 1.0.0))
(yojson (>= 2.1.0))
(base64 (>= 3.5.1))
sqlite3
(qrc (>= 0.1.0))
(xdg (>= 3.12.2))
(fpath (>= 0.7.3))
(bos (>= 0.2.1))))
(package
(name SonicScout_Objs)
(synopsis "Component object model objects for SquirrelScout")
; code can be omitted when cross-compiling, but .opam file will still exist in the source tree
(allow_empty)
(description "SquirrelScout_Objs expose a register function to register the COM class and instance objects.")
(depends
(ocaml (>= 4.14.2))
DkSDKFFI_OCaml))
(package
(name SonicScout_ObjsLib)
(synopsis "Auto-registered component object model objects for SquirrelScout")
; code can be omitted when cross-compiling, but .opam file will still exist in the source tree
(allow_empty)
(description "SquirrelScout_ObjsLib registers the COM class and instance objects.")
(depends
(ocaml (>= 4.14.2))))
(package
(name SonicScout_MainCLI)
(synopsis "A simple Hello World executable that demonstrates how to use DkSDK CMake")
; code can be omitted when cross-compiling, but .opam file will still exist in the source tree
(allow_empty)
(description "SquirrelScout_MainCLI is a TCP/IP echo server that repeats whatever you send it.
You can clone the project using the './dk dksdk.project.new' command; see the DkSDK.md document for more information.")
(depends
(ocaml (>= 4.14.2))
(cmdliner (>= 1.1.0))
(logs (>= 0.7.0))
(fmt (>= 0.9.0))))
(package
(name SonicScout_ManagerApp)
(synopsis "The Manager App")
; code can be omitted when cross-compiling, but .opam file will still exist in the source tree
(allow_empty)
(description "SquirrelScout_ManagerApp is ... fill me in ....")
(depends
(ocaml (>= 4.14.2))))
(package
(name SonicScout_Units)
(synopsis "The project created within the PROJECT_NAME \"SonicScout\" project by a DkSDKProject_AddPackage() command in tests/SonicScout_Units/CMakeLists.txt that is missing a SUMMARY_ONELINER property")
; code can be omitted when cross-compiling, but .opam file will still exist in the source tree
(allow_empty)
(depends
(ocaml (>= 4.14.2))
(tezt (and :with-test (= 3.1.0)))
lwt))