[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] PCH
From: |
Greg Chicares |
Subject: |
Re: [lmi] PCH |
Date: |
Mon, 6 Jun 2016 20:37:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 |
On 2016-06-05 23:33, Greg Chicares wrote:
> On 2016-06-05 22:23, Vadim Zeitlin wrote:
>> On Sun, 5 Jun 2016 22:04:32 +0000 Greg Chicares <address@hidden> wrote:
>>
>> GC> (1) #include LMI_PCH_HEADER
>> GC>
>> GC> What macro definition makes that work with gcc?
>>
>> Nothing really special, i.e. here is what I have in Makefile.am:
>>
>> AM_CXXFLAGS = -DLMI_PCH_HEADER="<pchfile.hpp>"
>>
>> and, for the GUI code:
>>
>> libskeleton_la_CXXFLAGS = ... -DLMI_PCH_HEADER="<pchfile_wx.hpp>"
>
> I'll change the '.cpp' files,
Pushed. I used the lists here:
https://github.com/vadz/lmi/blob/tt/pchfile.hpp
https://github.com/vadz/lmi/blob/tt/pchfile_wx.hpp
and guessed that their order didn't matter.
I wonder about one thing: the original 'pchfile.hpp' included
'wx/wxprec.h', and it's still mentioned here:
https://wiki.wxwidgets.org/Precompiled_Headers
but not here:
https://github.com/vadz/lmi/blob/tt/pchfile_wx.hpp
Perhaps you've tailored that list of files to lmi's needs.
> but leave 'Makefile.am' to you.
I didn't touch that.
- Re: [lmi] [lmi-commits] (no subject), Vadim Zeitlin, 2016/06/05
- Re: [lmi] [lmi-commits] (no subject), Greg Chicares, 2016/06/05
- Re: [lmi] PCH, Vadim Zeitlin, 2016/06/05
- Re: [lmi] PCH, Greg Chicares, 2016/06/05
- Re: [lmi] PCH, Vadim Zeitlin, 2016/06/05
- Re: [lmi] PCH, Greg Chicares, 2016/06/05
- Re: [lmi] PCH,
Greg Chicares <=
- Re: [lmi] PCH, Vadim Zeitlin, 2016/06/11
- Re: [lmi] PCH, Greg Chicares, 2016/06/13
- Re: [lmi] PCH, Vadim Zeitlin, 2016/06/13
- Re: [lmi] PCH, Greg Chicares, 2016/06/13
- Re: [lmi] PCH, Greg Chicares, 2016/06/14
- Re: [lmi] PCH, Vadim Zeitlin, 2016/06/14