Re: Using cmake with nginx

2022-12-05 Thread Maxim Dounin
Hello! On Mon, Dec 05, 2022 at 03:16:50AM +0300, Dmitry Petrov wrote: > >So, the issues you are talking about is the fact that nginx won't > magically find out which header files you are using, but instead > requires you to list them in the ngx_module_deps variable when > calling the auto/module

Re: Using cmake with nginx

2022-12-04 Thread Dmitry Petrov
>So, the issues you are talking about is the fact that nginx won't magically find out which header files you are using, but instead requires you to list them in the ngx_module_deps variable when calling the auto/module in the module config script, correct? That's not magic. This is what make + gcc

Re: Using cmake with nginx

2022-12-04 Thread Alejandro Colomar
Hi Dmitry, On 12/4/22 21:12, Dmitry Petrov wrote: >You may want to be more specific about issues you are talking about.  In general, nginx build system requires little to no effort from developers. I'm speaking about manual vs automatic source-level dependency handling. For example, CORE_DEPS

Re: Using cmake with nginx

2022-12-04 Thread Maxim Dounin
Hello! On Sun, Dec 04, 2022 at 11:12:55PM +0300, Dmitry Petrov wrote: > >You may want to be more specific about issues you are talking > about. In general, nginx build system requires little to no > effort from developers. > > I'm speaking about manual vs automatic source-level dependency handl

Re: Using cmake with nginx

2022-12-04 Thread Dmitry Petrov
>You may want to be more specific about issues you are talking about. In general, nginx build system requires little to no effort from developers. I'm speaking about manual vs automatic source-level dependency handling. For example, CORE_DEPS is an easy but inaccurate cross-platform hack. The sam

Re: Using cmake with nginx

2022-12-02 Thread Maxim Dounin
Hello! On Fri, Dec 02, 2022 at 02:07:43PM +0300, Dmitry Petrov wrote: > I'm sure many developers have faced issues with manual dependency handling > in the nginx build system. I've tried several workarounds which were > semi-acceptable for personal use, but definitely not something that you > wou

Using cmake with nginx

2022-12-02 Thread Dmitry Petrov
Hello! I'm sure many developers have faced issues with manual dependency handling in the nginx build system. I've tried several workarounds which were semi-acceptable for personal use, but definitely not something that you would offer other people to use. Then I thought that it would be easy to a