<br><br>
<div><span class="gmail_quote">On 3/24/07, <b class="gmail_sendername">E. Wing</b> &lt;<a href="mailto:ewmailing@gmail.com">ewmailing@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><br>The SDL_LIBRARY_TEMP solution comes from something I think Bill<br>suggested to me. It seemed to work cleaner than the above solutions,
<br>but I overlooked the fact that SDL_LIBRARY_TEMP must be set before<br>SDL_LIBRARY is created. Still, all-in-all, I think this still an<br>improvement over the above stuff. Maybe we need to rename the _TEMP<br>part so it is more clear, or at least document this.
</blockquote>
<div>&nbsp;</div>
<div>I agree.</div>
<div>&nbsp;</div>
<div>The issue I see at the moment is that setting SDL_LIBRARY_TEMP is</div>
<div>not required by CMakeSetup. So you can finish the&nbsp;&quot;configure&quot; step</div>
<div>without setting SDL_LIBRARY_TEMP. But if you do so it will not compile</div>
<div>under Windows. So this should not happen.</div></div>
<div>&nbsp;</div>
<div>So the options to me are:</div>
<div>&nbsp;</div>
<div>- initialize SDL_LIBRARY_TEMP with the SDLMAIN_LIBRARY path (removing the libsdlmain.a)</div>
<div>- create a SDL_LIBRARIES_PATH variable to be set with CMakeSetup</div>
<div>-&nbsp;create a&nbsp;SDL_LIBRARY to be set by the user and a SDL_LIBRARY_FLAGS replacing the</div>
<div>&nbsp; current SDL_LIBRARY</div>
<div>&nbsp;</div>
<div>What do you think?<br>-- <br>Pierre-André Galmes<br>Free Software consultant<br>StarXpert - <a href="http://www.starxpert.fr">www.starxpert.fr</a><br>6, rue Eugène Varlin - 75010 Paris </div>