Please note:The SCons wiki is now restored from the attack in March 2013. All old passwords have been invalidated. Please reset your password if you have an account. If you note missing pages, please report them to webmaster@scons.org. Also, new account creation is currently disabled due to an ongoing spam flood (2013/08/27).

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)