In many cases the different needs concern different people in the same
project - not necessary different projects. For example it might be easy
for you and user who just download it from website but is it easy to
package? You 'just' need to allow setting DESTDIR or equivalent for
installation to install into different root.

Compiling libraries on different platforms can have it's own problems
(-fPIC vs -fpic, different tools, export lists etc.). Gentoo users will
want to specifiy different flags (for example I expect that build system
will build with -O2 -ggdb -march=native so I get optimized version with
debug symbols). The list goes on.

See also:
- Self ad:
http://blog.piechotka.com.pl/2013/04/13/dont-write-your-own-build-system/, 
- Not a self ad:
https://blog.flameeyes.eu/2008/10/good-developers-dont-necessarily-create-good-build-systems
- A description of cmake infancy problems, which were later described,
in the eye of Gentoo QA developer including problems setting of rpath
(no, I don't understand the details - I will when something forces me to
look into ELF resolution process): https://blog.flameeyes.eu/tag/cmake 

Best regards

On Fri, 2014-05-16 at 09:54 -0500, Craig wrote:
> Personally, I don't see why we need a system that works for every instance.
> Let's build something that works for 99% of cases and the 1% can use cmake
> or autotools. Also, there are other languages that bind to C and C++
> without convoluted build systems. It's a solved problem. :)
> On May 16, 2014 9:26 AM, "Calvin Walton" 
> <calvin.walton-08yNtVAFnCuw5LPnMra/2...@public.gmane.org> wrote:
> 
> > On Fri, 2014-05-16 at 10:23 -0400, Calvin Walton wrote:
> > > On the other hand, maybe you could take some inspiration from how
> > > 'valac' works, and instead of creating the entire build system, just
> > > build a preprocessor that generates an Autotools setup and project
> > > layout for you. Who knows if that could work?
> >
> > I of course failed to see Max's post before replying, but apparently
> > this does work! Albeit using CMake rather than Autotools.
> >
> > --
> > Calvin Walton <calvin.wal...@kepstin.ca>
> >
> > _______________________________________________
> > vala-list mailing list
> > vala-list@gnome.org
> > https://mail.gnome.org/mailman/listinfo/vala-list
> >

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to