<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=2>
<DIV><FONT size=2>The $(IntDir) chokes on ver 2.0.2, it works with 1.8.2, as 
used in the following:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>IF(CMAKE_GENERATOR MATCHES "Visual Studio")<BR>&nbsp;&nbsp; 
TARGET_LINK_LIBRARIES(progname 
${LIBBASE}/winbuild/$(IntDir)/libname.lib)<BR>ELSE(CMAKE_GENERATOR MATCHES 
"Visual Studio")<BR>&nbsp;&nbsp; # Do something else to link the 
library.<BR>ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio")<BR></FONT></DIV>
<DIV><FONT size=2>Btw, this is a very useful feature of the CMake system, please 
add this ability of CMake to choose appropriate library (release/debug etc) 
automatically&nbsp;as a tip to the documentation. I found this after reading 
quite a few posts, and use of out-of-tree libraries is such a common 
thing...</FONT></DIV>
<DIV><FONT size=2>&nbsp;</DIV></FONT></FONT></DIV></FONT></DIV></BODY></HTML>