[cmake-developers] [CMake 0014098]: Ninja's add_custom_command does not work if build directory is on a different drive
Mantis Bug Tracker
mantis at public.kitware.com
Thu Apr 18 14:03:15 EDT 2013
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
======================================================================
More information about the cmake-developers
mailing list