Skip to content

Instantly share code, notes, and snippets.

@sourcepirate
Created February 4, 2015 12:35
Show Gist options
  • Save sourcepirate/2781c1361d948b42a6b2 to your computer and use it in GitHub Desktop.
Save sourcepirate/2781c1361d948b42a6b2 to your computer and use it in GitHub Desktop.
'conditions': [
['OS=="mac"', {'libraries': ['-framework AGL', '-framework OpenGL']}],
['OS=="linux"', {'libraries': ['-lGL', '-lGLEW']}],
['OS=="win"', {
'libraries': [ 'opengl32.lib' ],
'defines' : [
'WIN32_LEAN_AND_MEAN',
'VC_EXTRALEAN'
],
'cflags' : [
'/Ox','/Ob2','/Oi','/Ot','/Oy','/GL','/GF','/Gm-','/EHsc','/MT','/GS','/Gy','/GR-','/Gd','/wd"4530"','/wd"4251"'
],
'ldflags' : [
'/OPT:REF','/OPT:ICF','/LTCG'
]
}
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment