Hi Chen,
Thank you.
Mainly hbqt is affected, and bcc doesn't work with QT, so we
cannot use it for this contrib (but maybe it'd be useful for
Harbour). With hbqt, just one QT header, like f.e. <QWidget>
will generate a 15MB sized .gch file with g++.
I have no idea how to generate these (per header? per source?
what switches? (especially with extension-less files like QWidget)
I tried this command, but it didn't cause any noticable speedup:
g++ -I../../include -IC:\devl\Qt\4.5.2\include -IC:\devl\Qt
\4.5.2\include\QtCore -IC:\devl\Qt\4.5.2\include\QtWebKit -IC:\devl\Qt
\4.5.2\include\QtGui -IC:\devl\Qt\4.5.2\include\QtNetwork hbqt.h
hbqt_slots.h
Two resulting .gch files became 40MB in total. Huge.
Brgds,
Viktor
On 2009.07.01., at 14:41, Chen Kedem wrote:
Viktor,
How to enable or use precompiled headers with Harbour
With BCC32 you can use:
set HB_USER_CFLAGS=-H="x:\path\file.csm" -Hc
and it create file.csm + file.#nn in x:\path\
But I get errors if I try to build whole Harbour with this flag
(and it does not like include/hbexpr[ab].c since they contain code)
Chen.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour