[cmake-developers] [CMake 0014046]: no support for build directory being a symbolic link

Mantis Bug Tracker mantis at public.kitware.com
Thu Mar 28 05:25:00 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14046 
====================================================================== 
Reported By:                Heiko Nardmann
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14046
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-03-28 05:25 EDT
Last Modified:              2013-03-28 05:25 EDT
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-03-28 05:25 Heiko Nardmann New Issue                                    
======================================================================




More information about the cmake-developers mailing list