[CMake] generating source files with ADD_CUSTOM_COMMAND

Hicham Mouline hicham at mouline.org
Thu Jul 1 15:18:11 EDT 2010


 

From: David Cole [mailto:david.cole at kitware.com] 
Sent: 01 July 2010 19:58
To: Hicham Mouline
Cc: cmake at cmake.org
Subject: Re: [CMake] generating source files with ADD_CUSTOM_COMMAND

 

I think you mean:

${CMAKE_COMMAND} -E copy src dst

 

You forgot the -E.

  _____  

 

I'll try that. 

In the meantime, the wiki page http://www.cmake.org/Wiki/CMake_FAQ  has 2
occurrences of 

{CMAKE_COMMAND} copy 

missing the -E

 

Thanks,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100701/b4df77b5/attachment.htm>


More information about the CMake mailing list