From 1f118c2557e44b294f12ddc3e298be6caaa3efb4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 18 Mar 2009 16:37:20 +0000 Subject: [PATCH] progs: Build the wgl examples with scons. --- progs/SConscript | 1 + progs/wgl/SConscript | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 progs/wgl/SConscript diff --git a/progs/SConscript b/progs/SConscript index 71db2831d6e..71ebe5e0f37 100644 --- a/progs/SConscript +++ b/progs/SConscript @@ -8,4 +8,5 @@ SConscript([ 'vp/SConscript', 'vpglsl/SConscript', 'fp/SConscript', + 'wgl/SConscript', ]) diff --git a/progs/wgl/SConscript b/progs/wgl/SConscript new file mode 100644 index 00000000000..b7cf35b7fce --- /dev/null +++ b/progs/wgl/SConscript @@ -0,0 +1,23 @@ +Import('*') + +if env['platform'] != 'windows': + Return() + +env = env.Clone() + +env.Append(LIBS = [ + 'kernel32', + 'user32', + 'gdi32', +]) + +progs = [ + 'sharedtex_mt', + 'wglthreads', +] + +for prog in progs: + env.Program( + target = prog, + source = prog + '/' + prog + '.c', + ) -- 2.30.2