elmindreda/Wendy — pull request #2 by tapio (2011-11-04 09:15:53+00:00)
Title: CMake tweaks

Hi,
Some CMake tweaks.

"Add a sensible default build type."
- Should be a no-brainer to merge.

"Disallow in-source builds to prevent source-tree pollution."
- This might be slightly a matter of taste, but CMake itself discourages in-source builds and this makes sure the commit below doesn't put the exes to wrong place (thinking of media path).

"Output executables to build dir root for easy access."
- Now I can see all executables in the build tree root at once and run them straight from there, as the ../media path matches. Without this, I need to look for the exes in obscure CMake directories and make sure I run them from a certain other path.