view examples/opengl/hellogl/build.sh @ 396:d0a103f25091

Work around CTFE regression in DMD. The error message emitted by DMD 2.051 was ?Declaration (string, ?, string) allSymbols = tuple("__ctor", ?, "__T8Q_OBJECTZ") is not yet implemented in CTFE?.
author David Nadlinger <code@klickverbot.at>
date Mon, 03 Jan 2011 08:06:13 +0100
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