add CMakeLists.txt for template project