The following issue has been SUBMITTED.
======================================================================
https://public.kitware.com/Bug/view.php?id=15695
======================================================================
Reported By: bugreporter
Assigned To:
======================================================================
Project: CMake
Issue ID: 15695
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-08-13 11:48 EDT
Last Modified: 2015-08-13 11:48 EDT
======================================================================
Summary: CMAKE_*_OUTPUT_DIRECTORY existence is not evaluated
by cmake_check_build_system target
Description:
If you are specifying certain CMAKE_*_OUTPUT_DIRECTORY variables they are
properly created when CMake generation is done, but in case you are removing the
specified directories after a successful run they are not recreated until you
re-run CMake.
It would be good to track this paths for evaluation within the
cmake_check_build_system target, so that the re-run of CMake is automatically
done in case the folders are not existing.
Steps to Reproduce:
project(Example)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/libstatic)
add_executable(TestExecutable test1.cpp)
add_library(TestLibrary SHARED test2.cpp)
add_library(TestLibrary2 STATIC test3.cpp)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-08-13 11:48 bugreporter New 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/mailman/listinfo/cmake-developers