<div id="mb_0">Hi, <br><br>I am relatively new to cmake, thanks for the cool product ... I have have fun using it so far. I have ran in to a problem, on windows xp, with relative out-of-source builds.<br>
<br>C:\DOCUME~1\GEORGE~1\Desktop>cmake -version
<br>
cmake version 2.4-patch 7<br>
<br>Here are the commands I have been using to build my project<br><br>cmake -G"NMake Makefiles" ..\project<br>nmake<br><br>For
some reason the path is -different- upon use of the ADD_SUBDIRECTORY()
function. I have searched through the archives and found a couple of
conversations about something similar, but not quite the same. <a href="http://public.kitware.com/pipermail/cmake/2007-August/015641.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://public.kitware.com/pipermail/cmake/2007-August/015641.html
</a>. <br><br>It appears the ADD_SUBDIRECTORY() call is somehow getting the scrunched
8.3 names; and I imagine is what causes cmake to fail.<br><br>The error I am getting.<br><br>"C:/Documents and Settings/George Neill/Desktop/project/test" is not a subdirectory of "C:/DOCUME~1/GEORGE~1/Desktop/project".
<br><br>I was able to get around it by just specifiying the full path
to my source code. But I am now wondering if I am using CMake wrong,
or is this just a bug?<br><br>TIA,<br><span class="sg">George.<br>
</span></div>