update cmakefiles, and don't ignore CMake* when CMakeLists.txt is under version control