1- I am trying to get some environment variables into the Tupfile.lua file, 
what's the best way of doing this?
(I tried os.getenv("HOME") but it obviously doesn't work since most modules 
are disabled) 

2- I have a project that I build on the 3 major platform. I'd like to be 
able to run some sort of configure step before tup,
in which platform dependent variables (name of compiler, location of 3rd 
party libraries...) are properly set.
(For example, on OSX I have libboost_system-mt.a and on Linux I have 
libboost_system.a)

Is this possible using the Lua API? Or I need to have a separate script 
that creates, say, Tuprules.lua before invoking 'tup'

Thanks in advance,
Hamid

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to