]>
Commit | Line | Data |
---|---|---|
f6bcfd97 BP |
1 | # -*- python -*- |
2 | import sys | |
3 | ||
4 | MODULE = 'glcanvasc' | |
5 | SWIGFILES = ['glcanvas.i', ] | |
6 | ||
7 | ||
8 | if sys.platform == 'win32': | |
9 | # SOURCES = ['_glcanvas.cpp'] | |
10 | # OTHERLIBS = 'glu32.lib opengl32.lib' | |
11 | # OTHERCFLAGS = '-DwxUSE_GLCANVAS=1' | |
12 | # OTHERRULES = ''' | |
13 | #_glcanvas.cpp : $(WXDIR)\src\msw\glcanvas.cpp | |
14 | # copy $(WXDIR)\src\msw\glcanvas.cpp _glcanvas.cpp | |
15 | #''' | |
16 | pass | |
17 | ||
18 | else: | |
19 | ||
20 | #print "Warning: Assuming MesaGL libraries. Override OTHERLIBS in build.local\n"\ | |
21 | # " if you have native GL!" | |
22 | #OTHERLIBS = "-lwx_gtk_gl -lMesaGL -lMesaGLU" | |
23 | OTHERLIBS = "-lwx_gtk_gl -lGL -lGLU" | |
24 | ||
25 |