-
-
Notifications
You must be signed in to change notification settings - Fork 330
Program()
garyo edited this page Dec 13, 2014
·
2 revisions
Program()
Tells SCons to build an executable given a list of sources. A very simple example is
#!python
## Beginning of script
sources = [ "foo.c", "bar.c" ];
Program( 'my_program', sources );
On Unix the resulting program will be 'my_program', on Windows the resulting program will be 'my_program.exe'.