Program()

garyo edited this page Dec 13, 2014 · 1 revision

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'.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.