-Original Message-
From: David Cole [mailto:david.c...@kitware.com]
Sent: Wednesday, July 13, 2011 4:09 PM
To: Meadows, Aaron C.
Cc: cmake@cmake.org
Subject: Re: [CMake] Issues with execute_process and svn
It boils down to this:
set(args --username MyUserName)
# sets args to a list
Hi all,
I've been having a devil of a time with executing SVN with
execute_process. Basically, I need to read environment variables to
specify the username and password for builds on our build server (where
we do not cache credentials).
I've made several attempts at this, and have been
Take the double quotes off the set commands for your args variables.
And put spaces in between the dereferences of those vars in the
execute_process command.
Like this:
# No double quotes here:
if(NOT $ENV{CMAKE_SVN_USERNAME} STREQUAL )
set(_SvnCredPart --no-auth-cache)
set(_SvnUserPart
Hi Aaron,
Not sure if ti will help, but
Have you looked at using ExternalProject.cmake to checkout, configure and
build project using CMake ?
Hth
Jc
On Wed, Jul 13, 2011 at 2:05 PM, David Cole david.c...@kitware.com wrote:
Take the double quotes off the set commands for your args
That's not what I'm using it for, but thanks for the suggestion.
Aaron Meadows
From: Jean-Christophe Fillion-Robin [mailto:jchris.filli...@kitware.com]
Sent: Wednesday, July 13, 2011 1:49 PM
To: David Cole
Cc: Meadows, Aaron C.; cmake@cmake.org
Subject: Re: [CMake] Issues
That works! Thanks!
Any idea why the other way was causing issues?
Aaron Meadows
-Original Message-
From: David Cole [mailto:david.c...@kitware.com]
Sent: Wednesday, July 13, 2011 1:06 PM
To: Meadows, Aaron C.
Cc: cmake@cmake.org
Subject: Re: [CMake] Issues with execute_process
-Original Message-
From: David Cole [mailto:david.c...@kitware.com]
Sent: Wednesday, July 13, 2011 1:06 PM
To: Meadows, Aaron C.
Cc: cmake@cmake.org
Subject: Re: [CMake] Issues with execute_process and svn
Take the double quotes off the set commands for your args variables.
And put
issues?
Aaron Meadows
-Original Message-
From: David Cole [mailto:david.c...@kitware.com]
Sent: Wednesday, July 13, 2011 1:06 PM
To: Meadows, Aaron C.
Cc: cmake@cmake.org
Subject: Re: [CMake] Issues with execute_process and svn
Take the double quotes off the set commands for your