harto/realpath-osx — pull request #1 by mcoffin (2012-10-17 08:08:55+00:00)
Title: CMake Build System

A significant amount of users on OSX use cmake to build and install packages. I didn't like the way that the default makefile installed its library to /usr/bin when I keep my packages that I've built from source in /usr/local/bin. CMake is a handy way to manage this with its "install" directive. I've simply added a CMake makefile to your project so that other frequent cmake users like myself don't have to manually change the install location for your project. By default, cmake on OSX will install binaries to /usr/local/bin, which I think is where you're SUPPOSED to install things that you have built from source. Thanks for the project, it allowed me to use my old build scripts for GCC. CMake is also just nice in general, and makes it really easy for people to cross-compile and things. In general, I suggest using it. I left the old makefile in there for the people that don't have cmake installed even though they should.

Cheers,
Matt Coffin