Re: [bakefile-devel] Precomp and wxSTC...

Vaclav Slavik <[email protected]> Thu, 24 Jul 2003 23:34:17 +0200
Newsgroups gmane.text.documancer.user
Message-ID <[email protected]>
--Boundary-02=_aDFI/Xi0MqJImRw
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: signed data
Content-Disposition: inline

Hi,

Robin Dunn wrote:
> I mentioned on wx-dev last night that I'm having troubles building
> wxSTC using MSVC and the baked makefile.  I've found a partial
> solution that I'll send here for comment.  Basically it adds new
> "auto" value for the precomp-headers setting that will cause it to
> use just /YX instead of /Yuwx/wxprec.h.

The same effect should be possible by not using <precomp-headers-gen>=20
(/Yu instead of /YX)  and <precomp-headers-header> (wxprec.h). Only=20
the compilation is _much_ slower with /YX than with /Yu.

> I can then add a line to=20
> the stc.blk to override the "on" value inherited from the parent
> templates. The only issue (but a minor one) is that it still builds
> dummy.obj.  I couldn't see a way to turn that off in the derived
> template...
>
> Thoughts?

I think that the real fix that we need (and not only because of this)=20
is the ability to tell bakefile to not use precompiled headers with=20
some files (e.g. *.c files or STC files). I'll post to wx-dev with a=20
(temporary) hack to make wxSTC compile.

Thanks!
Vaclav

=2D-=20
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0x465264C9

--Boundary-02=_aDFI/Xi0MqJImRw
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/IFDaxDYa/UZSZMkRAvU0AJ9SwtG2X0kg8IOsc27dU8V5P9clOgCeM/UK
EsAwEWHmcgGuxOdNweZFmmA=
=j8N3
-----END PGP SIGNATURE-----

--Boundary-02=_aDFI/Xi0MqJImRw--