]> granicus.if.org Git - esp-idf/commitdiff
Update eclipse-setup-windows.rst according to https://gitlab.espressif.cn:6688/idf...
authorJin Fang Cheng Cheng <jinfangchengcheng@espressif.com>
Tue, 26 Jun 2018 04:55:34 +0000 (12:55 +0800)
committerJin Fang Cheng Cheng <jinfangchengcheng@espressif.com>
Tue, 26 Jun 2018 04:55:34 +0000 (12:55 +0800)
docs/zh_CN/get-started/eclipse-setup-windows.rst

index f386d83b8d208ff22b7c310066bf45b2aefc1c4d..a31f5def76f13d93cfc564b0bf263cb57d562e16 100644 (file)
@@ -61,7 +61,13 @@ Windows 平台上的 Eclipse 配置
 
                * 从 “Providers” 列表中选择 “CDT GCC Built-in Compiler Settings Cygwin”。在 “Command to get compiler specs” 输入框中,用 ``xtensa-esp32-elf-gcc`` 替换行首的 ``${COMMAND}``,最终完整的 ``Command to get compiler specs`` 应为 ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``。
                
-               * 从 “Providers” 列表中选择 “CDT GCC Build Output Parser”,然后在 Compiler 命令模式的起始位置输入 ``xtensa-esp32-elf-``,并用括号把剩余部分扩起来。最终的完整 Compiler 命令模式应为 ``xtensa-esp32-elf-((g?cc)|([gc]\+\+)|(clang))``。
+               * 从 “Providers” 列表中选择 “CDT GCC Build Output Parser”,将 “Compiler command pattern:” 修改为 ``xtensa-esp32-elf-(gcc|g\+\+|c\+\+|cc|cpp|clang)``。
+
+点击 “C/C++ General" -> "Indexer” 属性页。
+
+    * 选择 “Enable project specific settings” 以启用本页上的其他设置。
+
+    * 取消选中 “Allow heuristic resolution of includes”。启用此选项时,有时会导致 Eclipse 无法找到正确的头文件目录。
 
 
 在 Eclipse IDE 中创建项目