On Thu, Jul 3, 2008 at 9:10 AM, Bill Hoffman <<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Philip Lowman wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Wow this is an old thread. Sorry for the late response.<br>
<br>
I think what's needed here is a way to detect the platform and allow people to modify CMAKE_CXX_FLAGS and friends before they get cemented in stone in the cache. IIRC doesn't CMAKE_USER_MAKE_RULES_OVERRIDE put the onus on the user to know the proper platform, compiler, etc. before they set the flags?<br>
<br>
</blockquote>
<br></div>
No, CMAKE_USER_MAKE_RULES_OVERRIDE is included after CMAKE_SYSTEM_NAME and the compiler are set. The _INIT variables will have been set, but the cache values have not yet been set. This allows you to set them.</blockquote>
<div><br>Thanks! I didn't realize this feature existed. :)<br><br></div></div>-- <br>Philip Lowman