Merge pull request #254 from starkos/restore-test-createsolution

Put back test.createsolution() function
This commit is contained in:
starkos 2015-09-04 16:25:10 -04:00
commit 560e86dcd3

View File

@ -249,15 +249,18 @@
function test.createWorkspace()
local wks = workspace("MyWorkspace")
configurations { "Debug", "Release" }
local prj = project("MyProject")
language("C++")
kind("ConsoleApp")
local prj = test.createproject(wks)
return wks, prj
end
p.alias(test, "createWorkspace", "createsolution")
-- Eventually we'll want to deprecate this one and move everyone
-- over to createWorkspace() instead (4 Sep 2015).
function test.createsolution()
local wks = workspace("MySolution")
configurations { "Debug", "Release" }
local prj = test.createproject(wks)
return wks, prj
end
function test.createproject(wks)