We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6156d0 commit 95e5e4cCopy full SHA for 95e5e4c
1 file changed
main.py
@@ -54,12 +54,6 @@ def parse_keil_project(file_path):
54
rel_inc_path = os.path.relpath(abs_inc_path, output_dir)
55
# 确保路径分隔符是 '/'
56
rel_inc_path = rel_inc_path.replace("\\", "/")
57
- # 检查目录是否存在
58
- if os.path.isdir(abs_inc_path):
59
- includes.append(f"-I{rel_inc_path}")
60
- else:
61
- # TODO:可以选择打印警告或记录日志
62
- print(f"Warning: Include path directory does not exist, skipped: {abs_inc_path}")
63
64
# 提取源文件路径
65
groups = target.findall('.//Group')
0 commit comments