Hello, I have implemented an EXTRACT_COMMAND for ExternalProject_Add.
It is useful in case you are downloading a file that CMake does not know how to extract, but you do (e. g. NSIS installers that can be extracted without installation, self-extracting ZIP files, etc). Code is here for now: https://elpauer.assembla.com/code/elpauercmake/git/nodes/epa_extract_command A test has been implemented. Run "git diff master epa_extract_command" to see the changes, which are not really that important. The reason I implemented this feature is I want to download and use the Microsoft HTML Help Compiler. As it's a self-extracting ZIP file with a .exe extension, ExternalProject refused to download it because it didn't know how to extract it. I have applied for git access but I am not sure whether I have done that correctly. Specifically, I don't understand the "...After you have been invited..." in http://www.cmake.org/Wiki/CMake/Git/Account#Git (who would know I need an invitation!? where should I request such an invite?) Please tell me if I need to do something more to get access to the staging area of git://cmake.org. Thank you -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer)
-- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers