erikw/tmux-powerline — pull request #99 by ARCADIVS (2012-12-10 12:56:37+00:00)
Title: Automated Installation would be nice, so here's a patch.

CMake isn't just for C/C++. It can work for this project quite well. With this patch all you do is

cd build/
cmake ..
sudo make install

and the files are sent to /usr/local/lib/tmux-powerline on Unix-like systems. In the future any new
files will have to be added to CMakeLists.txt or else they don't get automatically installed.
I'm sorry if putting things in the src/ folder was a bad idea. It's easily reverted back if you so
wish, but I didn't want the root of the tree to be cluttered.

This is just the first CMake related commit. There's a lot of neat stuff you can do with CMake
including preprocessing which might be quite nice for this project. (People could "build" their
own status-left/right.sh with only the features they want by using a command line option with
CMake (http://cmake.org/cmake/help/v2.8.8/cmake.html#opt:-Dvar:typevalue).

I hope these are good changes. :)