Again I'm having some troubles with the different building stages:

I would like to have a target that simply unzips all the files contained in a directory,
which can be found with a simple globbing.

 add_custom_target(unzip_all_eggs
   file(GLOB eggs RELATIVE ${EGG_BUILD_DIRECTORY}/*egg)
   COMMAND ${PYTHON_EXECUTABLE} ${UNZIP_SCRIPT} ${egg}
   )


The problem is that when I actually run cmake these files don't exist yet,
so this command could not really work...

A possible solution is to make my UNZIP_SCRIPT smarter and just do the globbing
itself, is there any other more CMake-like solution?
--

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

Reply via email to