Getting Started and Core Concepts¶
These documents should be the first ones read by new Dune users. They explain what Dune is, how it works, and how to use it.
- Overview
- Quickstart
- Initializing Projects
- Building a Hello World Program From Scratch
- Building a Hello World Program Using Lwt
- Building a Hello World Program Using Core and Jane Street PPXs
- Defining a Library Using Lwt and
ocaml-re
- Building a Hello World Program in Bytecode
- Setting the OCaml Compilation Flags Globally
- Using Cppo
- Defining a Library with C Stubs
- Defining a Library with C Stubs using
pkg-config
- Using a Custom Code Generator
- Defining Tests
- Building a Custom Toplevel
- Command-Line Interface
- Initializing Components
- Finding the Root
- Interpretation of Targets
- Finding External Libraries
- Running Tests
- Watch Mode
- Launching the Toplevel (REPL)
- Restricting the Set of Packages
- Distributing Projects
dune subst
- Custom Build Directory
- Installing a Package
- Querying Merlin Configuration
- Running a Coq Toplevel