Add a directory for cpp code and ignore build directory