View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014046 | CMake | CMake | public | 2013-03-28 05:25 | 2016-06-10 14:31 | ||||
Reporter | Heiko Nardmann | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Windows 7 64Bit | OS | Windows | OS Version | 7 | ||||
Product Version | CMake 2.8.10.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014046: no support for build directory being a symbolic link | ||||||||
Description | When setting up a symbolic link (no shortcut!!!) to the build directory and running CMake I get the following error: CMake Error: The source directory "D:/test_SqlTreeModel_BasedOnRecursiveGroupAndEntityWithEntityInstances-build" is a file, not a directory. Specify --help for usage, or press the help button on the CMake GUI. I have setup a symbolic link to the real build directory to circumvent to problem with the 260 character path limit with Windows. | ||||||||
Steps To Reproduce | 1) Setup a project folder (e.g. within QtCreator). 2) Choose 'Run CMake' (from menu) and specify the real build folder parallel to the project folder. 3) Create a symbolic link to this real build folder (e.g. by using 'HardLinkShellExt'; see http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html [^]). 4) Choose 'Run CMake' again and specify the symbolic link. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0032716) Heiko Nardmann (reporter) 2013-03-28 05:34 |
Using a junction instead of a symbolic link works. So this can be seen as a workaround. At the end support for Makefiles with UNC paths inside would be nice. |
(0032717) Heiko Nardmann (reporter) 2013-03-28 06:34 |
Maybe 'http://homepage1.nifty.com/emk/symlink-1.06-src.zip' [^] helps when checking how to add support for this. FILE_ATTRIBUTE_REPARSE_POINT is the flag to check for. CMake needs a stat() wrapper. The boost implementation on that part might be a good start point. |
(0042256) Kitware Robot (administrator) 2016-06-10 14:28 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-03-28 05:25 | Heiko Nardmann | New Issue | |
2013-03-28 05:34 | Heiko Nardmann | Note Added: 0032716 | |
2013-03-28 06:34 | Heiko Nardmann | Note Added: 0032717 | |
2013-03-28 08:15 | Brad King | Status | new => backlog |
2016-06-10 14:28 | Kitware Robot | Note Added: 0042256 | |
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved |
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |