projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a demo showing how to use wxPostEvent
[wxWidgets.git]
/
utils
/
wxPython
/
modules
/
ogl
/
build.cfg
diff --git
a/utils/wxPython/modules/ogl/build.cfg
b/utils/wxPython/modules/ogl/build.cfg
index cc9d54edf122cf600671bcf6dacec1fb035f73d5..ad2c8dae6d716209f05fe6f06a8bf43816dcd2d6 100644
(file)
--- a/
utils/wxPython/modules/ogl/build.cfg
+++ b/
utils/wxPython/modules/ogl/build.cfg
@@
-1,4
+1,5
@@
# -*- python -*-
# -*- python -*-
+import sys
MODULE = 'oglc'
SWIGFILES = ['ogl.i', 'oglbasic.i', 'oglshapes.i', 'oglshapes2.i', 'oglcanvas.i']
MODULE = 'oglc'
SWIGFILES = ['ogl.i', 'oglbasic.i', 'oglshapes.i', 'oglshapes2.i', 'oglcanvas.i']
@@
-6,7
+7,11
@@
SOURCES = ['oglhelpers.cpp']
OTHERCFLAGS = '-I$(WXWIN)/utils/ogl/src'
OTHERCFLAGS = '-I$(WXWIN)/utils/ogl/src'
-OTHERLIBS = '$(WXWIN)/lib/ogl$(LIBEXT).lib'
+
+if sys.platform == 'win32':
+ OTHERLIBS = '$(WXWIN)/lib/ogl$(LIBEXT).lib'
+else:
+ OTHERLIBS = '-logl'
#OTHERSWIGFLAGS = '-stat'
SWIGDEPS = '_ogldefs.i'
#OTHERSWIGFLAGS = '-stat'
SWIGDEPS = '_ogldefs.i'
@@
-15,3
+20,4
@@
OTHERDEPS = 'oglhelpers.h $(WXPSRCDIR)/helpers.h'
# There are no platform differences so we don't need separate code directories
GENCODEDIR='.'
# There are no platform differences so we don't need separate code directories
GENCODEDIR='.'
+SWIGTOOLKITFLAG=''