[Omake] vmount and separate build directory

Andrew Gacek andrew.gacek at gmail.com
Fri Nov 16 06:53:35 PST 2007


Hi,

I have an OCaml project and I'd like to create a separate build
directory in order to keep build files out of my source tree. The
current structure of my project is a root directory with a src
subdirectory. I've tried adding the following to my root OMakefile,

section
    CREATE_SUBDIRS = true
    vmount(src, build)
    .SUBDIRS: build

This allows me to execute "omake build\target.exe" but the build
fails. It looks like it's trying to build my files in the wrong order
and therefore fails due to dependencies. Is there something else I
need to add to my OMakefile to get it to manage these dependencies
correctly?

I'm using OCaml version 3.10.0, OMake version 0.9.5.2 (release 2), and
windows xp.

Thanks,
Andrew


More information about the Omake mailing list