]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/modules/glcanvas/build.cfg
2c : check menu was inversely set
[wxWidgets.git] / utils / wxPython / modules / glcanvas / build.cfg
CommitLineData
5148fc8e 1# -*- python -*-
f786a3b2 2import sys
5148fc8e
RD
3
4MODULE = 'glcanvasc'
5SWIGFILES = ['glcanvas.i', ]
f786a3b2
HH
6OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\%s' % (GENCODEDIR,)
7# Special action; for win32 we require you make the glcanvas lib. The
8# makefile will copy it to WXWIN\lib
9# Unix make system isn't so advanced, so we'll go looking for the source
10# file ourselves...
11if sys.platform == 'win32':
12 OTHERLIBS = '$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib'
13else:
14 SOURCES = [GENCODEDIR+'/_glcanvas.cpp']
d1bc9efe
HH
15 print "Warning: assuming MesaGL libraries. Modify build.cfg if you have native GL!"
16 OTHERLIBS = "-lMesaGL -lMesaGLU"
f786a3b2
HH
17 OTHERRULES = """
18$(GENCODEDIR)/_glcanvas.cpp :
19 cp $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.cpp $@
20"""