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

Method WriteMarmasmOptions

Source/cmVisualStudio10TargetGenerator.cxx:4217–4233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4215}
4216
4217void cmVisualStudio10TargetGenerator::WriteMarmasmOptions(
4218 Elem& e1, std::string const& configName)
4219{
4220 if (!this->MSTools || !this->GlobalGenerator->IsMarmasmEnabled()) {
4221 return;
4222 }
4223 Elem e2(e1, "MARMASM");
4224
4225 // Preprocessor definitions and includes are shared with clOptions.
4226 OptionsHelper clOptions(*(this->ClOptions[configName]), e2);
4227 clOptions.OutputPreprocessorDefinitions("ASM_MARMASM");
4228
4229 OptionsHelper marmasmOptions(*(this->MarmasmOptions[configName]), e2);
4230 marmasmOptions.OutputAdditionalIncludeDirectories("ASM_MARMASM");
4231 marmasmOptions.PrependInheritedString("AdditionalOptions");
4232 marmasmOptions.OutputFlagMap();
4233}
4234
4235bool cmVisualStudio10TargetGenerator::ComputeMasmOptions()
4236{

Callers 1

Calls 5

IsMarmasmEnabledMethod · 0.80
OutputFlagMapMethod · 0.45

Tested by

no test coverage detected