aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-01 13:23:29 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-01 13:23:29 +0000
commitac2e663762cb88dfea334d77052c6428b1a07d87 (patch)
treec86592c1b8ee1ff8c353a3dae8180afc8eb5b4f2
parent81e3d7f7943d5c257a07580b75218a5e256b0aad (diff)
Add gyp for bench and make run on Windows. (2)
-rw-r--r--gyp/bench.gyp15
1 files changed, 7 insertions, 8 deletions
diff --git a/gyp/bench.gyp b/gyp/bench.gyp
index 35f32661ac..db1bcb169d 100644
--- a/gyp/bench.gyp
+++ b/gyp/bench.gyp
@@ -6,12 +6,6 @@
{
'target_name': 'bench',
'type': 'executable',
- 'mac_bundle' : 1,
- 'include_dirs': [
- '../include/effects',
- '../include/utils',
- '../include/images',
- ],
'sources': [
'../bench/benchmain.cpp',
@@ -30,15 +24,20 @@
'dependencies': [
'core.gyp:core',
'effects.gyp:effects',
- 'images.gyp:images',
- 'utils.gyp:utils',
'gpu.gyp:gr',
'gpu.gyp:skgr',
+ 'images.gyp:images',
+ 'utils.gyp:utils',
],
'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',