Re: [CMake] CMake extracting tar via execute_process does not allow extraction in subdirectories

2013-04-03 Thread Eric Noulard
2013/4/3 Saad Khattak saadrus...@gmail.com That prints the directory in the console: Z:/engine/src/mySDK But did not extract to it. Note that mySDK exists, and the tar is in the 'src' folder and I am able to extract in the 'src' folder properly. Ok this is weird. Which version of CMake

Re: [CMake] CMake extracting tar via execute_process does not allow extraction in subdirectories

2013-04-03 Thread Saad Khattak
I am using version 2.8.8. I am running Windows 7 and do not use cygwin, only native CMake. cd Z:/engine/src/mySDK cmake -E tar xvf ../mySDK.tar.gz That works. The tar is successfully extracted to the mySDK folder. As before, it appears it can only extract to the current directory. - Saad On

Re: [CMake] CMake extracting tar via execute_process does not allow extraction in subdirectories

2013-04-02 Thread Saad Khattak
Hi Eric, I created the folder manually, but it still did not extract to that folder. It appears to only be able to extract to the current folder. It 'is' able to create folders that are in the tar as expected. - Saad On Tue, Apr 2, 2013 at 1:50 AM, Eric Noulard eric.noul...@gmail.com wrote:

Re: [CMake] CMake extracting tar via execute_process does not allow extraction in subdirectories

2013-04-02 Thread Saad Khattak
That prints the directory in the console: Z:/engine/src/mySDK But did not extract to it. Note that mySDK exists, and the tar is in the 'src' folder and I am able to extract in the 'src' folder properly. - Saad On Tue, Apr 2, 2013 at 1:58 AM, Eric Noulard eric.noul...@gmail.com wrote: COMMAND

[CMake] CMake extracting tar via execute_process does not allow extraction in subdirectories

2013-04-01 Thread Saad Khattak
Hi, If I have the following command: execute_process( COMMAND ${CMAKE_COMMAND} -E tar xzf mySDK.tar.gz WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) the extraction works and extracts the tar in the current directory. But this: execute_process( COMMAND ${CMAKE_COMMAND} -E

Re: [CMake] CMake extracting tar via execute_process does not allow extraction in subdirectories

2013-04-01 Thread David Cole
Message- From: Saad Khattak saadrus...@gmail.com To: CMake Mailing List cmake@cmake.org Sent: Mon, Apr 1, 2013 6:06 pm Subject: [CMake] CMake extracting tar via execute_process does not allow extraction in subdirectories Hi, If I have the following command:   execute_process(     COMMAND

Re: [CMake] CMake extracting tar via execute_process does not allow extraction in subdirectories

2013-04-01 Thread Saad Khattak
cmake@cmake.org Sent: Mon, Apr 1, 2013 6:06 pm Subject: [CMake] CMake extracting tar via execute_process does not allow extraction in subdirectories Hi, If I have the following command: execute_process( COMMAND ${CMAKE_COMMAND} -E tar xzf mySDK.tar.gz WORKING_DIRECTORY

Re: [CMake] CMake extracting tar via execute_process does not allow extraction in subdirectories

2013-04-01 Thread Eric Noulard
2013/4/2 Saad Khattak saadrus...@gmail.com Hi, If I have the following command: execute_process( COMMAND ${CMAKE_COMMAND} -E tar xzf mySDK.tar.gz WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) the extraction works and extracts the tar in the current directory. But this:

Re: [CMake] CMake extracting tar via execute_process does not allow extraction in subdirectories

2013-04-01 Thread Eric Noulard
2013/4/2 Saad Khattak saadrus...@gmail.com Hi, If I have the following command: execute_process( COMMAND ${CMAKE_COMMAND} -E tar xzf mySDK.tar.gz WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) the extraction works and extracts the tar in the current directory. But this: