<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<P><FONT face=Arial><FONT size=2><SPAN class=625012715-31032006></SPAN>On 
31/03/2006 15:40:27, William A. Hoffman (billlist@nycap.rr.com) 
wrote:</FONT></FONT> <BR><FONT face=Arial size=2>&gt; At 07:33 AM 3/31/2006, 
Richard Maunder wrote:</FONT> <BR><FONT face=Arial size=2>&gt; &gt;Yes this was 
what I meant - but trying to override CMAKE_CFG_INTDIR</FONT> <BR><FONT 
face=Arial size=2>&gt; doesn&#8217;t</FONT> <BR><FONT face=Arial size=2>&gt; &gt;seem 
to work. I tried:</FONT> <BR><FONT face=Arial size=2>&gt; &gt;</FONT> <BR><FONT 
face=Arial size=2>&gt; &gt;SET (CMAKE_CFG_INTDIR "newdir")</FONT> <BR><FONT 
face=Arial size=2>&gt; &gt;</FONT> <BR><FONT face=Arial size=2>&gt; 
&gt;and</FONT> <BR><FONT face=Arial size=2>&gt; &gt;</FONT> <BR><FONT face=Arial 
size=2>&gt; &gt;SET(CMAKE_CFG_INTDIR "newdir" CACHE FILEPATH "Appended build 
dir" FORCE)</FONT> <BR><FONT face=Arial size=2>&gt; &gt;</FONT> <BR><FONT 
face=Arial size=2>&gt; &gt;Neither of which seem to be alter the VC project. The 
output lib path</FONT> <BR><FONT face=Arial size=2>&gt; under</FONT> <BR><FONT 
face=Arial size=2>&gt; &gt;VC is shown as$LIBRARY_OUTPUT_PATH\$(OutDir)</FONT> 
<BR><FONT face=Arial size=2>&gt; &gt;</FONT> <BR><FONT face=Arial size=2>&gt; 
&gt;CMAKE_CFG_INTDIR seems defaulted to "$(OutDir)" - an VS internal</FONT> 
<BR><FONT face=Arial size=2>&gt; variable</FONT> <BR><FONT face=Arial 
size=2>&gt; &gt;which itself is set by Cmake to "Debug" etc - it appears in the 
VC</FONT> <BR><FONT face=Arial size=2>&gt; project</FONT> <BR><FONT face=Arial 
size=2>&gt; &gt;as the Output Directory. And this gets collected before any 
change</FONT> <BR><FONT face=Arial size=2>&gt; in the</FONT> <BR><FONT 
face=Arial size=2>&gt; &gt;Cmake file.</FONT> <BR><FONT face=Arial size=2>&gt; 
</FONT><BR><FONT face=Arial size=2>&gt; You can not change 
CMAKE_CFG_INTDIR.&nbsp;&nbsp; If you want to create new</FONT> <BR><FONT 
face=Arial size=2>&gt; configurations,</FONT> <BR><FONT face=Arial size=2>&gt; 
you want to set this one: CMAKE_CONFIGURATION_TYPES.&nbsp; But make sure 
you</FONT> <BR><FONT face=Arial size=2>&gt; define CMAKE_C_FLAGS_* where the * 
matches all of the names used in</FONT> <BR><FONT face=Arial size=2>&gt; 
CMAKE_CONFIGURATION_TYPES.</FONT> <BR><FONT face=Arial size=2>&gt; 
</FONT><BR><FONT face=Arial size=2>&gt; -Bill</FONT> </P>
<P><FONT face=Arial><FONT size=2><SPAN class=625012715-31032006>Ok - fair enough 
- thanks. In this case a custom copy rule seems the simpliest 
solution.</SPAN></FONT></FONT></P>
<P><FONT face=Arial><FONT size=2><SPAN class=625012715-31032006>It seems 
somewhat undesirable that you set an output path and then another 
(non-configurable) subdir gets appended to it. I would have thought in the cases 
where LIBRARY_OUTPUT_PATH or EXECUTABLE_OUTPUT_PATH have been set by the user 
they should be respected and not have the CMAKE_CFG_INTDIR<FONT 
face="Times New Roman" size=3>&nbsp;added. Just my opinion and probably too late 
to change this behaviour though....</FONT></SPAN></FONT></FONT></P>
<P><FONT face=Arial size=2><SPAN 
class=625012715-31032006>Thanks</SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN 
class=625012715-31032006>Rick</SPAN></FONT></P></BODY></HTML>