[CMake] Windows build inconsistency...

Bill Hoffman bill.hoffman at kitware.com
Fri Jun 3 15:32:35 EDT 2011


>>     if(argIsFile)
>>       {
>>       // Source CMakeLists.txt file given.  It was probably dropped
>>       // onto the executable in a GUI.  Default to an in-source build.
>>       this->SetHomeOutputDirectory(listPath.c_str());
>>       this->SetStartOutputDirectory(listPath.c_str());
>>       }

>
> I'm too young to explain this one.
> :-)
> _______________

The comment is pretty clear...  :)

It was done so that one windows when you drag a CMakeLists.txt file and 
drop it on the cmake-gui it will do an in-source build where that 
CMakeLists.txt file is.

-Bill




More information about the CMake mailing list