Page 1 of 1

Including flags in the build command.

Posted: Tue Dec 20, 2005 1:55 pm
by tcp
Hello,

I need to insert 2 extra flags to compile static blender (-lXxf86vm -ldrm).
Where can I include them (which SConscript or config file?) ?

Thanks.

Posted: Wed Dec 21, 2005 9:42 am
by russose
Hallo tcp,

You have to update the Sconscript file in blender/source with your extra flag (look at your specific platform setting, there is something like EXTRA_FLAG= []).
But then, you need to delete the config.opt file and scons will generate a good one with your extra flags.

It should then work.

Salvatore

Posted: Wed Dec 21, 2005 3:42 pm
by Michel
Hi,
russose wrote:You have to update the Sconscript file in blender/source with your extra flag (look at your specific platform setting, there is something like EXTRA_FLAG= []).
But then, you need to delete the config.opt file and scons will generate a good one with your extra flags.
Erm, the config.opts file is exactly for specifying user configurable options so that you don't have to go through the SConscript file. Just add the needed flags to the EXTRA_FLAG in config.opts.
If that doesn't work, then you've found a bug.

Michel