aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/apptype_console.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/apptype_console.gypi')
-rw-r--r--gyp/apptype_console.gypi27
1 files changed, 27 insertions, 0 deletions
diff --git a/gyp/apptype_console.gypi b/gyp/apptype_console.gypi
new file mode 100644
index 0000000000..b686fa71ef
--- /dev/null
+++ b/gyp/apptype_console.gypi
@@ -0,0 +1,27 @@
+# target_defaults used for executable targets that generate a console app
+{
+ 'target_defaults': {
+ 'mac_bundle' : 1,
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ #Allows for creation / output to console.
+ #Console (/SUBSYSTEM:CONSOLE)
+ 'SubSystem': '1',
+
+ #Console app, use main/wmain
+ 'EntryPointSymbol': 'mainCRTStartup',
+
+ 'AdditionalDependencies': [
+ 'OpenGL32.lib',
+ 'usp10.lib',
+ ],
+ },
+ },
+ },
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2: