Currently when setting CMP0015 to old, the warnings are still displayed. As the policy is only a warning policy at this time there is no breakage of the configure step other then a lot of unneeded warnings.<br><br><div class="gmail_quote">
On Thu, Feb 25, 2010 at 1:23 PM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The policy being set to old is supposed to give the same behavior as prior versions of CMake, but also suppress the warning.<div><br></div><div>What behavior are you seeing that makes you say setting it to old "does nothing"?</div>
<div><div></div><div class="h5">
<div><br><br><div class="gmail_quote">On Thu, Feb 25, 2010 at 10:39 AM, Philip Schwartz <span dir="ltr"><<a href="mailto:philip@progmad.com" target="_blank">philip@progmad.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I think I have found a bug with 3.8.1. I have a few projects that use
relative link paths and they throw a warning for CMP0015.<br><br>I have
pushed to the policy stack CMP0015 OLD to avoid the warnings till I fix
the projects and currently the policy being set to old does nothing.<div><div></div><div><br><br><div class="gmail_quote">On Fri, Feb 19, 2010 at 8:25 AM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>On 2/18/2010 8:38 PM, Samuel E. Henley wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have a new warning "warning: -fPIC ignored for target (all code is<br>
position independent)" Under Windows - Mingw<br>
CMAKE_SHARED_LIBRARY_C_FLAGS and CMAKE_SHARED_LIBRARY_CXX_FLAGS has to<br>
be cleared of -fPIC, -fIPC is not used with gcc in Windows.<br>
</blockquote>
<br></div>
This release candidate had some major platform information<br>
file reorganization to make it easier to add new compilers.<br>
The new files generically use -fPIC for compiling objects<br>
with GCC for shared libraries on all platforms. In the<br>
Platform/CYGWIN-GNU.cmake file we remove the flag, but<br>
it should be removed by Platform/Windows-GNU.cmake also.<br>
<br>
Fixed in CVS HEAD:<br>
<br>
Suppress GNU flag -fPIC on Windows<br>
/cvsroot/CMake/CMake/Modules/Platform/Windows-GNU.cmake,v <-- Modules/Platform/Windows-GNU.cmake<br>
new revision: 1.2; previous revision: 1.1<br>
<br>
I'll stage this for 2.8.1-rc4.<br><font color="#888888">
<br>
-Brad</font><div><div></div><div><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br>