hi all, Iam doing the following through my cmakelist.txt
add_custom_target(mytarget) add_custom_command(TARGET mytarget POST_BUILD COMMAND ${CMAKE_COMMAND} -E tar xvf ${CMAKE_CURRENT_SOURCE_DIR}/t1.tar) this cmakelist is written in subfolder of a mainfolder.. But the problem is that files are not extracted and it is not showing any error. Is iam doing something wrong.. Same problem with other where iam extracting jar files add_custm_target(mytarget1) add_custom_command(TARGET mytarget1 POST_BUILD COMMAND jar ARGS -xf $(XERCESDIR)/xmlParserAPIs.jar WORKING_DIRECTORY ${XERCESDIR}) here i want to extract the files in the smae directory whrer the jar exists. is iam doing something wrong here too.. add_custom_command with output option doesnot seems to work thats why i go with this approach ANy suggestion in this regards will be of great help to me... ankit Ankit
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake