Aleix Pol wrote: >> By 'in scope' you mean 'used by the primary CMakeLists.txt files via >> include() or find_package()' or something like that? OK, let's see if >> that's the best source of that data or if we should add something new >> internally in cmake. > By in scope I mean whether a variable or a target defined in such files.
I see. >>> [4] Because cmake is really slow and you often want to have the >>> metadata file updated often, every time one of the cmake files in the >>> project change. >> >> OK, maybe we can add something for that, but is it the generation stage >> that is the slow part? How much time would we gain by doing this? > Well, I'm unsure what's the best way to go about it. I understand that > given the json file will be executed after all the processing of the > sources it won't help much if we just skip the generation. Also maybe > it's possible to optimize the configure process all together. Yes, if a 'metadata only' mode can be shown to make sense, it can be added in the future. 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