[cmake-developers] [CMake 0012450]: Xcode generator: removing dependency in Xcode crashes Xcode

2011-09-09 Thread Mantis Bug Tracker

The following issue has been SUBMITTED. 
== 
http://public.kitware.com/Bug/view.php?id=12450 
== 
Reported By:Druon
Assigned To:
== 
Project:CMake
Issue ID:   12450
Category:   (No Category)
Reproducibility:always
Severity:   minor
Priority:   normal
Status: new
== 
Date Submitted: 2011-09-09 08:03 EDT
Last Modified:  2011-09-09 08:03 EDT
== 
Summary:Xcode generator: removing dependency in Xcode
crashes Xcode
Description: 
Using a CMake-generated Xcode project file, it's not possible to remove a
dependency without crashing Xcode. I'm not sure if this is a supported
operation, but I came across it by accident while investigating a dependency
issue.

Steps to Reproduce: 
Use the following CMakeLists.txt file with empty bar.c and foo.c. Generate an
Xcode project then try to remove dependency 'bar' from the 'foo' target in
Xcode.

cmake_minimum_required(VERSION 2.8)
add_library(bar bar.c)
add_executable(foo foo.c)
target_link_libraries(foo bar)

== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2011-09-09 08:03 Druon  New Issue
==

___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


[cmake-developers] [CMake 0012451]: MACOSX_BUNDLE path problem when building for iOS with Xcode

2011-09-09 Thread Mantis Bug Tracker

The following issue has been SUBMITTED. 
== 
http://public.kitware.com/Bug/view.php?id=12451 
== 
Reported By:Druon
Assigned To:
== 
Project:CMake
Issue ID:   12451
Category:   CMake
Reproducibility:always
Severity:   major
Priority:   normal
Status: new
== 
Date Submitted: 2011-09-09 09:32 EDT
Last Modified:  2011-09-09 09:32 EDT
== 
Summary:MACOSX_BUNDLE path problem when building for iOS
with Xcode
Description: 
I'm not sure if building for iOS is officially supported, but here goes...

When building for iOS with MACOSX_BUNDLE specified on the target, this generates
an XCODE_DEPEND_HELPER.make with Foo.app/Contents/MacOS/foo paths in it. However
for iOS builds, Xcode places the executable 'foo' in Foo.app/foo.

I couldn't find an option to change this behaviour.

The result is that dependency checking does not work and a clean build is
required every time the app is compiled.

Steps to Reproduce: 
Set up an iOS project by setting CMAKE_OSX_SYSROOT, CMAKE_OSX_ARCHITECTURES and
MACOSX_BUNDLE_GUI_IDENTIFIER. Specify MACOSX_BUNDLE for the target executable.
Make a change in a dependency and rebuild the app. The app will not be updated.
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2011-09-09 09:32 Druon  New Issue
==

___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers