summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/vstudio/impl/vs200x.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-08-07 12:55:29 +0800
committerruki <[email protected]>2016-08-07 12:55:29 +0800
commit8aadd86d566ef6e0c9d1e8ed33d46647c71a8edf (patch)
treed6465a9f9a9368fa5715f50642d83f7a5ebcdf73 /xmake/plugins/project/vstudio/impl/vs200x.lua
parentd9f5c18a8f80dad25589f8fe9992ecfcc469e75d (diff)
make vs200x solution file
Diffstat (limited to 'xmake/plugins/project/vstudio/impl/vs200x.lua')
-rwxr-xr-xxmake/plugins/project/vstudio/impl/vs200x.lua39
1 files changed, 5 insertions, 34 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs200x.lua b/xmake/plugins/project/vstudio/impl/vs200x.lua
index 63e236062..ebe28baaf 100755
--- a/xmake/plugins/project/vstudio/impl/vs200x.lua
+++ b/xmake/plugins/project/vstudio/impl/vs200x.lua
@@ -22,45 +22,16 @@
-- imports
import("core.project.project")
-import("vsfile")
+import("vs200x_solution")
--- make
-function make(outputdir)
+-- make vstudio project
+function make(outputdir, vsinfo)
-- enter project directory
local olddir = os.cd(project.directory())
- --[[
- local slnfile = vsfile.open(path.join(outputdir, "vs2008.sln"), "w")
- if slnfile then
-
- slnfile:print("Microsoft Visual Studio Solution File, Format Version 10.00")
- slnfile:print("# Visual Studio 2008")
- slnfile:enter("Project")
- slnfile:enter("ProjectSection(ProjectDependencies) = postProject")
- slnfile:print("{ED657C29-5162-4124-AF9D-0F5889E7868A} = {ED657C29-5162-4124-AF9D-0F5889E7868A}")
- slnfile:leave("EndProjectSection")
- slnfile:leave("EndProject")
- slnfile:enter("Project")
- slnfile:leave("EndProject")
- slnfile:enter("Global")
- slnfile:enter("ProjectSection(ProjectDependencies) = postProject")
- slnfile:enter("ProjectSection(ProjectDependencies) = postProject")
- slnfile:print("1111")
- slnfile:print("1111")
- slnfile:print("1111")
- slnfile:print("1111")
- slnfile:leave("EndProjectSection")
- slnfile:leave("EndProjectSection")
-
- slnfile:enter("ProjectSection(ProjectDependencies) = postProject")
- slnfile:print("1111")
- slnfile:leave("EndProjectSection")
- slnfile:leave("EndGlobal")
-
- slnfile:close()
- end
- ]]
+ -- make solution
+ vs200x_solution.make(outputdir, vsinfo)
-- leave project directory
os.cd(olddir)