Browse Source

Rename toolSetToUse to ToolSetToUse.

pull/1/head
triton 13 years ago
parent
commit
b70f4d6483
  1. 2
      src/Generator/Parser.cs
  2. 2
      src/Parser/Parser.cpp
  3. 2
      src/Parser/Parser.h

2
src/Generator/Parser.cs

@ -29,7 +29,7 @@ namespace Cxxi
Verbose = false, Verbose = false,
IncludeDirs = options.IncludeDirs, IncludeDirs = options.IncludeDirs,
Defines = options.Defines, Defines = options.Defines,
toolSetToUse = options.ToolsetToUse ToolSetToUse = options.ToolsetToUse
}; };
var result = ClangParser.Parse(parserOptions); var result = ClangParser.Parse(parserOptions);

2
src/Parser/Parser.cpp

@ -135,7 +135,7 @@ void Parser::Setup(ParserOptions^ Opts)
#ifdef _MSC_VER #ifdef _MSC_VER
std::vector<std::string> SystemDirs; std::vector<std::string> SystemDirs;
if( GetVisualStudioEnv("INCLUDE", SystemDirs, Opts->toolSetToUse, Opts->toolSetToUse ) ) if(GetVisualStudioEnv("INCLUDE", SystemDirs, Opts->ToolSetToUse, Opts->ToolSetToUse))
{ {
clang::HeaderSearchOptions& HSOpts = C->getHeaderSearchOpts(); clang::HeaderSearchOptions& HSOpts = C->getHeaderSearchOpts();

2
src/Parser/Parser.h

@ -50,7 +50,7 @@ public ref struct ParserOptions
Cxxi::Library^ Library; Cxxi::Library^ Library;
// Toolset version - 2005 - 8, 2008 - 9, 2010 - 10, 0 - autoprobe for any. // Toolset version - 2005 - 8, 2008 - 9, 2010 - 10, 0 - autoprobe for any.
int toolSetToUse; int ToolSetToUse;
bool Verbose; bool Verbose;
}; };

Loading…
Cancel
Save