View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0010281 | CMake | CMake | public | 2010-02-12 12:38 | 2011-01-31 16:08 | ||||
Reporter | Jeremy Nicholl | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||||||
Summary | 0010281: Include paths containing backslashes cause dependency failures | ||||||||
Description | I'm using MSYS and I ran into an issue where one of my header files has the line #include "foo\bar.h" // Note backslash In this case, the dependency that gets generated simply appends "foo\bar.h" to a well-formed MSYS path with forward slashes, and that seems to mean the file cannot be found. | ||||||||
Additional Information | See http://www.cmake.org/pipermail/cmake/2010-February/035139.html [^] for the initial discussion. I was trying to work around the problem by creating a transform rule in CMAKE_INCLUDE_TRANSFORMS, but still having difficulty with it. I'll update this if I find a good workaround. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0024792) Brad King (manager) 2011-01-17 14:35 |
I can reproduce the "/path/to/foo\bar.h" in depend.make but it does not actually cause any problems with MSYS make. The build completes and touching bar.h causes dependencies to rescan and the source to recompile. Still, it makes sense to convert '\' -> '/' as preferred by the tools. |
(0024801) Brad King (manager) 2011-01-17 15:15 |
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8dc7501d [^] |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-02-12 12:38 | Jeremy Nicholl | New Issue | |
2011-01-17 13:35 | David Cole | Assigned To | => Brad King |
2011-01-17 13:35 | David Cole | Status | new => assigned |
2011-01-17 14:35 | Brad King | Note Added: 0024792 | |
2011-01-17 15:15 | Brad King | Note Added: 0024801 | |
2011-01-17 15:15 | Brad King | Status | assigned => closed |
2011-01-17 15:15 | Brad King | Resolution | open => fixed |
2011-01-31 16:08 | David Cole | Fixed in Version | => CMake 2.8.4 |
2011-01-31 16:08 | David Cole | Target Version | => CMake 2.8.4 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |