@@ -88,6 +88,7 @@ def _import_OrderedDict():
88
88
'msvs_enable_winrt' ,
89
89
'msvs_requires_importlibrary' ,
90
90
'msvs_enable_winphone' ,
91
+ 'msvs_enable_marmasm' ,
91
92
'msvs_application_type_revision' ,
92
93
'msvs_target_platform_version' ,
93
94
'msvs_target_platform_minversion' ,
@@ -3362,7 +3363,8 @@ def _GenerateMSBuildProject(project, options, version, generator_flags):
3362
3363
content += _GetMSBuildLocalProperties (project .msbuild_toolset )
3363
3364
content += import_cpp_props_section
3364
3365
content += import_masm_props_section
3365
- content += import_marmasm_props_section
3366
+ if spec .get ('msvs_enable_marmasm' ):
3367
+ content += import_marmasm_props_section
3366
3368
content += _GetMSBuildExtensions (props_files_of_rules )
3367
3369
content += _GetMSBuildPropertySheets (configurations )
3368
3370
content += macro_section
@@ -3375,7 +3377,8 @@ def _GenerateMSBuildProject(project, options, version, generator_flags):
3375
3377
content += _GetMSBuildProjectReferences (project )
3376
3378
content += import_cpp_targets_section
3377
3379
content += import_masm_targets_section
3378
- content += import_marmasm_targets_section
3380
+ if spec .get ('msvs_enable_marmasm' ):
3381
+ content += import_marmasm_targets_section
3379
3382
content += _GetMSBuildExtensionTargets (targets_files_of_rules )
3380
3383
3381
3384
if spec .get ('msvs_external_builder' ):
0 commit comments