Please note:The SCons wiki is in read-only mode due to ongoing spam/DoS issues. Also, new account creation is currently disabled. We are looking into alternative wiki hosts.

Program()

Tells SCons to build an executable given a list of sources. A very simple example is

   1 ## Beginning of script
   2 sources = [ "foo.c", "bar.c" ];
   3 Program( 'my_program', sources );

On Unix the resulting program will be 'my_program', on Windows the resulting program will be 'my_program.exe'.

Program() (last edited 2008-07-06 00:08:49 by JohnFemiani)