@@ -88,6 +88,7 @@ def _import_OrderedDict():
8888'msvs_enable_winrt' ,
8989'msvs_requires_importlibrary' ,
9090'msvs_enable_winphone' ,
91+ 'msvs_enable_marmasm' ,
9192'msvs_application_type_revision' ,
9293'msvs_target_platform_version' ,
9394'msvs_target_platform_minversion' ,
@@ -3362,7 +3363,8 @@ def _GenerateMSBuildProject(project, options, version, generator_flags):
33623363content += _GetMSBuildLocalProperties (project .msbuild_toolset )
33633364content += import_cpp_props_section
33643365content += import_masm_props_section
3365- content += import_marmasm_props_section
3366+ if spec .get ('msvs_enable_marmasm' ):
3367+ content += import_marmasm_props_section
33663368content += _GetMSBuildExtensions (props_files_of_rules )
33673369content += _GetMSBuildPropertySheets (configurations )
33683370content += macro_section
@@ -3375,7 +3377,8 @@ def _GenerateMSBuildProject(project, options, version, generator_flags):
33753377content += _GetMSBuildProjectReferences (project )
33763378content += import_cpp_targets_section
33773379content += import_masm_targets_section
3378- content += import_marmasm_targets_section
3380+ if spec .get ('msvs_enable_marmasm' ):
3381+ content += import_marmasm_targets_section
33793382content += _GetMSBuildExtensionTargets (targets_files_of_rules )
33803383
33813384if spec .get ('msvs_external_builder' ):
0 commit comments