X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1bc9efeffbb308a3a7f9ede2ae80636e2745ef4..8a35299aa9aaded752359a8b1a156baecd2b5d44:/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 24103b4131..fb9ad4b057 100644 --- a/utils/wxPython/modules/glcanvas/build.cfg +++ b/utils/wxPython/modules/glcanvas/build.cfg @@ -4,6 +4,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 # Unix make system isn't so advanced, so we'll go looking for the source @@ -12,9 +13,10 @@ if sys.platform == 'win32': OTHERLIBS = '$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib' else: SOURCES = [GENCODEDIR+'/_glcanvas.cpp'] - print "Warning: assuming MesaGL libraries. Modify build.cfg if you have native GL!" + print "Warning: Assuming MesaGL libraries. Override OTHERLIBS in build.local\n"\ + " if you have native GL!" OTHERLIBS = "-lMesaGL -lMesaGLU" OTHERRULES = """ -$(GENCODEDIR)/_glcanvas.cpp : +$(GENCODEDIR)/_glcanvas.cpp : cp $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.cpp $@ """