<br><br>
<div class="gmail_quote">2009/3/25 Denis Scherbakov <span dir="ltr">&lt;<a href="mailto:denis_scherbakov@yahoo.com">denis_scherbakov@yahoo.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Did you try EXECUTE_PROCESS and ADD_CUSTOM_COMMAND?<br><br>Denis<br></blockquote>
<div> </div>
<div>I tried execute process it works but hte problem is that it runs at compile time itself i want that script wil run at build time. </div>
<div> </div>
<div>With add_custom_command iam not able to give something in OUTPUT since the script simply display a message.</div>
<div> </div>
<div>Another problem is that  with other add_custom_command wher iam specify OUTPUT which is something like files then its compulsory to link them with some target but i simply want to generate it. also unless an until u cant link to some target and run &quot;make &lt;target_name&gt; add_custom_command willnot run.</div>

<div> </div>
<div>I want to simply run the make command and want to execute teh command but this OUTPUT as well as linking it with some target really creates a lots of problem to me..</div>
<div> </div>
<div>Is there any way by which if want to simply executes a command it runs on doing &quot;make&quot; only. add _custom _commadn demands OUTPUT which is not a problem but the tresult will not come unless u link it with some target and then built that target for that u have to give &quot;make &lt;target_name&gt;. i just want to run make...</div>

<div> </div>
<div>I hope i make clear my problem... </div>
<div>Let me know how to get rid of it...</div>
<div> </div>
<div>Ankit</div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span><br><br>--- On Wed, 3/25/09, ankit jain &lt;<a href="mailto:ankitguddu@gmail.com">ankitguddu@gmail.com</a>&gt; wrote:<br>
<br>&gt; From: ankit jain &lt;<a href="mailto:ankitguddu@gmail.com">ankitguddu@gmail.com</a>&gt;<br>&gt; Subject: [CMake] Argument passing to shell script through cmake<br>&gt; To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
&gt; Date: Wednesday, March 25, 2009, 5:54 AM<br>
<div>
<div></div>
<div class="h5">&gt; Hi all,<br>&gt;<br>&gt; I want to run one shell script which requires some<br>&gt; arguments to pass in<br>&gt; cmakelists file.<br>&gt; Simply using install command to run it does not allow to<br>&gt; pass arguments to<br>
&gt; it.<br>&gt;<br>&gt; How to do it ....<br>&gt;<br>&gt; ankit<br></div></div>&gt; _______________________________________________<br>&gt; Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
&gt;<br>&gt; Visit other Kitware open-source projects at<br>&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;<br>&gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>&gt;<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
<br><br><br></blockquote></div><br>