| 4324 | } |
| 4325 | |
| 4326 | void 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 | |
| 4345 | void cmVisualStudio10TargetGenerator::WriteLibOptions( |
| 4346 | Elem& e1, std::string const& config) |
no test coverage detected