Add add_dir cmake function that finds all .h and .cpp in a directory