[Omake] A few questions
Juan Linietsky
reduzio at gmail.com
Fri Jun 20 22:28:13 PDT 2008
Hi omakers! Here's a question!
How do i make variables persistent between omakefiles? I want to have a
variable where i scan sources to compile inside many subdirs, like
imagine:
drivers/
drivers/windows
drivers/osx
drivers/opengl
and then finally i want OMake to fetch all of the .cpp files in there, and
generate
drivers/libdrivers.a
like imagine i have
in drivers/OMakefile:
OBJ_LIST[] =
and inside
drivers/opengl/OMakefile
OBJ_LIST[] += driver_opengl.cpp
So.. is there any way to do it?
then use OBJ_LIST at the end of the OMakefile in drivers/ to make the lib...
cheers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.metaprl.org/pipermail/omake/attachments/20080621/8be88816/attachment.html
More information about the Omake
mailing list