<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
span.EmailStyle18
{font-family:"Calibri","sans-serif";
color:#1F497D}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">I think this is intended. The semantics are the same as the set function. You can use set_property with the APPEND or APPEND_STRING option to do what you want.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Frank</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div style="border:none; border-left:solid blue 1.5pt; padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> cmake-bounces@cmake.org [mailto:cmake-bounces@cmake.org]
<b>On Behalf Of </b>Eric Clark<br>
<b>Sent:</b> Tuesday, October 16, 2012 2:53 PM<br>
<b>To:</b> CMake Mailing List (cmake@cmake.org)<br>
<b>Subject:</b> [CMake] set_target_properties called twice</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am currently having trouble with set_target_properties(…). I am trying to call it twice to set two different values for the same property. The first call I make looks like this:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "/ENTRY:mainCRTStartup")</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Then, I call it again with the following signature:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "/INCREMENTAL:NO")</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">When I do this, the second call seems to override the previous call. Can anyone tell me if this is intended or a bug? And, if so, does anyone know of a work-around for this?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thank You,</p>
<p class="MsoNormal">Eric</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><i>To be fond of something is better than merely to know it, and to find joy in it is better than merely to be fond of it. -- The Analects, Confucius</i></p>
<p class="MsoNormal"> </p>
</div>
</div>
<br>
This communication, including any attachments, may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are hereby notified that you are not authorized to read, print, retain
a copy of or disseminate any portion of this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please immediately notify the sender via return e-mail and delete it from your
system.
</body>
</html>