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 ====================================================================== -- 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/cgi-bin/mailman/listinfo/cmake-developers
