SconstructShortest

garyo edited this page Dec 13, 2014 · 1 revision

Moved this from SconstructShortMsvcWin32


Just a quick comment: the above isn't really the shortest SConstruct possible. That would be something like this:

#create a.exe from a.c (assuming win32)
Program('a.c') 

which would build a.exe from a.c using all the defaults. Notice that as of SCons 0.95 or so, you can use the default environment so you don't even need to create one separately.

-- Gary O

you're right! I'm more verbose than I thought. JohnA

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.