[CMake] ctest & git submodules

NoRulez norulez at me.com
Thu Feb 28 10:34:31 EST 2013


Yes, it is the command which I want.

On the command line the same command works in the source tree.

The command only fails during the CTest run if I set the option.


Am 28.02.2013 um 13:07 schrieb Brad King <brad.king at kitware.com>:

> On 02/28/2013 02:38 AM, NoRulez wrote:
>> But if I set the option:
>> set(CTEST_GIT_UPDATE_OPTIONS "--tags")
>> 
>> Then I get the following error message:
>> Update command failed: "C:/Program Files/Git/cmd/git.cmd" "fetch" "--tags"
> 
> Isn't that the command you want?  Perhaps it really fails.
> Try running it by hand from a command line.
> 
> -Brad


More information about the CMake mailing list