Re: meson: Add support for building with precompiled headers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: meson: Add support for building with precompiled headers
Дата
Msg-id 2551678.1665001315@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: meson: Add support for building with precompiled headers  (Andres Freund <andres@anarazel.de>)
Ответы Re: meson: Add support for building with precompiled headers
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2022-10-05 16:09:14 -0400, Tom Lane wrote:
>> Color me confused, but how does it work to #define that from the command
>> line if it can't be overridden from within the program?

> If specified on the commandline it's also used when generating the precompiled
> header - of course that's not possible when it's just #define'd in some .c
> file.

Ah, so there's a separate cache of precompiled headers for each set of
compiler command-line arguments?  Got it.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: meson PGXS compatibility
Следующее
От: Andres Freund
Дата:
Сообщение: Re: meson: Add support for building with precompiled headers