OASISFormat: 0.1
Name:        with-subpackage
Version:     0.0
Synopsis:    Simple library package with a sub library
Authors:     Sylvain Le Gall
License:     LGPL with OCaml linking exception
Plugins:     META (0.0.1)
BuildTools:  ocamlbuild

Library test
  Path:    src
  Modules: A, B

Document test
  Title:                API reference for test
  Type:                 ocamlbuild (0.1.0)
  InstallDir:           $htmldir/test
  BuildTools+:          ocamldoc
  XOCamlbuildPath:      src
  XOCamlbuildLibraries: test

# This library will be installed with library 'test' above
# and will be named 'test.syntax'.
Library pa_test
  Path:           src/syntax
  Modules:        Pa_test
  FindlibName:    syntax
  FindlibParent:  test
  CompiledObject: byte

Executable mytest
  Path:    src
  MainIs:  main.ml
  # We need to use the findlib name to build depend on
  # pa_test library.
  BuildDepends: test.syntax, test
  Install:      false
