MCPcopy Create free account
hub / github.com/Kitware/CMake / WriteMasmOptions

Method WriteMasmOptions

Source/cmVisualStudio10TargetGenerator.cxx:4273–4289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4271}
4272
4273void cmVisualStudio10TargetGenerator::WriteMasmOptions(
4274 Elem& e1, std::string const& configName)
4275{
4276 if (!this->MSTools || !this->GlobalGenerator->IsMasmEnabled()) {
4277 return;
4278 }
4279 Elem e2(e1, "MASM");
4280
4281 // Preprocessor definitions and includes are shared with clOptions.
4282 OptionsHelper clOptions(*(this->ClOptions[configName]), e2);
4283 clOptions.OutputPreprocessorDefinitions("ASM_MASM");
4284
4285 OptionsHelper masmOptions(*(this->MasmOptions[configName]), e2);
4286 masmOptions.OutputAdditionalIncludeDirectories("ASM_MASM");
4287 masmOptions.PrependInheritedString("AdditionalOptions");
4288 masmOptions.OutputFlagMap();
4289}
4290
4291bool cmVisualStudio10TargetGenerator::ComputeNasmOptions()
4292{

Callers 1

Calls 5

IsMasmEnabledMethod · 0.80
OutputFlagMapMethod · 0.45

Tested by

no test coverage detected