<br><br>
<div class="gmail_quote">2009/3/25 Denis Scherbakov <span dir="ltr"><<a href="mailto:denis_scherbakov@yahoo.com">denis_scherbakov@yahoo.com</a>></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 "make <target_name> 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 "make" 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 "make <target_name>. 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 <<a href="mailto:ankitguddu@gmail.com">ankitguddu@gmail.com</a>> wrote:<br>
<br>> From: ankit jain <<a href="mailto:ankitguddu@gmail.com">ankitguddu@gmail.com</a>><br>> Subject: [CMake] Argument passing to shell script through cmake<br>> To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
> Date: Wednesday, March 25, 2009, 5:54 AM<br>
<div>
<div></div>
<div class="h5">> Hi all,<br>><br>> I want to run one shell script which requires some<br>> arguments to pass in<br>> cmakelists file.<br>> Simply using install command to run it does not allow to<br>> pass arguments to<br>
> it.<br>><br>> How to do it ....<br>><br>> ankit<br></div></div>> _______________________________________________<br>> Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
><br>> Visit other Kitware open-source projects at<br>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Please keep messages on-topic and check the CMake FAQ at:<br>
> <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <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>