X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd4ff3bf16b71f8d3896dd17ff9a579a07e3a088..7b5d569973c2bf329a666c38e1612ca836695576:/utils/wxPython/modules/glcanvas/build.cfg?ds=sidebyside diff --git a/utils/wxPython/modules/glcanvas/build.cfg b/utils/wxPython/modules/glcanvas/build.cfg index 5590226076..d24e39c800 100644 --- a/utils/wxPython/modules/glcanvas/build.cfg +++ b/utils/wxPython/modules/glcanvas/build.cfg @@ -3,7 +3,7 @@ import sys MODULE = 'glcanvasc' SWIGFILES = ['glcanvas.i', ] -OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\%s' % (GENCODEDIR,) + # Special action; for win32 we require you make the glcanvas lib. The # makefile will copy it to WXWIN\lib @@ -11,13 +11,22 @@ OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\%s' % (GENCODEDIR,) # file ourselves... if sys.platform == 'win32': OTHERLIBS = '$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib' + OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)/utils/glcanvas/win' + else: - OTHERLFLAGS='-v' - SOURCES = [GENCODEDIR+'/_glcanvas.cpp'] + +# SOURCES = [GENCODEDIR+'/_glcanvas.cpp'] print "Warning: Assuming MesaGL libraries. Override OTHERLIBS in build.local\n"\ " if you have native GL!" - OTHERLIBS = "-lMesaGL -lMesaGLU" - OTHERRULES = """ -$(GENCODEDIR)/_glcanvas.cpp : - cp $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.cpp $@ -""" + OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)/utils/glcanvas/gtk' + OTHERLIBS = "-lwxglcanvas -lMesaGL -lMesaGLU" +# OTHERRULES = """ +#$(GENCODEDIR)/_glcanvas.cpp : $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.cpp +# cp $< $@ +#glcanvas.h : $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.h +# cp $< $@ +#_glcanvas.o : glcanvas.h +#""" + + +