View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013927CMakeCMakepublic2013-02-15 19:152013-07-01 09:37
ReporterChristopher Mullins 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformApple MacOSOS XOS Version10.4.10
Product VersionCMake 2.8.9 
Target VersionFixed in Version 
Summary0013927: CMake loops indefinitely when compiler is changed
DescriptionOutput 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 ReproduceTest 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 ../

TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0013756closedBrad King Infinite loop when reconfiguring with different CMAKE_C_COMPILER 

  Notes
(0032303)
Jean-Christophe Fillion-Robin (reporter)
2013-02-15 19:51

To reproduce:

1) mkdir Foo
2) Add file Foo/CMakeLists.txt
3) mkdir Foo/build
4) cd Foo/build
5) cmake ../
6) cmake -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ ../

After the first compilation, the param CMAKE_C_COMPILER and CMAKE_CXX_COMPILER where pointing to /usr/bin/cc and /usr/bin/c++
(0033425)
Robert Maynard (manager)
2013-07-01 09:37

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-02-15 19:15 Christopher Mullins New Issue
2013-02-15 19:51 Jean-Christophe Fillion-Robin Note Added: 0032303
2013-02-17 09:24 Brad King Relationship added duplicate of 0013756
2013-02-17 09:24 Brad King Status new => resolved
2013-02-17 09:24 Brad King Resolution open => duplicate
2013-02-17 09:24 Brad King Assigned To => Brad King
2013-07-01 09:37 Robert Maynard Note Added: 0033425
2013-07-01 09:37 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team