[CMake] cvs update through ctest

David Cole david.cole at kitware.com
Wed Dec 21 13:17:07 EST 2005


Have a look at http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest - it's 
a good introduction to setting up a dashboard using ctest.

Basically, you'll want a ctest script file that describes where your 
source and binary trees are... Then you can execute the dashboard by 
running "ctest -S MyDashboardScript.cmake"


HTH,
David


Bitter, Ingmar (NIH/CC/DRD) [E] wrote:

>The build directory has neither, source directory is cvs, thus, I will
>have to run from the main project directory, right?
>
>Ingmar
>
>
>-----Original Message-----
>From: Andy Cedilnik [mailto:andy.cedilnik at kitware.com] 
>Sent: Wednesday, December 21, 2005 12:00 PM
>To: Bitter, Ingmar (NIH/CC/DRD) [E]
>Cc: cmake at cmake.org
>Subject: Re: [CMake] cvs update through ctest
>
>Hi Ingmar,
>
>CTest looks at the source directory and determine if it is CVS or 
>subversion. Do you have CVS subdirectory or .svn subdirectory?
>
>       Andy
>
>Bitter, Ingmar (NIH/CC/DRD) [E] wrote:
>
>  
>
>>Hi,
>>
>>my projects are setup by cmake with a build directory below the main
>>project directory:
>>
>>project/
>>project/build
>>project/src
>>
>>I run cmake and ctest from the build directory because I do not want
>>    
>>
>any
>  
>
>>automatically created files in the main project directory.
>>when running ctest -D Continuous it tells me that the current directory
>>is not a CVS controlled directory, which is correct. How do I tell
>>    
>>
>ctest
>  
>
>>to update the project directory?
>>
>>Or re-worded, what is the proper setup to do an out of source build and
>>test?
>>
>>-Ingmar
>>_______________________________________________
>>CMake mailing list
>>CMake at cmake.org
>>http://www.cmake.org/mailman/listinfo/cmake
>> 
>>
>>    
>>
>
>
>  
>


More information about the CMake mailing list