View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011313 | CMake | CMake | public | 2010-10-14 14:01 | 2011-01-24 10:21 | ||||
Reporter | K. R. Walker | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Windows / Visual Studio 2005 | OS | OS Version | ||||||
Product Version | CMake-2-8 | ||||||||
Target Version | Fixed in Version | CMake 2.8.3 | |||||||
Summary | 0011313: CMake cannot find files specified with extended-length paths. | ||||||||
Description | CMake 2.6.x and 2.8.0 and Visual Studio 2005 seem to work with extended-length paths. e.g., add_library( name //?/C:/foo/bar/file.cpp ) but CMake 2.8.2 reports: CMake Error in C:/foo/bar/CMakeLists.txt: Cannot find source file "file.cpp". Extended-length path support needed to support deep hierarchies. | ||||||||
Additional Information | "To specify an extended-length path, use the "\\?\" prefix." -- http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx [^] | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0022545) K. R. Walker (reporter) 2010-10-19 19:25 |
It looks like kwsys/SystemTools.cxx is changing "//?/C:/foo/bar/baz.cpp" to "/?//". This could be a workaround: kwsys_stl::string SystemTools::GetActualCaseForPath(const char* p) { #ifndef _WIN32 return p; #else + if( 0 == strncmp( p, "//?/", 4 ) ) { + return p; + } |
(0025024) Brad King (manager) 2011-01-24 10:21 |
This was caused by this commit: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=018c13ff [^] A related problem was reported in issue 0011023. This was fixed by http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0f5189d1 [^] and released in CMake 2.8.3. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-10-14 14:01 | K. R. Walker | New Issue | |
2010-10-19 19:25 | K. R. Walker | Note Added: 0022545 | |
2011-01-21 19:10 | David Cole | Assigned To | => Brad King |
2011-01-21 19:10 | David Cole | Status | new => assigned |
2011-01-24 10:19 | Brad King | Relationship added | related to 0011023 |
2011-01-24 10:21 | Brad King | Note Added: 0025024 | |
2011-01-24 10:21 | Brad King | Status | assigned => closed |
2011-01-24 10:21 | Brad King | Resolution | open => fixed |
2011-01-24 10:21 | Brad King | Fixed in Version | => CMake 2.8.3 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |