@@ -250,12 +250,7 @@ void EndCallback(int ret, string s, bool silent)
250250 EndCallbackIn . Add ( s ) ;
251251 }
252252
253- CppAutobuilder CreateAutoBuilder ( bool isWindows ,
254- string ? buildless = null , string ? solution = null , string ? buildCommand = null , string ? ignoreErrors = null ,
255- string ? msBuildArguments = null , string ? msBuildPlatform = null , string ? msBuildConfiguration = null , string ? msBuildTarget = null ,
256- string ? dotnetArguments = null , string ? dotnetVersion = null , string ? vsToolsVersion = null ,
257- string ? nugetRestore = null , string ? allSolutions = null ,
258- string cwd = @"C:\Project" )
253+ CppAutobuilder CreateAutoBuilder ( bool isWindows , string ? dotnetVersion = null , string cwd = @"C:\Project" )
259254 {
260255 string codeqlUpperLanguage = Language . Cpp . UpperCaseName ;
261256 Actions . GetEnvironmentVariable [ $ "CODEQL_AUTOBUILDER_{ codeqlUpperLanguage } _NO_INDEXING"] = "false" ;
@@ -265,22 +260,7 @@ CppAutobuilder CreateAutoBuilder(bool isWindows,
265260 Actions . GetEnvironmentVariable [ $ "CODEQL_EXTRACTOR_{ codeqlUpperLanguage } _DIAGNOSTIC_DIR"] = "" ;
266261 Actions . GetEnvironmentVariable [ "CODEQL_JAVA_HOME" ] = @"C:\codeql\tools\java" ;
267262 Actions . GetEnvironmentVariable [ "CODEQL_PLATFORM" ] = "win64" ;
268- Actions . GetEnvironmentVariable [ "SEMMLE_DIST" ] = @"C:\odasa" ;
269- Actions . GetEnvironmentVariable [ "SEMMLE_JAVA_HOME" ] = @"C:\odasa\tools\java" ;
270- Actions . GetEnvironmentVariable [ "SEMMLE_PLATFORM_TOOLS" ] = @"C:\odasa\tools" ;
271- Actions . GetEnvironmentVariable [ "LGTM_INDEX_VSTOOLS_VERSION" ] = vsToolsVersion ;
272- Actions . GetEnvironmentVariable [ "LGTM_INDEX_MSBUILD_ARGUMENTS" ] = msBuildArguments ;
273- Actions . GetEnvironmentVariable [ "LGTM_INDEX_MSBUILD_PLATFORM" ] = msBuildPlatform ;
274- Actions . GetEnvironmentVariable [ "LGTM_INDEX_MSBUILD_CONFIGURATION" ] = msBuildConfiguration ;
275- Actions . GetEnvironmentVariable [ "LGTM_INDEX_MSBUILD_TARGET" ] = msBuildTarget ;
276- Actions . GetEnvironmentVariable [ "LGTM_INDEX_DOTNET_ARGUMENTS" ] = dotnetArguments ;
277- Actions . GetEnvironmentVariable [ "LGTM_INDEX_DOTNET_VERSION" ] = dotnetVersion ;
278- Actions . GetEnvironmentVariable [ "LGTM_INDEX_BUILD_COMMAND" ] = buildCommand ;
279- Actions . GetEnvironmentVariable [ "LGTM_INDEX_SOLUTION" ] = solution ;
280- Actions . GetEnvironmentVariable [ "LGTM_INDEX_IGNORE_ERRORS" ] = ignoreErrors ;
281- Actions . GetEnvironmentVariable [ "LGTM_INDEX_BUILDLESS" ] = buildless ;
282- Actions . GetEnvironmentVariable [ "LGTM_INDEX_ALL_SOLUTIONS" ] = allSolutions ;
283- Actions . GetEnvironmentVariable [ "LGTM_INDEX_NUGET_RESTORE" ] = nugetRestore ;
263+ Actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_OPTION_DOTNET_VERSION" ] = dotnetVersion ;
284264 Actions . GetEnvironmentVariable [ "ProgramFiles(x86)" ] = isWindows ? @"C:\Program Files (x86)" : null ;
285265 Actions . GetCurrentDirectory = cwd ;
286266 Actions . IsWindows = isWindows ;
0 commit comments