view examples/opengl/hellogl/build.sh @ 393:1049b01aebd2

Fixed generator segfaults on OS X 10.6. Regarding the change to dgenerator.cpp, I am not actually sure if 0 is the correct value to pass, but it seems to work and the code which had been there before was just plain incorrect ? it read past the list boundaries.
author David Nadlinger <code@klickverbot.at>
date Sat, 28 Aug 2010 02:55:55 +0200
parents 3f976dec4bf2
children
line wrap: on
line source

#! /bin/bash
#rcc mainwindow.qrc -o mainwindow_rcc.cpp
#g++ -c -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include mainwindow_rcc.cpp
dmd main.d window.d glwidget.d opengl/gl.d opengl/glu.d -L-L../../../lib -I../../../ -I../../../qt/d1 -L-lqtdgui -L-lqtdcore -L-lqtdopengl -L-lQtGui -L-lQtCore -L-lQtOpenGL -L-lGLU -ofhellogl