summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct17
1 files changed, 17 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 1c308bda..f98a91d9 100644
--- a/SConstruct
+++ b/SConstruct
@@ -123,6 +123,23 @@ if has_d3d9:
env.Default(d3d9)
+env.Command(
+ target = 'opengl32.cpp',
+ source = ['opengl32.py', 'gl.py', 'windows.py', 'base.py'],
+ action = 'python $SOURCE > $TARGET',
+)
+
+opengl32 = env.SharedLibrary(
+ target = 'opengl32',
+ source = [
+ 'opengl32.def',
+ 'opengl32.cpp',
+ 'log.cpp',
+ ]
+)
+
+env.Default(opengl32)
+
env.Tool('packaging')
zip = env.Package(