summaryrefslogtreecommitdiffstats
path: root/progs/wgl
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-03-18 16:37:20 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-03-18 16:40:57 +0000
commit1f118c2557e44b294f12ddc3e298be6caaa3efb4 (patch)
tree2b746bc1ae4d8086c0db999ef003639f34f14a69 /progs/wgl
parent3f17030d9c09bfdfbd15f893b38ae4f8defdbfa8 (diff)
progs: Build the wgl examples with scons.
Diffstat (limited to 'progs/wgl')
-rw-r--r--progs/wgl/SConscript23
1 files changed, 23 insertions, 0 deletions
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',
+ )