<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 18.06.2016 13:28, Alexander Shukaev
wrote:<br>
</div>
<blockquote
cite="mid:596bbc52-1c69-0346-d6de-9938654b1907@Alexander.Shukaev.name"
type="cite"><br>
But they in fact do. How come?
<br>
</blockquote>
<br>
I am not sure what facts you mean ... they don't:<br>
<br>
<blockquote>cmake_policy(SET CMP0063 NEW)<br>
cmake_policy(GET CMP0063 POLICY_VALUE_BEFORE)<br>
cmake_minimum_required(VERSION 3.1.0)<br>
cmake_policy(GET CMP0063 POLICY_VALUE_AFTER)<br>
<br>
message("[${POLICY_VALUE_BEFORE}] [${POLICY_VALUE_AFTER}]")<br>
<br>
file(WRITE foo.cpp "int main() {}")<br>
<br>
set(CMAKE_CXX_VISIBILITY_PRESET hidden)<br>
<br>
add_executable(foo foo.cpp)<br>
</blockquote>
<br>
Expectedly outputs for me:<br>
[NEW] []<br>
<br>
(plus the policy warning since CMP0063 is in fact not set)<br>
<br>
Nils<br>
</body>
</html>