On Wednesday 18 September 2013 14:28:14 Peter Stuge wrote:
> Kamil Dudka wrote:
> > On Wednesday, September 18, 2013 08:51:49 Peter Stuge wrote:
> > > Daniel Stenberg wrote:
> > > > I disagree about it being an abuse.
> > >
> > > I'm actually surprised.
> > >
> > > Compilers compile and build systems manage what files get compiled.
> > > I hope you agree that the C preprocessor is not a build system.
> >
> > While I agree on that, it does not imply that your solution is any
> > better.
>
> I don't think I understand what you mean.
>
> Are you saying that you don't think it is better to use build systems to
> manage what files get compiled instead of abusing the C preprocessor for
> it?
As far as I can see, you are the only person on the list calling it "abuse".
Are you going to replace something that works by something that you like?
> > > > using Makefile.inc for getting the files to build is one such way.
> > >
> > > No way. It's really just nonsense.
> >
> > The above is just expressing your _personal_ preference.
>
> What is yours?
The "#ifdef around a module" approach has been used also in the curl project
for quite some time, not causing any issues so far. At the moment, I do not
see any valid reason to change it.
Kamil
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-09-18