The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=14098 ====================================================================== Reported By: Ian Monroe Assigned To: ====================================================================== Project: CMake Issue ID: 14098 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-04-18 14:03 EDT Last Modified: 2013-04-18 14:03 EDT ====================================================================== Summary: Ninja's add_custom_command does not work if build directory is on a different drive Description: Today I learned that on Windows to change drives, you must add a /D option to cd. This was breaking the WORKING_DIRECTORY directive with the add_custom_command for Ninja on Windows.
The attached trivial patch resolves the problem. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-04-18 14:03 Ian Monroe New Issue 2013-04-18 14:03 Ian Monroe File Added: 0001-On-Windows-with-Ninja-use-cd-D-to-set-directory.patch ====================================================================== -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
