Flag byteweight
  Description: Build byteweight library
  Default: false

Library bap_byteweight
  Path:            lib/bap_byteweight
  FindLibName:     bap-byteweight
  Build$:          flag(everything) || flag(byteweight)
  CompiledObject:  best
  Modules:         Bap_byteweight, Bap_byteweight_signatures
  BuildDepends:    bap, bap-main, bap-core-theory, bap-knowledge,
                   core_kernel, uri, camlzip, ppx_bap

Library byteweight_plugin
  Path:             plugins/byteweight
  FindlibName:      bap-plugin-byteweight
  Build$:           flag(everything) || flag(byteweight)
  CompiledObject:   best
  BuildDepends:     bap, bap-byteweight, core_kernel, ppx_bap,
                    bitvec, bitvec-order,
                    bap-knowledge, bap-core-theory, bap-main
  InternalModules:  Byteweight_main
  XMETADescription: find function starts using Byteweight algorithm
  XMETAExtraLines:  tags="pass, rooter"
