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

Method WriteNasmOptions

Source/cmVisualStudio10TargetGenerator.cxx:4326–4343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4324}
4325
4326void cmVisualStudio10TargetGenerator::WriteNasmOptions(
4327 Elem& e1, std::string const& configName)
4328{
4329 if (!this->GlobalGenerator->IsNasmEnabled()) {
4330 return;
4331 }
4332 Elem e2(e1, "NASM");
4333
4334 OptionsHelper nasmOptions(*(this->NasmOptions[configName]), e2);
4335 nasmOptions.OutputAdditionalIncludeDirectories("ASM_NASM");
4336 nasmOptions.OutputFlagMap();
4337 nasmOptions.PrependInheritedString("AdditionalOptions");
4338 nasmOptions.OutputPreprocessorDefinitions("ASM_NASM");
4339
4340 // Preprocessor definitions and includes are shared with clOptions.
4341 OptionsHelper clOptions(*(this->ClOptions[configName]), e2);
4342 clOptions.OutputPreprocessorDefinitions("ASM_NASM");
4343}
4344
4345void cmVisualStudio10TargetGenerator::WriteLibOptions(
4346 Elem& e1, std::string const& config)

Callers 1

Calls 5

IsNasmEnabledMethod · 0.80
OutputFlagMapMethod · 0.45

Tested by

no test coverage detected