[CMake] problems submitting nightly build with ctest for
debug/release
Miguel A. Figueroa-Villanueva
miguelf at msu.edu
Mon Oct 3 15:39:11 EDT 2005
Hello,
I'm trying to create a nightly build for vxl on a:
- OS: WinXP Pro with SP2
- Compiler: Visual Studio 7 .NET 2003
- Machine: AMD Athlon XP 2400+ 2GHz 1GB DDR RAM
- cmake and vxl updated daily from cvs
BTW, I'm running everything from the cygwin bash shell, and using cygwin
tools except for the Compiler, and CMake (which is built with MS VS 7.1).
I have successfully built cmake and vxl and submitted it as Nightly and
Experimental a few times. And I built the debug and release versions
using something like:
- devenv.com CMake.sln /build Release(or Debug) /project ALL_BUILD
The problem that I am having is that I can't get them both built using
ctest. That is build both the release and debug configurations in the
same binary tree (I have source and binary trees separate) and submit
results for both of them together or separately. I definitely want to
keep both configurations in the same tree.
I have tried several things, but basically this is what I thought I
should be doing (after reading several documentation pages, cmake book,
and searching everywhere I could think):
"${MYCTEST} -D NightlyStart"
"${MYCTEST} -D NightlyUpdate"
"${MYCTEST} -C Release -D NightlyConfigure"
"${MYCTEST} -C Release -D NightlyBuild"
"${MYCTEST} -C Release -D NightlyTest"
"${MYCTEST} -C Debug -D NightlyConfigure"
"${MYCTEST} -C Debug -D NightlyBuild"
"${MYCTEST} -C Debug -D NightlyTest"
"${MYCTEST} -D NightlySubmit"
where ${MYCTEST} is set to the ctest program path.
This, however, builds the release version in bin/release, but doesn't
build build the bin/debug files. I think it might have to do with
clearing some files or variables in the cache...
Any insight on how to solve this issue will be greatly appreciated.
Thanks, Miguel
More information about the CMake
mailing list