[cmake-developers] [CMake 0011842]: CMake Xcode generator creates one project when it should create two projects

Mantis Bug Tracker mantis at public.kitware.com
Fri Feb 11 01:31:36 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11842 
====================================================================== 
Reported By:                Mark MacVicar
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11842
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-02-11 01:31 EST
Last Modified:              2011-02-11 01:31 EST
====================================================================== 
Summary:                    CMake Xcode generator creates one project when it
should create two projects
Description: 
CMake Xcode generator creates one project when it should create two projects

This issue occurred with CMake 2.8.3

When running "cmake -G Xcode" on a CMakeLists.txt containing two projects, only
one xcodeproj is created with the name of the second project. Expected behavior
is that two xcodeproj files would be created.


Steps to Reproduce: 
Reproducible Steps:
1) using the CMakeLists.txt below, run "Cmake -G Xcode"
=====
project(test-foo)
add_executable(test-foo test-foo.c)

project(test-bar)
add_executable(test-bar test-bar.c)
=====

a test-bar.xcodeproj is created, but no test-foo project is created.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-11 01:31 Mark MacVicar  New Issue                                    
======================================================================




More information about the cmake-developers mailing list