73 lines · 1.8 KB · Text
RawDownload
{  'targets': [    {      'target_name': 'disvm-exec',      'type': 'executable',      'sources': [        'main.cpp'      ],      'configurations': {        'Release': {          'msvs_settings': {            'VCCLCompilerTool': {              'ExceptionHandling': 1,            }          }        }      },      'include_dirs': [        '../include'      ],      'dependencies': [        '../vm/disvm.gyp:disvm'      ],      'conditions': [        [ 'OS=="mac"', {          'include_dirs': [            '../include/osx'          ],          'xcode_settings': {            'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',            'OTHER_CPLUSPLUSFLAGS' : ['-std=c++1y','-stdlib=libc++'],            'OTHER_LDFLAGS': ['-stdlib=libc++'],            'MACOSX_DEPLOYMENT_TARGET': '10.10'          }        }],        ['OS=="win"', {          'include_dirs': [            '../include/win32'          ],          'configurations': {            'Release': {              'msvs_settings': {                'VCCLCompilerTool': {                  'ExceptionHandling': 1,                  'Optimization': 3, # Full optimizations                }              }            },            'Debug': {              'msvs_settings': {                'VCCLCompilerTool': {                  'ExceptionHandling': 1,                  'Optimization': 0, # Disable optimizations                }              }            }          },          'msvs_settings': {            'VCCLCompilerTool': {              'TreatWChar_tAsBuiltInType': 'false',              'WarningLevel': 3,              'DebugInformationFormat': '3', # PDB            }          }        }],        ['OS=="linux"', {          'cflags': ['-std=c++1y'],          'cflags_cc': ['-fexceptions'],        }]      ]    }  ]}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t