Brad King wrote: > On 10/12/2015 01:48 PM, Stephen Kelly wrote: >> This command has been documented as deprecated for a long time. >> >> I notice this command is not covered by a policy. > > Back when 3.0 deprecated a swath of old commands with policies > we decided that subdirs() was too widely used to warn about > (along with so many of the other commands that got policies). > With that batch over we could reconsider. OTOH we still > generate subdirs() commands in CTestTestfile.cmake files for > "ctest" to use, though CTest re-implements the command itself > IIRC.
I've seen this, but haven't looked into it. >> Subdirs: Initialize from parent before configuring. >> https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7dac31b2 > > Great, thanks. > > Doesn't that mean that subdirs()-specified directories now > InitializeFromParent twice? Yes, but that doesn't matter because the second one will overwrite the effect of the first one. It's just part of the cost if you use deprecated commands. Thanks, Steve. -- 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