Commits

Jason Perkins committed 1511b27

Change case of vc2010.link() to match new extension convention

  • Participants
  • Parent commits edb558d

Comments (0)

Files changed (3)

src/actions/vstudio/vs2010_vcxproj.lua

 			_p(1,'<ItemDefinitionGroup %s>', vc2010.condition(cfg))
 			vc2010.clCompile(cfg)
 			vc2010.resourceCompile(cfg)
-			vc2010.link(cfg)
+			vc2010.Link(cfg)
 			vc2010.buildEvents(cfg)
 			_p(1,'</ItemDefinitionGroup>')
 		end
 -- Write out the linker tool block.
 --
 
-	function vc2010.link(cfg)
+	function vc2010.Link(cfg)
 		local explicit = vstudio.needsExplicitLink(cfg)
 
 		_p(2,'<Link>')
 		end
 
 		if cfg.kind ~= premake.STATICLIB then
-			vc2010.link_dynamic(cfg, explicit)
+			vc2010.LinkDynamic(cfg, explicit)
 		end
 
 		_p(2,'</Link>')
 
 		if cfg.kind == premake.STATICLIB then
-			vc2010.link_static(cfg)
+			vc2010.LinkStatic(cfg)
 		end
 
 		-- Left to its own devices, VS will happily link against a project dependency
 		end
 	end
 
-	function vc2010.link_dynamic(cfg, explicit)
+	function vc2010.LinkDynamic(cfg, explicit)
 		vc2010.additionalDependencies(cfg, explicit)
 		vc2010.additionalLibraryDirectories(cfg)
 
 		vc2010.additionalLinkOptions(cfg)
 	end
 
-	function vc2010.link_static(cfg)
+	function vc2010.LinkStatic(cfg)
 		_p(2,'<Lib>')
 		vc2010.additionalLinkOptions(cfg)
 		_p(2,'</Lib>')

tests/actions/vstudio/vc2010/test_excluded_configs.lua

 
 	local function prepare(platform)
 		local cfg = premake5.project.getconfig(prj, "Debug", platform)
-		vc2010.link(cfg)
+		vc2010.Link(cfg)
 	end
 
 

tests/actions/vstudio/vc2010/test_link.lua

 
 	local function prepare(platform)
 		cfg = project.getconfig(prj, "Debug", platform)
-		vc2010.link(cfg)
+		vc2010.Link(cfg)
 	end