<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">I have a very simple CMAKE to generate a .exe target (say xyz.exe) with several .cpp source files and some external .lib files (boost and wxwidgets).</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">For some reason, CMAKE generates a .lib for the target (xyz.lib) and then generate the .exe (xyz.exe) using the /IMPLIB liner option to pull in the xyz.lib file.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Is there a way to instruct CMAKE not to generate the .lib (xyz.lib) but only to generate the .obj (xyz.obj) before performing the link operation?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks in advance for your help.<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
</body>
</html>