| 160 | } |
| 161 | |
| 162 | void CDepChecker::SetCArgs(const char* cArgs) |
| 163 | { |
| 164 | int strStart = 0; |
| 165 | for (int i = 0; cArgs[i] != (char)0; i++) |
| 166 | { |
| 167 | if (cArgs[i] == '\n') |
| 168 | { |
| 169 | String arg = String(cArgs + strStart, cArgs + i); |
| 170 | if (strncmp(arg.c_str(), "-I", 2) == 0) |
| 171 | { |
| 172 | String includeDir = arg.Substring(2); |
| 173 | includeDir = EnsureEndsInSlash(includeDir); |
| 174 | #ifdef _WIN32 |
| 175 | includeDir = ToUpper(includeDir); |
| 176 | #endif |
| 177 | mIncludeDirs.push_back(includeDir); |
| 178 | } |
| 179 | else if (strncmp(arg.c_str(), "-D", 2) == 0) |
| 180 | { |
| 181 | |
| 182 | } |
| 183 | strStart = i + 1; |
| 184 | } |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | /*String CDepChecker::DetermineFilesReferenced(const StringImpl& fileName) |
| 189 | { |
no test coverage detected