1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{
'target_defaults': {
'msvs_settings': {
'VCCLCompilerTool': {
'WarningLevel': '4',
'WarnAsError': 'true',
},
},
'msvs_system_include_dirs': [
'$(ProjectName)', # Different for each target
'common', # Same for all targets
],
},
'targets': [
{
'target_name': 'foo',
'type': 'executable',
'sources': [ 'main.cc', ],
},
{
'target_name': 'bar',
'type': 'executable',
'sources': [ 'main.cc', ],
},
],
}
|