The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15237
======================================================================
Reported By: Ruslan Baratov
Assigned To:
======================================================================
Project: CMake
Issue ID: 15237
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-11-07 15:20 EST
Last Modified: 2014-11-07 15:20 EST
======================================================================
Summary: No CMAKE_C_COMPILER could be found (3.1.0-rc1
regression)
Description:
Error while configuring project with Xcode 5.0.2 and CMake 3.1.0-rc1:
-- The C compiler identification is AppleClang 5.0.0.5000279
-- The CXX compiler identification is AppleClang 5.0.0.5000279
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
Steps to Reproduce:
Create toolchain.cmake file:
set(CMAKE_OSX_SYSROOT "iphoneos" CACHE STRING "" FORCE)
set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos;-iphonesimulator")
set(MACOSX_BUNDLE_GUI_IDENTIFIER com.example)
set(CMAKE_MACOSX_BUNDLE YES)
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "iPhone Developer")
Create CMakeLists.txt:
cmake_minimum_required(VERSION 3.0)
project(Foo)
Run build:
cmake -H. -B_builds -GXcode -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake
Additional Information:
Works fine with CMake 3.0.2
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-11-07 15:20 Ruslan Baratov New Issue
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers