Add gitignore and attribute and cmake