View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006150CMakeCMakepublic2007-12-11 17:312007-12-17 18:38
ReporterTim Patterson 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006150: WORKING_DIRECTORY in ADD_CUSTOM_COMMAND fails when the directory is on a different drive. (VS2005)
DescriptionAssuming the current working directory is C:\BuildTree and ADD_CUSTOM_COMMAND is called with a WORKING_DIRECTORY parameter of D:\SrcTree, the VS2005 generator produces the following "Command Line" build setting:

cd D:\SrcTree
PerformCustomCommandHere

This does not change the working directory to D:\SrcTree until we change to drive D:. ie. the generated code should read something like:

cd D:\SrcTree
D:
PerformCustomCommandHere
TagsNo tags attached.
Attached Files

 Relationships
has duplicate 0006234closedBrad King Visual Studio: No support for building on different drive 

  Notes
(0009970)
Brad King (manager)
2007-12-17 18:38

Fixed in CMake HEAD:

/cvsroot/CMake/CMake/Source/cmLocalVisualStudioGenerator.cxx,v <-- cmLocalVisualStudioGenerator.cxx
new revision: 1.14; previous revision: 1.13

I'll send this patch to the 2.4 branch maintainer.

 Issue History
Date Modified Username Field Change
2007-12-11 17:31 Tim Patterson New Issue
2007-12-14 09:41 Bill Hoffman Status new => assigned
2007-12-14 09:41 Bill Hoffman Assigned To => Brad King
2007-12-17 18:38 Brad King Status assigned => closed
2007-12-17 18:38 Brad King Note Added: 0009970
2007-12-17 18:38 Brad King Resolution open => fixed
2008-01-15 14:08 Brad King Relationship added has duplicate 0006234


Copyright © 2000 - 2018 MantisBT Team