News for hackers. Stuff that matters.
Re:Show HN: Minecraft clone in 2500 lines of C - even suppor... by csmuk on Tuesday December 10, 2013 @03:46AM (#6879643)
This.

CMake is another barrier to entry.

what happened to a nice simple makefile? Been using just standard makefiles for literally 20 years.

The only thing I do is put a checkdeps dependency on which tests for the presence of dependencies, like autoconf but without the eye poking. Have built everything from small network servers to Motif behemoths doing only that.

Re:Show HN: Minecraft clone in 2500 lines of C - even suppor... by zurn on Tuesday December 10, 2013 @04:30AM (#6879764)
You get no (compatible) make on MSVC. More imporantly, whith nontrivial dependencies to third party libraries, self-coded makefiles just break down. Cross-platform handling of dependencies is fragile and makes drudgery. You're liable to do worse than CMake - after wasting a lot of time and energy.

CMake is more an alternative to GNU autoconf and pals, with the difference that it has first class support for things like MSVC and XCode.

Re:Show HN: Minecraft clone in 2500 lines of C - even suppor... by csmuk on Tuesday December 10, 2013 @05:09AM (#6879877)
I don't build for windows so that's moot for me. Well I do but not C.

I've quite happily built makefiles that work on Linux, FreeBSD, Solaris and HP/UX that aren't fragile or laborious. It just takes appropriate knowledge of the platforms. I've built some stuff on OSX (small SDL project) and it wasn't too obtuse apart from some paths.

CMake, much as all of these things, works up to a point at which point it tries desperately to kill you at every available opportunity.

Re:Show HN: Minecraft clone in 2500 lines of C - even suppor... by blueblob on Tuesday December 10, 2013 @08:44AM (#6880623)
Is nmake not compatible with make? I thought that it was. I haven't programmed C/C++ on Windows at all though, so I have no experience with this.
Re:Show HN: Minecraft clone in 2500 lines of C - even suppor... by zurn on Tuesday December 10, 2013 @01:37PM (#6882636)
Microsoft "nmake" is unrelated to the AT&T-originated Unix "nmake", which you may be thinking of.

(people rarely even attempt nontrivial Makefiles that are portable between BSD and GNU makes though...)

Re:Show HN: Minecraft clone in 2500 lines of C - even suppor... by krakensden on Wednesday December 11, 2013 @01:25AM (#6886235)
Not really- that, and it is incredibly feature poor.
Re:Show HN: Minecraft clone in 2500 lines of C - even suppor... by nicholassmith on Tuesday December 10, 2013 @05:34AM (#6879939)
Whenever I see a project with CMake it generally puts me off as I know it's liable to require some intervention from me to get it just building.