Commits

Anonymous committed 412a09b

* fixed external projects configuration in VS

  • Participants
  • Parent commits df948a4

Comments (0)

Files changed (1)

src/actions/vstudio/vs2005_solution.lua

 				for cfg in solution.eachconfig(sln) do
 					local prjcfg = project.getconfig(prj, cfg.buildcfg, cfg.platform)
 					if prjcfg then
-						local prjplatform = vstudio.projectPlatform(prjcfg)
-						--[[
-						if not prjplatfrom then
-							projplatform = prjcfg.buildcfg
+						local prjplatform
+						if prj.external then
+							prjplatform = prjcfg.buildcfg
+						else
+							prjplatform = vstudio.projectPlatform(prjcfg)
 						end
-						--]]
 						local architecture = prjcfg.platform or vstudio.architecture(prjcfg)
 
 						_p(2,'{%s}.%s.ActiveCfg = %s|%s', prj.uuid, slncfg[cfg], prjplatform, architecture)