|
@@ -3930,6 +3930,8 @@ bool cmVisualStudio10TargetGenerator::ComputeNasmOptions(
|
|
|
this->LocalGenerator->AddLanguageFlags(flags, this->GeneratorTarget,
|
|
this->LocalGenerator->AddLanguageFlags(flags, this->GeneratorTarget,
|
|
|
cmBuildStep::Compile, "ASM_NASM",
|
|
cmBuildStep::Compile, "ASM_NASM",
|
|
|
configName);
|
|
configName);
|
|
|
|
|
+ this->LocalGenerator->AddCompileOptions(flags, this->GeneratorTarget,
|
|
|
|
|
+ "ASM_NASM", configName);
|
|
|
flags += " -f";
|
|
flags += " -f";
|
|
|
flags += this->Makefile->GetSafeDefinition("CMAKE_ASM_NASM_OBJECT_FORMAT");
|
|
flags += this->Makefile->GetSafeDefinition("CMAKE_ASM_NASM_OBJECT_FORMAT");
|
|
|
nasmOptions.Parse(flags);
|
|
nasmOptions.Parse(flags);
|