Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of a build system generator #2

Closed
elfring opened this issue Mar 10, 2016 · 9 comments
Closed

Addition of a build system generator #2

elfring opened this issue Mar 10, 2016 · 9 comments

Comments

@elfring
Copy link

elfring commented Mar 10, 2016

I suggest to reuse a higher level build system than your current small make file so that powerful checks for software features will become easier.

@sdhand
Copy link
Owner

sdhand commented Mar 10, 2016

This would probably be a good idea, I'll give it a look. (I've never worked with either system so it might take me a bit of time to figure out how they work, thank you).

@elfring
Copy link
Author

elfring commented Mar 10, 2016

@HalosGhost
Copy link
Contributor

I disagree. This is a really small project that is inherently tied to POSIX code (so cross-platform building isn't really an issue—and even if it were, a simple Makefile can handle that case just fine). I do not see any significant benefit in using a build system instead of just a Makefile for this (especially not something as giant and horrid as autotools).

@ralsei
Copy link
Contributor

ralsei commented Mar 10, 2016

  • CMake is a bloated piece of shit that can't create standalone Makefiles.
  • Autotools is a bloated piece of shit.
  • This is a very small project and there's no benefit from CMake or Autotools. A simple Makefile is fine.

@sdhand
Copy link
Owner

sdhand commented Mar 10, 2016

Whilst I think I agree that a build system other than a makefile probably isn't needed for this particular project, "bloated piece of shit" is not an objective reason to not use a particular tool.

@ralsei
Copy link
Contributor

ralsei commented Mar 10, 2016

It's simply not needed for a small project like this. For larger codebases, it's (CMake or Autotools) a large and complex tool, with many features to facilitate large projects. However, in this context, it'd be unnecessary when a Makefile would be just fine.

@HalosGhost
Copy link
Contributor

I wouldn't go so far as to call either autotools or cmake such things. But I will say that, for a small project, any build system is adding a dramatically larger amount of complexity than is needed.

In addition, I would say that autotools and cmake both are incredibly complex (though some of the complexity is necessary; not even remotely all of it is), to the point where I never use either. I would be much more likely to use tup or waf than either cmake or autotools. But, again, for this small of a project, a single makefile handles it just fine.

@yggdr
Copy link

yggdr commented Mar 11, 2016

Please don't. I just had the very nice experience of being able to compile this via (GNU) make here on FreeBSD on first try, so cross-platform seems no issue not only theoretically. Don't overthrow yourself with unneeded complexity.

@sdhand
Copy link
Owner

sdhand commented Mar 11, 2016

OK, I've given this some thought, and the popular consensus seems to agree with me that a build system is likely not needed. Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants