[CMake] execute_process, set a path

2008-12-11 Thread Edward Flanigan
How do I set LD_LIBRARY_PATH so I can call execute_process( ) using that library path. Example: execute_process(COMMAND echo \$PATH COMMAND LD_LIBRARY_PATH=/home/my COMMAND myExe ) The 1st command should print the $PATH the 2nd should set LD_LIBARY_PATH the 3rd should execute myExe (with LD

Re: [CMake] CMAKE/CTEST input test file

2008-07-30 Thread Edward Flanigan
> Date: Wed, 30 Jul 2008 17:29:15 -0400> From: [EMAIL PROTECTED]> To: [EMAIL > PROTECTED]> CC: cmake@cmake.org> Subject: Re: [CMake] CMAKE/CTEST input test > file> > Edward Flanigan wrote:> > > > > > > Date: Wed, 30 Jul 2008 17:04:03 >

Re: [CMake] CMAKE/CTEST input test file

2008-07-30 Thread Edward Flanigan
> Date: Wed, 30 Jul 2008 17:04:03 -0400 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: cmake@cmake.org > Subject: Re: [CMake] CMAKE/CTEST input test file > > Edward Flanigan wrote: > > > > Using CTest, is there any way to specify what tests I want t

[CMake] CMAKE/CTEST input test file

2008-07-30 Thread Edward Flanigan
Using CTest, is there any way to specify what tests I want to run in a file? There is the option for -I where you have to specify the test number. I want to specify the test name (not the number): TestA TestB TestD use that file as an input to CTEST and run only the tests that were named in t

[CMake] can a dependency be added to a specific test (CXX Test)?

2008-07-22 Thread Edward Flanigan
I am trying to create a test. The traditional way uses the command : add_test (simpleTest executable) I want to know if there is any way to add a dependency to a specific test? CMake does not recognize simpleTest as a target. For my application I am trying to use cxx test. A script (executabl