diff options
author | José Fonseca <[email protected]> | 2009-12-31 21:10:25 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-01-01 12:16:19 +0000 |
commit | 7bbf7f94ea786e41ff1364cedaf7dd5c0bbf605a (patch) | |
tree | f1869014d019a56360916119528e8a2cad7ef1bd /progs/wgl | |
parent | 58b401315b1db3c2c483e1d1df372be76ca1001a (diff) |
scons: Build progs together with everything else.
This is a substantial reorganization, This particular commit enables:
- building the progs for unices platforms
- glew is now built as a shared library (it is the default, and it is
inconvenient and pointless to shift away from that default)
- all progs get built by default
Diffstat (limited to 'progs/wgl')
-rw-r--r-- | progs/wgl/SConscript | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/progs/wgl/SConscript b/progs/wgl/SConscript index 31f61676dec..248cc53a8d7 100644 --- a/progs/wgl/SConscript +++ b/progs/wgl/SConscript @@ -1,25 +1,17 @@ Import('*') -if env['platform'] != 'windows': +if progs_env['platform'] != 'windows': Return() -env = env.Clone() - -env.Append(LIBS = [ - 'kernel32', - 'user32', - 'gdi32', -]) - progs = [ 'sharedtex_mt', 'wglthreads', ] for prog in progs: - env.Program( + progs_env.Program( target = prog, source = prog + '/' + prog + '.c', ) -env.Program('wglinfo', ['wglinfo.c']) +progs_env.Program('wglinfo', ['wglinfo.c']) |