[CMake] cmTryCompileExec.exe error

2007-12-27 Thread George Neill
Hi CMakers, I am trying to compile on windows in 'Release' mode. I am getting a error about a missing MSVCR71D.dll debug library (which I presume might be a bad compiler install or some crafty person making sure we don't build against debug libs). Anyhow, I can build a simple "hello world" prog

[CMake] Determine active config in a ctest-invoked script?

2007-12-27 Thread David Wolfe
I have a python script I'm using with ADD_TEST as follows: ADD_TEST( cone ${PYTHON_EXECUTABLE} convertAndCompare.py cone.osg ) My problem is: this python script invokes an EXE built by CMake, and I haven't figured out a way to tell it whether it should invoke the Release or Debug version of th