Source

xJs / lib / OMakefile

Full commit
NATIVE_ENABLED=true # No meaning, but MyOCamlPackage requires it is true

OCAMLPACKS[] =
    lwt
    js_of_ocaml
    spotlib_js

OCAMLDEPFLAGS= -syntax camlp4o -package lwt,js_of_ocaml.syntax
OCAMLPPFLAGS= -syntax camlp4o -package lwt,js_of_ocaml.syntax

FILES[] =
    std
    base
    xUnsafe
    http
    gChart
    gMaps
    google

MyOCamlPackage(xJs, $(FILES), $(EMPTY), $(EMPTY))