Essentially what I've tried to do is:
ExternalProject_Add(aproject
...)
ExternalProject_Add_Step(aproject customstep
DEPENDEES build
COMMAND ${CMAKE_COMMAND} -E rename foo-* foo
...)
This appears to have generated the following:
cd /path/to/working/directory && /usr/bin/cmake -E rename "foo-*" foo
...which causes the following error:
Error renaming from "foo-*" to "foo": No such file or directory
If I run the cmake -E rename on the command line without quotes it works as
expected.
Is it possible to generate the command without the added quotes or is this
actually protecting me from my own ignorance? Is there another way to
accomplish this task? Basically, the project I'm trying to add needs to be
installed manually but the directories containing the built libraries will vary
depending on the system. I was trying to rename this directory using a
wildcard so that I could then copy its contents to the desired location.
-Jose
_______________________________________________
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