The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15273
======================================================================
Reported By: Nils Gladitz
Assigned To:
======================================================================
Project: CMake
Issue ID: 15273
Category: CMake
Reproducibility: always
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-12-01 08:25 EST
Last Modified: 2014-12-01 08:25 EST
======================================================================
Summary: file(GLOB/GLOB_RECURSE) should provide an option to
set a start directory
Description:
Generated target export files for example use:
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
file(GLOB CONFIG_FILES "${_DIR}/TdngTargets-*.cmake")
This is error prone in case _DIR itself happens to use special characters
interpreted by globbing.
Something like:
file(GLOB CONFIG_FILES START_DIRECTORY "${_DIR}" "TdngTargets-*.cmake")
would be nice.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-12-01 08:25 Nils Gladitz 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