[cmake-developers] [CMake 0013927]: CMake loops indefinitely when compiler is changed

Mantis Bug Tracker mantis at public.kitware.com
Fri Feb 15 19:15:59 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13927 
====================================================================== 
Reported By:                Christopher Mullins
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13927
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-02-15 19:15 EST
Last Modified:              2013-02-15 19:15 EST
====================================================================== 
Summary:                    CMake loops indefinitely when compiler is changed
Description: 
Output of sample project loops:

-- Foo
-- Configuring done
You have changed variables that require  your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= /usr/bin/gcc
CMAKE_CXX_COMPILER= /usr/bin/g++

Steps to Reproduce: 
Test CMakeLists.txt:
cmake_minimum_required(VERSION 2.8.9)
project(Foo)
message(STATUS "Foo")

mkdir build && cd build/

cmake -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++
-DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc ../


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-02-15 19:15 Christopher MullinsNew Issue                                   

======================================================================




More information about the cmake-developers mailing list