Lines Matching +full:mixed +full:- +full:mode

1 # SPDX-License-Identifier: Apache-2.0
17 #2. Eclipse CDT4 indexer has problems with CMake 'Eclipse CDT4 - x'
18 # generator projects that use mixed C/C++.
22 # The root cause of the problem is the g++ built-in __cplusplus macro,
25 # In mixed C/C++ projects, the header files often contain the following
56 # 1 - work mode: "C and CXX includes, defines in .cproject without __cplusplus"
57 # 2 - work mode: "C and CXX includes, defines in .cproject with __cplusplus"
58 # 5 - work mode: "C and CXX includes, defines in Eclipse with project defines"
64 ## 3 - work mode: "C and CXX includes, defines in .settings - [EXPERIMENTAL]"
65 ## 4 - work mode: "C and CXX includes, defines in .settings with project defines - [EXPERIMENTAL]"
67 message(" Eclipse CDT4 generator amendment mode:")
77 # set(_work_mode "C and CXX includes, defines in .settings - [EXPERIMENTAL]")
81 # set(_work_mode "C and CXX includes, defines in .settings with project defines - [EXPERIMENTAL]")
98 string(REGEX MATCH "([A-Za-z_][A-Za-z0-9_]*) *=* *(.*) *$" _dummy "${d}")
104 message(" -------------------------------------------------------------------------")
107 message(" -imacros ${CMAKE_BINARY_DIR}/zephyr/include/generated/zephyr/cmake_intdef.h")
108 message(" -imacros ${AUTOCONF_H}")
110 message(" to 'CDT cross GCC Built-in Compiler Settings' provider command definition")
111 message(" -------------------------------------------------------------------------")
115 if ( (${_work_mode} STREQUAL "C and CXX includes, defines in .settings - [EXPERIMENTAL]") OR
116 …(${_work_mode} STREQUAL "C and CXX includes, defines in .settings with project defines - [EXPERIME…
119 file(WRITE ${OUTPUT_FILE} "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n")
124 …file(APPEND ${OUTPUT_FILE} "\t\t\t<provider copy-of=\"extension\" id=\"org.eclipse.cdt.ui.UserLang…
125 …OUTPUT_FILE} "\t\t\t<provider-reference id=\"org.eclipse.cdt.core.ReferencedProjectsLanguageSettin…
126 …UTPUT_FILE} "\t\t\t<provider-reference id=\"org.eclipse.cdt.core.PathEntryScannerInfoLanguageSetti…
127 …if (${_work_mode} STREQUAL "C and CXX includes, defines in .settings with project defines - [EXPER…
128-relative-paths=\"false\" name=\"Zephyr autoconf and SDK Compiler Settings\" parameter=\"${CROSS_C…
130-relative-paths=\"false\" name=\"Zephyr autoconf and SDK Compiler Settings\" parameter=\"${CROSS_C…
132 file(APPEND ${OUTPUT_FILE} "\t\t\t\t<language-scope id=\"org.eclipse.cdt.core.gcc\"/>\n")
133 file(APPEND ${OUTPUT_FILE} "\t\t\t\t<language-scope id=\"org.eclipse.cdt.core.g++\"/>\n")
143 (${_work_mode} STREQUAL "C and CXX includes, defines in .settings - [EXPERIMENTAL]") )
173 string(REGEX MATCH "^#define +([A-Za-z_][A-Za-z0-9_]*) *(.*) *$" _dummy "${d}")
188 string(REGEX MATCH "^#define +([A-Za-z_][A-Za-z0-9_]*) *(.*) *$" _dummy "${d}")