| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 { | |
| 2 'includes': ['common.gypi'], | |
| 3 'conditions': [ | |
| 4 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | |
| 5 or OS=="netbsd" or OS=="android"', { | |
|
sergei
2017/05/30 15:21:32
I used the old list of OSes (see also common.gypi)
| |
| 6 'target_defaults': { | |
| 7 'cflags_cc': [ '-Wall', '-W', '-Wno-unused-parameter', | |
| 8 '-Wnon-virtual-dtor', '-pedantic' ] | |
| 9 } | |
| 10 }], | |
| 11 ['OS=="win"', { | |
| 12 'target_defaults': { | |
| 13 'conditions': [ | |
| 14 ['target_arch=="x64"', { | |
| 15 'msvs_configuration_platform': 'x64' | |
| 16 }] | |
| 17 ], | |
| 18 'msvs_configuration_attributes': { | |
| 19 'CharacterSet': '1', | |
| 20 }, | |
| 21 'msbuild_toolset': 'v140_xp', | |
|
Eric
2017/05/30 17:31:41
Why the XP version? Toolset 14.0 already won't wor
sergei
2017/05/31 12:47:12
Since there is no decision about dropping of _xp y
| |
| 22 'defines': [ | |
| 23 'WIN32', | |
| 24 ], | |
| 25 'link_settings': { | |
| 26 'libraries': ['-lDbgHelp'], | |
| 27 }, | |
| 28 } | |
| 29 }], | |
| 30 ], | |
| 31 | |
| 32 'target_defaults': { | |
| 33 'configurations': { | |
| 34 'Debug': { | |
| 35 'defines': [ | |
| 36 'DEBUG' | |
| 37 ], | |
| 38 'msvs_settings': { | |
| 39 'VCCLCompilerTool': { | |
| 40 'conditions': [ | |
| 41 ['component=="shared_library"', { | |
| 42 'RuntimeLibrary': '3', #/MDd | |
| 43 }, { | |
| 44 'RuntimeLibrary': '1', #/MTd | |
| 45 } | |
| 46 ]] | |
| 47 } | |
| 48 } | |
| 49 }, | |
| 50 'Release': { | |
| 51 'msvs_settings': { | |
| 52 'VCCLCompilerTool': { | |
| 53 'conditions': [ | |
| 54 ['component=="shared_library"', { | |
| 55 'RuntimeLibrary': '2', #/MD | |
| 56 }, { | |
| 57 'RuntimeLibrary': '0', #/MT | |
| 58 } | |
| 59 ]] | |
| 60 } | |
| 61 } | |
| 62 } | |
| 63 }, | |
| 64 } | |
| 65 } | |
| OLD | NEW |