[cmake-developers] [CMake 0014818]: Out-of-source build does not work if an 'in-source' CMakeCache.txt file is available
Mantis Bug Tracker
mantis at public.kitware.com
Thu Mar 20 03:28:12 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14818
======================================================================
Reported By: Daniel Hasemann
Assigned To:
======================================================================
Project: CMake
Issue ID: 14818
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-03-20 03:28 EDT
Last Modified: 2014-03-20 03:28 EDT
======================================================================
Summary: Out-of-source build does not work if an 'in-source'
CMakeCache.txt file is available
Description:
I had the following problem: My CMake builds are in-source-builds at the moment
and I am refactoring it to out-of-source builds. Because of old 'in-source'
CMakeCache file, the out-of-source build does not work as long as this is
available.
IMHO the out-of-source build must not depend on in-source CMakeCache.txt
Steps to Reproduce:
cd src
ls
# foo.c bar.c CMakeCache.txt CMakeLists.txt build/ [...]
rm -rf build
mkdir build
cd build
cmake ..
nothing does happen because of ../CMakeCache.txt
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-03-20 03:28 Daniel HasemannNew Issue
======================================================================
More information about the cmake-developers
mailing list