<div dir="ltr"><div dir="ltr">I'm trying to get rid of some local CMake scripting for building assembly with nasm and yasm, but I'm running into a problem with the Xcode generator.<div><br></div><div>For the make and ninja generators, everything is fine-- nasm and yasm are both working as expected.</div><div><br></div><div>The same is not true for Xcode. When building a target that includes assembly files Xcode outputs the warnings like the following during its "Check dependencies" step:<div><br></div><div>





<p class="gmail-p1" style="margin:0px 0px 0px 12px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">warning: no rule to process file <assembly file> of type sourcecode for architecture x86_64<br></p><p class="gmail-p1" style="margin:0px 0px 0px 12px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><br></p><div>This is with CMake v3.12.1, but I'm pretty sure this has nothing to do with CMake version. Is there an extra step necessary to get this working with the Xcode generator? I would like to get rid of the extra cmake scripting that handles assembly in the project I'm working on. I have tried the following:</div></div></div><div><br></div><div>1) Building an object library with the assembly sources.</div><div>2) Building a  static library with the assembly sources.</div><div>3) Adding the assembly sources to an existing library target.</div><div><br></div><div>All attempts produce an Xcode project that outputs the warning noted above, and then fails to build because of link errors or missing object files (depending on the method used).</div><div><br></div><div>Thanks for any advice,</div><div>Tom</div><div><br></div></div></div>