Skip to content

Commit

Permalink
Merge pull request #824 from Blizzard/fix-default-toolset
Browse files Browse the repository at this point in the history
Set default toolsets for vs2005 and vs2008.
  • Loading branch information
tvandijck authored Aug 9, 2017
2 parents cb1cbe5 + 31353fb commit a0cbd33
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/vstudio/tests/vc200x/test_excluded_configs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
test.capture [[
<Tool
Name="VCLinkerTool"
AdditionalOptions="/NOLOGO"
OutputFile="$(OutDir)\MyProject.exe"
]]
end
Expand All @@ -68,7 +69,7 @@
test.capture [[
<Tool
Name="VCLinkerTool"
LinkLibraryDependencies="false"
AdditionalOptions="/NOLOGO"
AdditionalDependencies="bin\Ares\Debug\MyProject2.lib"
]]
end
1 change: 1 addition & 0 deletions modules/vstudio/vs2005.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
-- Visual Studio always uses Windows path and naming conventions

targetos = "windows",
toolset = "msc-v80",

-- The capabilities of this action

Expand Down
1 change: 1 addition & 0 deletions modules/vstudio/vs2008.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
-- Visual Studio always uses Windows path and naming conventions

targetos = "windows",
toolset = "msc-v90",

-- The capabilities of this action

Expand Down
2 changes: 1 addition & 1 deletion modules/vstudio/vs200x_vcproj.lua
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@
links[i] = path.translate(link)
end
else
links = toolset.getlinks(cfg, not ex)
links = path.translate(toolset.getlinks(cfg, not ex))
end

if #links > 0 then
Expand Down

0 comments on commit a0cbd33

Please sign in to comment.