<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">Hi,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>CMakeCache.txt is not the problem.<br>
I do out-of-source builds and completely remove the build folder before each build<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>CMAKE_ASM_FLAGS sounds good and I found some references in the internet about it.<br>
But this seems not to be used anymore.<br>
If you do a grep in cmake/Modules for ASMFLAGS or ASM_FLAGS you'll get no hits.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I found this line in CMakeASMCompiler.cmake of the generated files.<br>
SET(CMAKE_ASM_COMPILER_ARG1 "")<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>How is this variable set?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>On Monday 27 October 2008 15:52:37 Hendrik Sattler wrote:<br>
&gt; Bill Hoffman schrieb:<br>
&gt; &gt; You have to start with an empty cache.  Re-run cmake with no<br>
&gt; &gt; CMakeCache.txt.  Then make sure the CMAKE_C_FLAGS are correct.<br>
&gt;<br>
&gt; Shouldn't that be CMAKE_ASM_FLAGS if the .s file has the language<br>
&gt; property set to ASM?<br>
&gt;<br>
&gt; HS<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; CMake mailing list<br>
&gt; CMake@cmake.org<br>
&gt; http://www.cmake.org/mailman/listinfo/cmake<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>-- <br>
mit freundlichen Grüßen / best regards<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Gerhard Gappmeier<br>
ascolab GmbH - automation systems communication laboratory<br>
Tel.: +49 9131 691 123<br>
Fax:  +49 9131 691 128<br>
Web: http://www.ascolab.com<br>
GPG-Key: http://www.ascolab.com/gpg/gg.asc<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>