Properly compiling modules in subfolders (ocamlbuild)

前端 未结 2 1637
面向向阳花
面向向阳花 2021-02-14 10:42

I recently decided to organize the files in my project directory. I moved the parsers I had for a few different file types into their own directory and also decided to use ocaml

2条回答
  •  被撕碎了的回忆
    2021-02-14 11:18

    You need to "include" the parser directory in the search path. You can do this in _tags:

    "parser": include
    

    Then ocamlbuild can search the parser directory for interesting files.

提交回复
热议问题