(* -*- tuareg -*- *) (* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (* NOTE: prepend dune.common to this file! *) let clang = Printf.sprintf {|(library (name ClangFrontend) (public_name infer.ClangFrontend) (modules %s) (flags (:standard -open Core -open InferStdlib -open IStd -open OpenSource -open InferGenerated -open InferBase -open InferIR -open Absint -open Checkers -open TestDeterminators)) (libraries core InferStdlib InferGenerated InferBase InferIR absint checkers TestDeterminators) (preprocess (pps ppx_compare)) )|} (if clang then ":standard \\ ClangFrontendStubs" else "ClangFrontendStubs") ;; Jbuild_plugin.V1.send clang