PaulusChen / ios-cmake

Automatically exported from code.google.com/p/ios-cmake
0 stars 0 forks source link

Generate Debug Symbols turned off #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run cmake using the ios toolchain, open the xcodeproject

What is the expected output?
Generate Debug Symbols should be "Yes" for "Debug" and "RelWithDebInfo", and 
otherwise "No"

What do you see instead?
It is always set to "No"

Please provide any additional information below.
To solve this, removing the following lines from iOS.cmake works for me:

  # Force the compilers to gcc for iOS
  include (CMakeForceCompiler)
  CMAKE_FORCE_C_COMPILER (/usr/bin/clang Apple)
  CMAKE_FORCE_CXX_COMPILER (/usr/bin/clang++ Apple)
  set(CMAKE_AR ar CACHE FILEPATH "" FORCE)

Original issue reported on code.google.com by jan.rue...@dacuda.com on 4 Aug 2014 at 1:54

GoogleCodeExporter commented 9 years ago
Duplicate of

https://code.google.com/p/ios-cmake/issues/detail?id=5

Original comment by jan.rue...@dacuda.com on 4 Aug 2014 at 1:55