<div>hi all,</div>
<div> </div>
<div>Iam doing the following through my cmakelist.txt</div>
<div> </div>
<div>add_custom_target(mytarget)<br>add_custom_command(TARGET mytarget POST_BUILD<br>COMMAND ${CMAKE_COMMAND} -E tar xvf ${CMAKE_CURRENT_SOURCE_DIR}/t1.tar)<br></div>
<div>this cmakelist is written in subfolder of a mainfolder..</div>
<div> </div>
<div>But the problem is that files are not extracted and it is not showing any error.</div>
<div> </div>
<div>Is iam doing something wrong..</div>
<div> </div>
<div> </div>
<div>Same problem with other where iam extracting jar files</div>
<div>add_custm_target(mytarget1)</div>
<div> </div>
<div>add_custom_command(TARGET mytarget1 POST_BUILD<br>COMMAND jar ARGS -xf $(XERCESDIR)/xmlParserAPIs.jar<br>WORKING_DIRECTORY ${XERCESDIR})<br><br>here i want to extract the files in the smae directory whrer the jar exists.</div>
<div> </div>
<div>is iam doing something wrong here too..</div>
<div> </div>
<div>add_custom_command with output option doesnot seems to work thats why i go with this approach </div>
<div> </div>
<div>ANy suggestion in this regards will be of great help to me...</div>
<div> </div>
<div> </div>
<div>ankit</div>
<div> </div>
<div> </div>
<div>Ankit</div>
<div> </div>