Lines Matching refs:C
18 # generator projects that use mixed C/C++.
21 # the code is a mix of C and C++.
24 # The defines in '.cproject' are always the same for C and C++.
25 # In mixed C/C++ projects, the header files often contain the following
26 # lines to let C++ code call the C functions:
29 # extern "C" {
40 # independent of whether standard C or C++ source files are compiled.
41 # The 'extern "C"' confuses the standard C compilation and the indexer
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"
61 # the C and CXX includes, defines setting in Eclipse is the user task.
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]"
69 set(_work_mode "C and CXX includes, defines in .cproject without __cplusplus")
73 set(_work_mode "C and CXX includes, defines in .cproject with __cplusplus")
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]")
84 set(_work_mode "C and CXX includes, defines in Eclipse with project defines")
87 set(_work_mode "C and CXX includes, defines setting in Eclipse is the user task")
102 if (${_work_mode} STREQUAL "C and CXX includes, defines in Eclipse with project defines")
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…
127 …if (${_work_mode} STREQUAL "C and CXX includes, defines in .settings with project defines - [EXPER…
141 if ( (${_work_mode} STREQUAL "C and CXX includes, defines in .cproject without __cplusplus") OR
142 (${_work_mode} STREQUAL "C and CXX includes, defines in .cproject with __cplusplus") OR
143 (${_work_mode} STREQUAL "C and CXX includes, defines in .settings - [EXPERIMENTAL]") )
145 if ( (${_work_mode} STREQUAL "C and CXX includes, defines in .cproject without __cplusplus") OR
146 (${_work_mode} STREQUAL "C and CXX includes, defines in .cproject with __cplusplus") )
148 if (${_work_mode} STREQUAL "C and CXX includes, defines in .cproject without __cplusplus")
157 # Wiping C compiler system defined macros and include directories
159 …set(CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS "" CACHE INTERNAL "C compiler system include direc…
160 …set(CMAKE_EXTRA_GENERATOR_C_SYSTEM_DEFINED_MACROS "" CACHE INTERNAL "C compiler system defined mac…
183 …set (CMAKE_EXTRA_GENERATOR_C_SYSTEM_DEFINED_MACROS "${_resultDefines}" CACHE INTERNAL "C compiler …
198 …set (CMAKE_EXTRA_GENERATOR_C_SYSTEM_DEFINED_MACROS "${_resultDefines}" CACHE INTERNAL "C compiler …