[CMake] ExternalProject_Add and globbing
Hi, ExternalProject_Add is a fantastic tool but I have got one issue with it. Let's say I do the following (tested on Linux) The install step fails as if the shell did not see the glob. The exact error reads Thanks for any help - -- Luc J. Bourhis -- View this message in context: http://cmake.3232098.n2.nabble.com/ExternalProject-Add-and-globbing-tp7583473.html Sent from the CMake mailing list archive at Nabble.com. -- 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
Re: [CMake] ExternalProject_Add and globbing
Hi Luc, would it help of you changed the command to run 'sh' and have it execute 'cp lib/*.so /usr/local/lib'? Just a wild idea. Petr On Mon, Mar 4, 2013 at 12:50 PM, Luc J. Bourhis wrote: > Hi, > > ExternalProject_Add is a fantastic tool but I have got one issue with it. > Let's say I do the following (tested on Linux) > > The install step fails as if the shell did not see the glob. The exact error > reads > > Thanks for any help > > > > > - > -- > Luc J. Bourhis > > -- > View this message in context: > http://cmake.3232098.n2.nabble.com/ExternalProject-Add-and-globbing-tp7583473.html > Sent from the CMake mailing list archive at Nabble.com. > -- > > 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 -- 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
Re: [CMake] ExternalProject_Add and globbing
Petr Kmoch wrote > would it help of you changed the command to run 'sh' and have it > execute 'cp lib/*.so /usr/local/lib'? Just a wild idea. A /good/ idea! Thanks. To be complete, for future readers, my actual command is actually like where DESTINATION_LIB is assigned a value with set(...). Then replaces ${DESTINATION_LIB} correctly. So it works great indeed! Thanks again, Petr. - -- Luc J. Bourhis -- View this message in context: http://cmake.3232098.n2.nabble.com/ExternalProject-Add-and-globbing-tp7583473p7583476.html Sent from the CMake mailing list archive at Nabble.com. -- 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