Misc: #49: Add CMake support

Add CMakeLists.txt to support building with CMake, as @pvanek requests.
The old Makefile system and CPackConfig.cmake are still usable. (Of
course, make sure you don't overwrite them by executing cmake.) There
must be a bunch of bugs in CMakeLists.txt. :-) Let chjj decide which one
he will choose, here I keep both.
This commit is contained in:
Richard Grenville
2012-10-03 13:30:11 +08:00
parent ff50322b27
commit b8f3d22a32
3 changed files with 156 additions and 2 deletions

12
.gitignore vendored
View File

@ -13,11 +13,19 @@ missing
stamp-h1
compton
*.o
_CPack_Packages
build
build/
# CMake files
compton-*.deb
compton-*.rpm
compton-*.tar.bz2
release/
_CPack_Packages/
CMakeCache.txt
CMakeFiles/
*.cmake
install_manifest.txt
# Vim files
.*.sw[a-z]