[CMake] CMake 2.8.1 RC 3 is ready to try

Philip Schwartz philip at progmad.com
Thu Feb 25 14:10:14 EST 2010


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.

On Thu, Feb 25, 2010 at 1:23 PM, David Cole <david.cole at kitware.com> wrote:

> The policy being set to old is supposed to give the same behavior as prior
> versions of CMake, but also suppress the warning.
>
> What behavior are you seeing that makes you say setting it to old "does
> nothing"?
>
>
> On Thu, Feb 25, 2010 at 10:39 AM, Philip Schwartz <philip at progmad.com>wrote:
>
>> 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.
>>
>> 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.
>>
>>
>> On Fri, Feb 19, 2010 at 8:25 AM, Brad King <brad.king at kitware.com> wrote:
>>
>>> On 2/18/2010 8:38 PM, Samuel E. Henley wrote:
>>>
>>>> I have a new warning "warning: -fPIC ignored for target (all code is
>>>> position independent)" Under Windows - Mingw
>>>> CMAKE_SHARED_LIBRARY_C_FLAGS and CMAKE_SHARED_LIBRARY_CXX_FLAGS has to
>>>> be cleared of -fPIC, -fIPC is not used with gcc in Windows.
>>>>
>>>
>>> This release candidate had some major platform information
>>> file reorganization to make it easier to add new compilers.
>>> The new files generically use -fPIC for compiling objects
>>> with GCC for shared libraries on all platforms.  In the
>>> Platform/CYGWIN-GNU.cmake file we remove the flag, but
>>> it should be removed by Platform/Windows-GNU.cmake also.
>>>
>>> Fixed in CVS HEAD:
>>>
>>> Suppress GNU flag -fPIC on Windows
>>> /cvsroot/CMake/CMake/Modules/Platform/Windows-GNU.cmake,v  <--
>>>  Modules/Platform/Windows-GNU.cmake
>>> new revision: 1.2; previous revision: 1.1
>>>
>>> I'll stage this for 2.8.1-rc4.
>>>
>>> -Brad
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the CMake FAQ at:
>>> http://www.cmake.org/Wiki/CMake_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.cmake.org/mailman/listinfo/cmake
>>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100225/30fc410f/attachment.htm>


More information about the CMake mailing list