[CMake] How to determine which working copy is present?

norulez norulez at me.com
Fri Sep 17 11:48:02 EDT 2010


Hello,

is there a way in cmake to determine if it is a svn or git working copy to use the individual commands?

Such as:

If svn then FindPackage(Svn).....
Else if git then FindPackage(Git)...

Thanks in advance

Best Regards
NoRulez


More information about the CMake mailing list