[CMake] Problem with ADD_CUSTOM_COMMAND & ARGS

Tyler Roscoe tyler at cryptio.net
Thu Sep 17 13:11:43 EDT 2009


On Thu, Sep 17, 2009 at 08:24:28AM -0400, Eric Tellefsen wrote:
> On the plus side, the passed arg "#../../XML/Types/##" is now properly 
> quoted.  On the minus side, the xsd command invocation fails outright, 
> because for some reason the directory name being passed in for the 
> location of the .xsd files ( ${TYPE_XSD_DIR} ) IS being quoted. Previously 
> this was not the case (regarding this directory

The only thing I can tell you is play with the quoting until it works
correctly. Take some off, put more on, escape things, etc.

You could also try posting the actual output from your make VERBOSE=1
(and the relevant part of your CMakeLists) to see if someone else can
see the problem.

tyler


More information about the CMake mailing list