The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=15915 ====================================================================== Reported By: Bryan Koch Assigned To: ====================================================================== Project: CMake Issue ID: 15915 Category: CMake Reproducibility: always Severity: minor Priority: low Status: new ====================================================================== Date Submitted: 2016-01-13 11:25 EST Last Modified: 2016-01-13 11:25 EST ====================================================================== Summary: add_subdirectory(directory EXPORT_VARIABLES VAR_1 VAR_2) gives "add_subdirectory called with incorrect number of arguments" Description: As per, https://cmake.org/pipermail/cmake/2005-September/007204.html
ADD_SUBDIRECTORY(directory EXPORT VARIABLES VAR_FOO1 VAR_FOO2) should export variables from the child scope into the parent scope. It was implemented by Ken Martin as per below https://cmake.org/Bug/bug_relationship_graph.php?bug_id=2221&graph=relation ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-01-13 11:25 Bryan Koch 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
