Lines Matching refs:WriteString
144 f.WriteString("# THIS FILE WAS AUTOMATICALY GENERATED!\n")
145 f.WriteString("# ANY MODIFICATION WILL BE OVERWRITTEN!\n\n")
146 f.WriteString("# To improve project view in Clion :\n")
147 f.WriteString("# Tools > CMake > Change Project Root \n\n")
148 f.WriteString(fmt.Sprintf("cmake_minimum_required(VERSION %s)\n", minimumCMakeVersionSupported))
149 f.WriteString(fmt.Sprintf("project(%s)\n", ccModule.ModuleBase.Name()))
150 f.WriteString(fmt.Sprintf("set(ANDROID_ROOT %s)\n\n", android.AbsSrcDirForExistingUseCases()))
153 f.WriteString(fmt.Sprintf("set(CMAKE_C_COMPILER \"%s%s\")\n", buildCMakePath(pathToCC), "clang"))
154 …f.WriteString(fmt.Sprintf("set(CMAKE_CXX_COMPILER \"%s%s\")\n", buildCMakePath(pathToCC), "clang++…
157 f.WriteString("list(APPEND\n")
158 f.WriteString(" SOURCE_FILES\n")
160 f.WriteString(fmt.Sprintf(" ${ANDROID_ROOT}/%s\n", src.String()))
162 f.WriteString(")\n")
165 f.WriteString("\n# GLOBAL ALL FLAGS:\n")
169 f.WriteString("\n# LOCAL ALL FLAGS:\n")
173 f.WriteString("\n# GLOBAL CFLAGS:\n")
177 f.WriteString("\n# LOCAL CFLAGS:\n")
181 f.WriteString("\n# GLOBAL C ONLY FLAGS:\n")
185 f.WriteString("\n# LOCAL C ONLY FLAGS:\n")
189 f.WriteString("\n# GLOBAL CPP FLAGS:\n")
193 f.WriteString("\n# LOCAL CPP FLAGS:\n")
197 f.WriteString("\n# GLOBAL SYSTEM INCLUDE FLAGS:\n")
202 f.WriteString(fmt.Sprintf("\nadd_executable(%s ${SOURCE_FILES})\n",
222 …f.WriteString(fmt.Sprintf("include_directories(SYSTEM \"%s\")\n", buildCMakePath(path.Join(c.sysro…
244 f.WriteString(fmt.Sprintf("include_directories(%s \n", system))
247 f.WriteString(fmt.Sprintf(" \"%s\"\n", buildCMakePath(include)))
249 f.WriteString(")\n\n")
252 f.WriteString("file (GLOB_RECURSE TMP_HEADERS\n")
254 f.WriteString(fmt.Sprintf(" \"%s/**/*.h\"\n", buildCMakePath(include)))
256 f.WriteString(")\n")
257 f.WriteString("list (APPEND SOURCE_FILES ${TMP_HEADERS})\n\n")
267 …f.WriteString(fmt.Sprintf("set(%s \"${%s} %s=%s\")\n", tag, tag, flag.flag, buildCMakePath(flag.re…
273 f.WriteString(fmt.Sprintf("set(%s \"${%s} %s\")\n", tag, tag, flag))
346 f.WriteString(fmt.Sprintf("# Raw param [%d] = '%s'\n", i, str))
371 f.WriteString(fmt.Sprintf("# variable %s = '%s'\n", param, evaluated))
379 f.WriteString(fmt.Sprintf("# variable %s could NOT BE RESOLVED\n", param))
387 f.WriteString("# Found a header search path marker with no path")
392 f.WriteString(fmt.Sprintf("# FLAG '%s' became %s\n", param, c))
398 f.WriteString("# Found a system root path marker with no path")
408 … f.WriteString(fmt.Sprintf("# Relative File Path Flag [%s] is not formatted as a=b/c/d \n", param))