[CMake] CTest & VS 2003 question...

Bill Hoffman bill.hoffman at kitware.com
Sat May 24 14:15:57 EDT 2008


Michael Andronov wrote:
> Hi, Bill:
> 
> Yes, following your advice, I managed to adjust manually the directories 
> within 2003, and it works.
> I still failed to find the registry record   - VS registry record -  to 
> do it by my installation script.
> 
> Back to cmake. Is it possible to detect  while executing the 
> CMakeLists.txt that I'm
> generating .vcproj for VS 2003 ?  ( I know it is possible to use -G to 
> tell to use specific generator,
> but is it possible to check which one I'm currently generating for at 
> CMake run-time? ) In such case, I can avoid generating
> RUN_TESTS for 2003, in order not to confuse customer.
> 
> Thanks once again to your kind attention to this matter.
> 

http://www.cmake.org/HTML/cmake-2.6.html#variable:CMAKE_GENERATOR

-Bill


More information about the CMake mailing list