Skip to content

Commit

Permalink
fix vs2013 project bug for debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Aug 29, 2016
1 parent c7271bf commit 4adfc24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function _make_configurations(vcxprojfile, vsinfo, target, vcxprojdir)
vcxprojfile:print("<Import Project=\"%$(VCTargetsPath)\\Microsoft.Cpp.Default.props\" />")

-- make Configuration
vcxprojfile:enter("<PropertyGroup Condition=\"\'%$(Configuration)|%$(Platform)\'==\'release|Win32\'\" Label=\"Configuration\">")
vcxprojfile:enter("<PropertyGroup Condition=\"\'%$(Configuration)|%$(Platform)\'==\'$(mode)|Win32\'\" Label=\"Configuration\">")
vcxprojfile:print("<ConfigurationType>%s</ConfigurationType>", assert(configuration_types[target:get("kind")]))
vcxprojfile:print("<PlatformToolset>v%s0</PlatformToolset>", assert(versions["vs" .. vsinfo.vstudio_version]))
vcxprojfile:print("<CharacterSet>MultiByte</CharacterSet>")
Expand Down
2 changes: 1 addition & 1 deletion xmake/plugins/project/vstudio/vs2013.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function make(outputdir)
local vsinfo =
{
vstudio_version = "2013"
, solution_version = "13"
, solution_version = "12"
}

-- make project
Expand Down
2 changes: 1 addition & 1 deletion xmake/plugins/project/vstudio/vs2015.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function make(outputdir)
local vsinfo =
{
vstudio_version = "2015"
, solution_version = "14"
, solution_version = "12"
}

-- make project
Expand Down

0 comments on commit 4adfc24

Please sign in to comment.