[Omake] env variable
Aleksey Nogin
anogin at hrl.com
Wed May 16 09:39:32 PDT 2007
On 15.05.2007 22:13, Anastasia Gornostaeva wrote:
> How I can set environment variable in OMAkefile?
> I need to set OCAMLPATH variable for ocamlfind. Simply putting
>
> OCAMLPATH=/path
> export OCAMLPATH
> USE_OCAMLFIND = true
> ...
> does not work for me.
You need to use the setenv function:
setenv(OCAMLPATH, /path)
USE_OCAMLFIND = true
See also http://omake.metaprl.org/omake-base.html#fun:setenv
Aleksey
--
Aleksey Nogin, Research Staff Member
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA
More information about the Omake
mailing list