[cmake-developers] [CMake 0013756]: Infinite loop when reconfiguring with different CMAKE_C_COMPILER
Mantis Bug Tracker
mantis at public.kitware.com
Wed Nov 28 17:29:11 EST 2012
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=13756
======================================================================
Reported By: Nick Hutchinson
Assigned To:
======================================================================
Project: CMake
Issue ID: 13756
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-11-29 11:29 NZDT
Last Modified: 2012-11-29 11:29 NZDT
======================================================================
Summary: Infinite loop when reconfiguring with different
CMAKE_C_COMPILER
Description:
It's possible to get CMake stuck in a seemingly infinite loop when reconfiguring
a project.
Steps to Reproduce:
1. Create the following trivial CMakeList.txt:
~~~~
cmake_minimum_required(VERSION 2.8.8)
~~~~
2. `cd` to the directory containing this file, and execute `cmake .`
3. Execute `cmake . -DCMAKE_C_COMPILER=cc`
Expected Behaviour:
CMake reconfigures the project with the specified compiler.
Actual Behaviour:
CMake prints the following to stdout in an infinite loop:
~~~~
-- 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= cc
~~~~
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-11-29 11:29 Nick HutchinsonNew Issue
======================================================================
More information about the cmake-developers
mailing list