Re: [CMake] Binary directory on different drive
Sorry to bump, but any help on this? :) On Fri, Apr 19, 2013 at 6:08 PM, Robert Dailey rcdailey.li...@gmail.com wrote: I am invoking CMake like this on Windows: Working directory is: C:\work\build Directory containing source root level CMakeLists.txt file: Y:\ So I invoke like this: C:\work\build cmake -G NMake Makefiles Y:\ When I do this, any subdirectories I traverse inside Y:\ do not appear under their proper binary directory. Example, let's say I do add_subdirectory to step into library, which is at path Y:\library. The binary directory will be: C:\work\buildlibrary Instead of: C:\work\build\library The slash between build and library is missing. Any reason for this? It doesn't do it if the source binary directories are on the same drive letter. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Binary directory on different drive
On 04/19/2013 07:08 PM, Robert Dailey wrote: C:\work\buildlibrary Instead of: C:\work\build\library The slash between build and library is missing. Any reason for this? It doesn't do it if the source binary directories are on the same drive letter. Almost certainly this is: http://www.cmake.org/Bug/view.php?id=10072 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1df49282 Please try 2.8.11-rc2. -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Binary directory on different drive
Awesome!! I just tried RC3 and it works now. Great job On Mon, Apr 22, 2013 at 10:54 AM, Brad King brad.k...@kitware.com wrote: On 04/19/2013 07:08 PM, Robert Dailey wrote: C:\work\buildlibrary Instead of: C:\work\build\library The slash between build and library is missing. Any reason for this? It doesn't do it if the source binary directories are on the same drive letter. Almost certainly this is: http://www.cmake.org/Bug/view.php?id=10072 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1df49282 Please try 2.8.11-rc2. -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[CMake] Binary directory on different drive
I am invoking CMake like this on Windows: Working directory is: C:\work\build Directory containing source root level CMakeLists.txt file: Y:\ So I invoke like this: C:\work\build cmake -G NMake Makefiles Y:\ When I do this, any subdirectories I traverse inside Y:\ do not appear under their proper binary directory. Example, let's say I do add_subdirectory to step into library, which is at path Y:\library. The binary directory will be: C:\work\buildlibrary Instead of: C:\work\build\library The slash between build and library is missing. Any reason for this? It doesn't do it if the source binary directories are on the same drive letter. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake