[Cmake] SET_SOURCE_FILE_PROPERTIES not working?

Brad King brad.king at kitware.com
Mon Jul 26 17:38:02 EDT 2004


Christopher Baus wrote:
>>See the question "How can I generate a source file during the build?" in
>>the FAQ:
>>
>>   http://www.cmake.org/Wiki/CMake_FAQ#Using_CMake
> 
> 
> 
> The example doesn't actually work.  It always results in:
> 
> Building dependencies. cmake.depends...
> make[3]: *** No rule to make target `SVNVersion.cpp', needed by

I tested the example before putting it on the FAQ.  Are you sure you 
have the full path to SVNVersion.cpp (using CMAKE_CURRENT_BINARY_DIR) in 
the ADD_CUSTOM_COMMAND?

-Brad


More information about the Cmake mailing list