summaryrefslogtreecommitdiff
path: root/platform/windows/SCsub
diff options
context:
space:
mode:
authorAntony Jones <antony.jones@comcast.net>2015-05-03 15:18:56 -0600
committerAntony Jones <antony.jones@comcast.net>2015-05-03 15:18:56 -0600
commit2a4da03f103448a69c48ee66e415f8dd2d617f58 (patch)
tree3765bffedcc4c29c0cd0e6023d5bfd04fe3f8abf /platform/windows/SCsub
parentb56badf77b652abca012dd4dbd4932a03e4139dd (diff)
Added Visual Studio project generation. Use "vsproj=yes" in command line. This does not set up NMAKE properly.
Diffstat (limited to 'platform/windows/SCsub')
-rw-r--r--platform/windows/SCsub6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/windows/SCsub b/platform/windows/SCsub
index a77428e954..1ad32e7989 100644
--- a/platform/windows/SCsub
+++ b/platform/windows/SCsub
@@ -12,3 +12,9 @@ common_win=[
]
env.Program('#bin/godot',['godot_win.cpp']+common_win,PROGSUFFIX=env["PROGSUFFIX"])
+
+# Microsoft Visual Studio Project Generation
+if (env['vsproj'])=="yes":
+ env.vs_srcs = env.vs_srcs + ["platform/windows/godot_win.cpp"]
+ for x in common_win:
+ env.vs_srcs = env.vs_srcs + ["platform/windows/" + x]