[cmake-developers] [CMake 0014133]: CMake creates duplicate target subfolders in Xcode project files

Mantis Bug Tracker mantis at public.kitware.com
Thu May 9 06:30:27 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14133 
====================================================================== 
Reported By:                Stephan Tolksdorf
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14133
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-05-09 06:30 EDT
Last Modified:              2013-05-09 06:30 EDT
====================================================================== 
Summary:                    CMake creates duplicate target subfolders in Xcode
project files
Description: 
When using the Xcode generator, the following cmake script creates two
identically named subfolders "sub" below the folder "top", although it should
only create one folder "sub" for both targets. I've tested this with CMake
version 2.8.11 RC4 and Xcode 4.6.2

add_executable(test1 test1.cpp)
SET_PROPERTY(TARGET test1 PROPERTY FOLDER "top/sub")

add_executable(test2 test2.cpp)
SET_PROPERTY(TARGET test2 PROPERTY FOLDER "top/sub")

Steps to Reproduce: 
Generate an Xcode project file for the attached test project.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-05-09 06:30 Stephan TolksdorfNew Issue                                    
2013-05-09 06:30 Stephan TolksdorfFile Added: FolderTest.zip                    
======================================================================




More information about the cmake-developers mailing list