Including flags in the build command.

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
tcp
Posts: 0
Joined: Mon Nov 28, 2005 8:34 pm

Including flags in the build command.

Post by tcp » Tue Dec 20, 2005 1:55 pm

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.

russose
Posts: 0
Joined: Mon Apr 19, 2004 5:01 pm

Post by russose » Wed Dec 21, 2005 9:42 am

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

Michel
Posts: 180
Joined: Wed Oct 16, 2002 7:27 pm
Location: Somewhere below the rivers in Holland (but not Limburg)

Post by Michel » Wed Dec 21, 2005 3:42 pm

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
You can have one of two things: Progress or Progress Reports.

Post Reply