Re: [bakefile-devel] Precomp and wxSTC...
Vaclav Slavik <[email protected]>
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <200307242334.18146.vaclav.slavik__31360.802477184$1077446589@matfyz.cz> |
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> (/Yu instead of /YX) and <precomp-headers-header> (wxprec.h). Only the compilation is _much_ slower with /YX than with /Yu. > I can then add a line to > 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) is the ability to tell bakefile to not use precompiled headers with some files (e.g. *.c files or STC files). I'll post to wx-dev with a (temporary) hack to make wxSTC compile. Thanks! Vaclav -- PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x465264C9
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/IFDaxDYa/UZSZMkRAvU0AJ9SwtG2X0kg8IOsc27dU8V5P9clOgCeM/UK EsAwEWHmcgGuxOdNweZFmmA= =j8N3 -----END PGP SIGNATURE-----