<br><br>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">ankit jain</b> <span dir="ltr"><<a href="mailto:ankitguddu@gmail.com">ankitguddu@gmail.com</a>></span><br>Date: 2009/2/2<br>
Subject: Re: [CMake] equivalent cmakelist for this file<br>To: Bill Hoffman <<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>><br><br><br><br><br>
<div class="gmail_quote">2009/2/2 Bill Hoffman <span dir="ltr"><<a href="mailto:bill.hoffman@kitware.com" target="_blank">bill.hoffman@kitware.com</a>></span>
<div>
<div></div>
<div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>ankit jain wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">The objective here to include all the .desc files in the cmakelist and when we make it it should generate the executable for it like if we include abc.desc then after make it should generate a file abc which is executable and a script which has test cases but generated by .desc file only. In order to achieve that guide me how to write cmake list file for it so that it wiil produce equivalent behaviour as normal make does using unix makefiles.<br>
When we make to the unix makefiles it is generating the equivalent executable mentioned inthat .desc file.<br> I want to achieve that through Cmakelist files.<br> <br></blockquote><br></div>I am still not really sure what is in a .desc file. Please restate your problem as if the .desc file did not exist.<br>
<br>Something like:<br><br>I want a cmakelists file that does this:<br><br>1. ...<br>2. ...<br><br><br>Basically describe the functionality you want without describing the current makefile implementation of that functionality. The currently implementation is most likely irrelevant to the cmake solution to the problem.<br>
<font color="#888888"><br>-Bill</font> <br></blockquote></div></div>
<div>Actually these .desc file contain only one line as:<br>$exec_string = "./abc"<br><br>This abc contain shell script code. <br>Actually the cmakelist file should do:<br>1. this functionality to create ./abc this file should generate after running make.<br>
<br>since this line is written in desc files thats why i write this to you.<br><br>You tell me how to create that using cmakelist file. <br><br>Ankit<br></div></div><br></div><br>