[bakefile-devel] Precomp and wxSTC...
Robin Dunn <[email protected]>
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Vaclav, 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. 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? -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
bakefile.patch.txt
(text/plain, 604 B)
--- bakefile-0.1.1.20030723/rules/makefile_defs_msvc.bkl 2003-07-24 14:01:43.000000000 -0700
+++ bakefile-0.1.1.20030723.orig/rules/makefile_defs_msvc.bkl 2003-07-23 14:48:34.000000000 -0700
@@ -106,7 +106,7 @@
<!-- FIXME: should be cppflags, this is temporary hack to
make wxWindows work -->
<cxxflags>
- $(substituteFromDict(value,{'on':__pch_flags, 'off':'', 'auto':'/YX'}))
+ $(substituteFromDict(value,{'on':__pch_flags, 'off':''}))
</cxxflags>
</define-tag>
<define-tag name="precomp-headers-file">