generate_dicts: abs path cpp_dir