We have recently delved into CMake, and I find it a very welcome alternative to make. I've worked with make and autotools for about 2 decades, writing plenty of fairly sophisticated build systems. The limitation has always been the portability beyond the Unix environment (and buy-in from other developers who don't know make as well).
If you want, I can cover the build system we've put together for the OpenDOF Project in my talk next week. We have a unique environment where we need to build a bunch of different things that don't commonly comingle well: C, Java, C#, Windows, Linux, documentation, even web apps. We've come up with a single build process that covers everything we need, giving lots of flexibility, but not requiring a huge learning curve or a paradigm shift from what is natural for each of the developers. -- James L. Simister <[email protected]> -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Frostyfrog Sent: Thursday, August 11, 2016 12:06 AM To: Provo Linux Users Group Subject: Re: Entry level events? I agree with Levi. Makefiles are a core part of how the core Linux utilities are built. The Linux kernel uses a fancy one, the GNU stuff generally has the GNU auto tools generated version, and pretty much every single distribution has some sort of package Template for makefiles. For the most part, makefiles only work in unix, however, they have been known to work in windows. While i wouldn't recommend using makefiles for much, they will still work. Heh, I think that they can work quite well if setup right.. As for setting up a programming environment? That really depends on which programming language you'd like to use. An environment for C++ is vastly different from an environment for HTML/CSS/JS. ~ Sent from my Alphabet phone On Aug 10, 2016 11:06 PM, "Levi Pearson" <[email protected]> wrote: > > Tod and I have had this discussion before, but I think there’s still a > place for makefiles in the world today. It’s a Linux Users Group after > all; C and Make are part of the foundation of this thing. If you’re > developing outside of a C on Unix environment, though, or even if you’re > starting a new project there, there are some similar but better > alternatives to consider. > > I have recently made a pretty nice build system with GNU Make for a > project at work, so I have some thoughts on it fresh in my head for the > moment if anyone wants some pointers or has any questions on how Make > works. If all you’ve seen are autotools-generated Makefiles or really > simple hand-written ones, you might be surprised at what you can do with it. > > I won’t advocate too strongly for Make, though; it *is* a bit crufty and > it’s easy to make terrible build systems with it. > > —Levi > > > > On Aug 10, 2016, at 10:51 PM, Tod Hansmann <[email protected]> > wrote: > > > > On Wed, Aug 10, 2016 at 4:34 PM, Alan Kirkwood <[email protected]> > > wrote: > > > >> I'd like to see some information about setting up a programming > >> environment, what directories to use, how to set up "makefiles" (if they > >> are still even used), how to create an exportable application and > perhaps > >> even building a bootable CD with an application embedded. > >> For me, at least, the basics of Linux are simple enough to navigate, I > >> just haven't had the need to do those kinds of things. > >> > >> > > Please let's not teach makefiles. Please. It's 2016. There has to be > > something better for your own project (use them for projects that already > > have them, by all means). > > > > > > -Tod Hansmann > > Problem Solver > > www.phonejanitor.com > > 801-618-0059 > > > > /* > > PLUG: http://plug.org, #utah on irc.freenode.net > > Unsubscribe: http://plug.org/mailman/options/plug > > Don't fear the penguin. > > */ > > > /* > PLUG: http://plug.org, #utah on irc.freenode.net > Unsubscribe: http://plug.org/mailman/options/plug > Don't fear the penguin. > */ /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */ /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
