Skip to content

Instantly share code, notes, and snippets.

@inh3
Last active August 29, 2015 13:56
Show Gist options
  • Save inh3/9176721 to your computer and use it in GitHub Desktop.
Save inh3/9176721 to your computer and use it in GitHub Desktop.
gyp visual studio compile as
# http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.vcprojectengine.compileasoptions.aspx
# 0 - compileAsDefault
# 1 - compileAsC
# 2 - compileAsCPlusPlus
['OS=="win"', {
'msvs_settings': {
'VCCLCompilerTool': {
'CompileAs': '2'
}
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment