version = "v0.9.1"
description = ""
requires(ppx_driver) = "base
                        base.caml
                        base.shadow_stdlib
                        compiler-libs
                        compiler-libs.common
                        ocaml-compiler-libs.common
                        ocaml-compiler-libs.shadow
                        ocaml-migrate-parsetree
                        ppx_ast
                        ppx_core
                        ppx_driver
                        ppx_driver.print_diff
                        ppx_inline_test.libname
                        ppx_optcomp
                        ppx_traverse_builtins
                        result
                        sexplib.0
                        stdio"
archive(ppx_driver,byte) = "ppx_bench.cma"
archive(ppx_driver,native) = "ppx_bench.cmxa"
plugin(ppx_driver,byte) = "ppx_bench.cma"
plugin(ppx_driver,native) = "ppx_bench.cmxs"
# This is what jbuilder uses to find out the runtime dependencies of
# a preprocessor
ppx_runtime_deps = "ppx_bench.runtime-lib"
# This line makes things transparent for people mixing preprocessors
# and normal dependencies
requires(-ppx_driver) = "ppx_bench.deprecated-ppx-method"
package "deprecated-ppx-method" (
  version = "v0.9.1"
  description = "glue package for the deprecated method of using ppx"
  requires = "ppx_bench.runtime-lib"
  ppx(-ppx_driver,-custom_ppx) = "./ppx.exe --as-ppx"
)
package "runtime-lib" (
  directory = "runtime-lib"
  version = "v0.9.1"
  description = "Runtime library for ppx_bench"
  requires = ""
  archive(byte) = "ppx_bench_lib.cma"
  archive(native) = "ppx_bench_lib.cmxa"
  plugin(byte) = "ppx_bench_lib.cma"
  plugin(native) = "ppx_bench_lib.cmxs"
)
