Giter Site home page Giter Site logo

Meson build system about fltk HOT 5 CLOSED

fltk avatar fltk commented on June 27, 2024
Meson build system

from fltk.

Comments (5)

Albrecht-S avatar Albrecht-S commented on June 27, 2024

Our main build system is CMake since FLTK 1.4.0 (not yet released). We're still in the transition to make everything work with CMake while still supporting autoconf/configure/make systems.

I have no idea why we should consider yet another build system. Can you give some advantages of meson (other than personal preferences)? Personally I believe that the fact that meson uses Python3 is not an advantage but a drawback (particularly under Windows) but that's more a gut feeling - I don't have python installed under Windows.

FWIW: meson is obviously maintained on GitHub and is similar to CMake in that it generates build systems rather than building itself (like make).
Homepage: http://mesonbuild.com/

from fltk.

Albrecht-S avatar Albrecht-S commented on June 27, 2024

One more note: I looked at the meson docs and found this:

At the time of writing the Ninja backend is more mature than the VS backend so you might want to use it for serious work.
http://mesonbuild.com/Using-with-Visual-Studio.html

We definitely need to provide a way users can build with Visual Studio (for serious work).

Also, the backend selection seems to be somewhat behind CMake: backend {ninja, vs, vs2010, vs2015, vs2017, xcode}.
http://mesonbuild.com/Builtin-options.html#universal-options
Hmm, no 'make' build system? Personally I know and like (and prefer) ninja, but...

Other than that, I also found some interesting aspects but I'm still looking into it...

from fltk.

Albrecht-S avatar Albrecht-S commented on June 27, 2024

I don't think that meson fits our requirements and it would be an additional burden we can't accept for our small team. Maybe later (in several years or so), but certainly not right now or in the near future.

I'll close this issue in a few days unless there are some really appealing comments why we should consider meson (in comparison with CMake of course).

Thanks for the suggestion anyway, very much appreciated.

from fltk.

vit1251 avatar vit1251 commented on June 27, 2024

@Albrecht-S thanks for your deep research. I review meson and find a very well feature like subprojects it have a biggest potencial to embedding source code (like FLTK) as subproject in source distribution solution (or version depending). But I use meson only under Linux platform and as you already noted I meet problems when try use meson under Windows 10 when compile with Visual Studio.

from fltk.

Albrecht-S avatar Albrecht-S commented on June 27, 2024

Welcome, and thanks for your further comment. I tried meson with a tiny own project and it seemed to work (also using Linux), but all I can see from its development seems to indicate that it's a very young and agile project, but maybe not yet mature. Let's see what the future will show.

Closing this issue. Will not fix (yet), maybe later.

from fltk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.