[CMake] subversion
Andreas Naumann
Andreas-Naumann at gmx.net
Fri Jun 24 13:48:07 EDT 2016
Dear cmake users,
I have a question if, and how, you use the Subversion module of cmake.
The module provides the macro Subversion_WC_INFO, which extracts
information of a working copy. I use this information, to generate a sub
minor revision number of my project.
If I checkout my project using svn, it works. But if I export it, the
modules failes with a fatal error.
At the moment, I check, if my directory is a working copy and if it is
not, the version variable is not defined. In my oppinion, it would be
better, if the macro from the subversion module would simply define a
variable "is_working_directory" instead of failing hard.
What do you think about this idea? How do you use the subversion module?
The patch would be easy, and I would send one to the developer mailing
list, if desired.
Regards,
Andreas
More information about the CMake
mailing list