[avida-cvs] avida CVS commits: /current/source/qt-viewer qt-viewer.pro
kaben
avida-cvs at alife.org
Fri Oct 17 03:51:34 PDT 2003
kaben Thu Oct 16 19:51:34 2003 EDT
Modified files:
/avida/current/source/qt-viewer qt-viewer.pro
Log:
Caused addition of flag '-TP' to windows c++ commands,
permitting build of qt-viewer from the cygwin command line:
$ cd source/qt-viewer
$ qmake -makefile -win32 qt-viewer.pro -o qnmakefile
$ nmake -f qnmakefile
Index: avida/current/source/qt-viewer/qt-viewer.pro
diff -u avida/current/source/qt-viewer/qt-viewer.pro:1.7 avida/current/source/qt-viewer/qt-viewer.pro:1.8
--- avida/current/source/qt-viewer/qt-viewer.pro:1.7 Wed Jun 11 20:46:40 2003
+++ avida/current/source/qt-viewer/qt-viewer.pro Thu Oct 16 19:51:34 2003
@@ -11,6 +11,9 @@
# macx then the installation breaks.
win32 {
CONFIG += console
+# This tells the Windows c++ compiler to treat .cc files as c++ files.
+QMAKE_CXXFLAGS += -TP
+# This permits multiple definitions of symbols during the final link.
QMAKE_LFLAGS_CONSOLE += /FORCE:MULTIPLE
}
More information about the Avida-cvs
mailing list