Squashed commit of the following:

commit d7e0b0c0b04263b1c4665590398ea507f12b95b8
Author: Tolga Cakir <tolga@cevel.net>
Date:   Sat Nov 8 18:46:10 2014 +0100

    very basic cmake setup

commit af7d205aca76aa254ef124ecdb81c869620b00a3
Author: Tolga Cakir <tolga@cevel.net>
Date:   Sat Nov 8 00:54:42 2014 +0100

    new source tree; doesn't build