kopia lustrzana https://github.com/espressif/esp-idf
doc: Fix Build Output Parser command pattern to include C++ correctly
Previously only C files had build output correctly parsed. Closes https://github.com/espressif/esp-idf/issues/2056 May also relate to: https://github.com/espressif/esp-idf/issues/529 https://github.com/espressif/esp-idf/issues/17pull/2108/head
rodzic
86d6c09387
commit
75dc2f5800
|
@ -59,7 +59,7 @@ Project Properties
|
||||||
|
|
||||||
* In the list of providers, click "CDT GCC Built-in Compiler Settings Cygwin". Under "Command to get compiler specs", replace the text ``${COMMAND}`` at the beginning of the line with ``xtensa-esp32-elf-gcc``. This means the full "Command to get compiler specs" should be ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``.
|
* In the list of providers, click "CDT GCC Built-in Compiler Settings Cygwin". Under "Command to get compiler specs", replace the text ``${COMMAND}`` at the beginning of the line with ``xtensa-esp32-elf-gcc``. This means the full "Command to get compiler specs" should be ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``.
|
||||||
|
|
||||||
* In the list of providers, click "CDT GCC Build Output Parser" and type ``xtensa-esp32-elf-`` at the beginning of the Compiler command pattern, and wrap remaining part with brackets. This means the full Compiler command pattern should be ``xtensa-esp32-elf-((g?cc)|([gc]\+\+)|(clang))``
|
* In the list of providers, click "CDT GCC Build Output Parser" and change the "Compiler command pattern:" to ``xtensa-esp32-elf-(gcc|g\+\+|c\+\+|cc|cpp|clang)``
|
||||||
|
|
||||||
Navigate to "C/C++ General" -> "Indexer" property page:
|
Navigate to "C/C++ General" -> "Indexer" property page:
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ Navigate to "C/C++ General" -> "Preprocessor Include Paths" property page:
|
||||||
|
|
||||||
* In the list of providers, click "CDT Cross GCC Built-in Compiler Settings". Under "Command to get compiler specs", replace the text ``${COMMAND}`` at the beginning of the line with ``xtensa-esp32-elf-gcc``. This means the full "Command to get compiler specs" should be ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``.
|
* In the list of providers, click "CDT Cross GCC Built-in Compiler Settings". Under "Command to get compiler specs", replace the text ``${COMMAND}`` at the beginning of the line with ``xtensa-esp32-elf-gcc``. This means the full "Command to get compiler specs" should be ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``.
|
||||||
|
|
||||||
* In the list of providers, click "CDT GCC Build Output Parser" and type ``xtensa-esp32-elf-`` at the beginning of the Compiler command pattern. This means the full Compiler command pattern should be ``xtensa-esp32-elf-(g?cc)|([gc]\+\+)|(clang)``
|
* In the list of providers, click "CDT GCC Build Output Parser" and change the "Compiler command pattern:" to ``xtensa-esp32-elf-(gcc|g\+\+|c\+\+|cc|cpp|clang)``
|
||||||
|
|
||||||
Navigate to "C/C++ General" -> "Indexer" property page:
|
Navigate to "C/C++ General" -> "Indexer" property page:
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue