Allow for overriding generateSolution and generateProject.

This commit is contained in:
Manu Evans 2015-04-09 15:58:30 +10:00
parent b27005d4aa
commit 1ba7404392
4 changed files with 25 additions and 8 deletions

View File

@ -121,8 +121,13 @@
-- Solution and project generation logic
onSolution = vstudio.vs2005.generateSolution,
onProject = vstudio.vs2010.generateProject,
onSolution = function(sln)
vstudio.vs2005.generateSolution(sln)
end,
onProject = function(prj)
vstudio.vs2010.generateProject(prj)
end,
onRule = vstudio.vs2010.generateRule,
onCleanSolution = vstudio.cleanSolution,

View File

@ -37,8 +37,12 @@
-- Solution and project generation logic
onSolution = vstudio.vs2005.generateSolution,
onProject = vstudio.vs2010.generateProject,
onSolution = function(sln)
vstudio.vs2005.generateSolution(sln)
end,
onProject = function(prj)
vstudio.vs2010.generateProject(prj)
end,
onCleanSolution = vstudio.cleanSolution,
onCleanProject = vstudio.cleanProject,

View File

@ -39,8 +39,12 @@
-- Solution and project generation logic
onSolution = vstudio.vs2005.generateSolution,
onProject = vstudio.vs2010.generateProject,
onSolution = function(sln)
vstudio.vs2005.generateSolution(sln)
end,
onProject = function(prj)
vstudio.vs2010.generateProject(prj)
end,
onCleanSolution = vstudio.cleanSolution,
onCleanProject = vstudio.cleanProject,

View File

@ -39,8 +39,12 @@
-- Solution and project generation logic
onSolution = vstudio.vs2005.generateSolution,
onProject = vstudio.vs2010.generateProject,
onSolution = function(sln)
vstudio.vs2005.generateSolution(sln)
end,
onProject = function(prj)
vstudio.vs2010.generateProject(prj)
end,
onCleanSolution = vstudio.cleanSolution,
onCleanProject = vstudio.cleanProject,