Re: [CMake] first WARNING message swallows all previous STATUS messages in cmake configure

2016-06-18 Thread Ilias Miroslav
Hi, thanks for response; after checking it more thoroughly I think it might be the issue of python related script, not of the CMake, for what I have open the issue: https://github.com/coderefinery/autocmake/issues/174 We can close this question for now. All the best, Miro From: Kristian S

Re: [CMake] first WARNING message swallows all previous STATUS messages in cmake configure

2016-06-18 Thread Kristian
I have some questions for clarification: Which CMake-Version do you use? Which OS do you use? And where is the output of CMake written to? 2016-06-18 8:31 GMT-04:00 Ilias Miroslav : > Dear experts, > > > we are employing CMake buildup system in our project > http://www.diracprogram.org.

[CMake] first WARNING message swallows all previous STATUS messages in cmake configure

2016-06-18 Thread Ilias Miroslav
Dear experts, we are employing CMake buildup system in our project http://www.diracprogram.org. We have a system of cmake files, many of them containing printouts in the form message(STATUS "...") . What happens, however, is when message (WARNING ...) appears du

Re: [CMake] Policy CMP0063 is not set: Honor visibility properties for all target

2016-06-18 Thread Nils Gladitz
On 18.06.2016 13:28, Alexander Shukaev wrote: But they in fact do. How come? I am not sure what facts you mean ... they don't: cmake_policy(SET CMP0063 NEW) cmake_policy(GET CMP0063 POLICY_VALUE_BEFORE) cmake_minimum_required(VERSION 3.1.0) cmake_policy(GET CMP0063 POLICY_VALUE_A

Re: [CMake] Policy CMP0063 is not set: Honor visibility properties for all target

2016-06-18 Thread Alexander Shukaev
On 06/18/2016 01:15 PM, Nils Gladitz wrote: On 18.06.2016 13:03, Alexander Shukaev wrote: if(POLICY CMP0011) cmake_policy(SET CMP0011 NEW) endif() if(POLICY CMP0063) cmake_policy(SET CMP0063 NEW) endif() CMakeLists.txt: include(xxx) cmake_minimum_required(VERSION 3.1.0) and it still work

Re: [CMake] Policy CMP0063 is not set: Honor visibility properties for all target

2016-06-18 Thread Nils Gladitz
On 18.06.2016 13:03, Alexander Shukaev wrote: if(POLICY CMP0011) cmake_policy(SET CMP0011 NEW) endif() if(POLICY CMP0063) cmake_policy(SET CMP0063 NEW) endif() CMakeLists.txt: include(xxx) cmake_minimum_required(VERSION 3.1.0) and it still works. Is it because the version is high enough

Re: [CMake] Policy CMP0063 is not set: Honor visibility properties for all target

2016-06-18 Thread Nicholas Braden
CMP0063 was not added until CMake 3.3, so requesting 3.1 as the minimum does not make sense. https://cmake.org/cmake/help/latest/policy/CMP0063.html On Sat, Jun 18, 2016 at 6:03 AM, Alexander Shukaev wrote: > On 06/18/2016 12:18 PM, Nils Gladitz wrote: >> >> On 18.06.2016 11:38, Alexander Shukaev

Re: [CMake] Policy CMP0063 is not set: Honor visibility properties for all target

2016-06-18 Thread Alexander Shukaev
On 06/18/2016 12:18 PM, Nils Gladitz wrote: On 18.06.2016 11:38, Alexander Shukaev wrote: I did try both variants, after and before cmake_minimum_required(VERSION) but the result is the same. The scope is for sure parent to targets. I don't know what else it could be but this works fine fo

Re: [CMake] Policy CMP0063 is not set: Honor visibility properties for all target

2016-06-18 Thread Nils Gladitz
On 18.06.2016 11:38, Alexander Shukaev wrote: I did try both variants, after and before cmake_minimum_required(VERSION) but the result is the same. The scope is for sure parent to targets. I don't know what else it could be but this works fine for me: cmake_minimum_required(VERSION 2.8.

Re: [CMake] Policy CMP0063 is not set: Honor visibility properties for all target

2016-06-18 Thread Alexander Shukaev
On 06/18/2016 11:02 AM, Nils Gladitz wrote: On 18.06.2016 09:34, Alexander Shukaev wrote: Hello, CMake 3.5.2 here. Why explicitly setting the CMP0063 policy to NEW does not suppress the warning and actually use that new policy? That is if(POLICY CMP0063) cmake_policy(SET CMP0063 NEW) endif

Re: [CMake] Policy CMP0063 is not set: Honor visibility properties for all target

2016-06-18 Thread Nils Gladitz
On 18.06.2016 09:34, Alexander Shukaev wrote: Hello, CMake 3.5.2 here. Why explicitly setting the CMP0063 policy to NEW does not suppress the warning and actually use that new policy? That is if(POLICY CMP0063) cmake_policy(SET CMP0063 NEW) endif() and I still get Policy CMP0063 is no

[CMake] Policy CMP0063 is not set: Honor visibility properties for all target

2016-06-18 Thread Alexander Shukaev
Hello, CMake 3.5.2 here. Why explicitly setting the CMP0063 policy to NEW does not suppress the warning and actually use that new policy? That is if(POLICY CMP0063) cmake_policy(SET CMP0063 NEW) endif() and I still get Policy CMP0063 is not set: Honor visibility properties for all targ