OASISFormat: 0.3
Name:        gen
Version:     0.5
Homepage:    https://github.com/c-cube/gen
Authors:     Simon Cruanes
License:     BSD-3-clause
LicenseFile: LICENSE
Plugins:     META (0.3), DevFiles (0.3)
BuildTools:  ocamlbuild

Synopsis:    Simple, efficient iterators for OCaml

Flag "bench"
  Description: build benchmark
  Default: false

Library gen
  Path:             src
  Pack:             false
  Modules:          Gen, GenLabels, GenClone, GenMList, Gen_intf,
                    GenLabels_intf, GenM, GenM_intf

Document gen
  Title:                Containers docs
  Type:                 ocamlbuild (0.3)
  BuildTools+:          ocamldoc
  Install:              true
  XOCamlbuildPath:      src
  XOCamlbuildLibraries: gen

PreBuildCommand: make qtest-gen

Executable run_qtest
  Path:             qtest/
  Install:          false
  CompiledObject:   native
  MainIs:           run_qtest.ml
  Build$:           flag(tests)
  BuildDepends:     gen, oUnit, qcheck

Test all
  Command: make test-all
  TestTools: run_qtest
  Run$: flag(tests)

Executable run_benchs
  Path:           bench/
  Install:        false
  CompiledObject: native
  MainIs:         run_benchs.ml
  Build$:         flag(bench)
  BuildDepends:   gen, benchmark

SourceRepository head
  Type: git
  Location: https://github.com/c-cube/gen
  Browser: https://github.com/c-cube/gen/tree/master/src
