Greetings,<div>I have a project most of which is in C but it includes a couple of assembly files (.S).</div><div>CMake builds it just fine until I add a preprocessor option meant for gcc - and that the assembler </div><div>
can't digest.</div><div>Recently I set the COMPILE_FLAGS to include "-H". The compiler did as the flag specified.</div><div>It listed all the headers in the dependency chain.</div><div>But then I got the error:</div>
<div>... /usr/bin/as -o myAssemblyModule.S.o myAssemblyModule.S</div><div>as: unrecognized option `-H`</div><div><br></div><div>I know the assembly capabilities of cmake are still "experimental" but is there a way</div>
<div>to keep an option from passing to the assembler?</div><div><br></div><div>I'm using cmake 2.8 on FreeBSD 7.2 and using the KDevelop3 generator.</div><div><br></div><div>Skippy</div>