This would require backtraces, I believe, on every property so you can trace all the properties back to where they’re defined. I need this too for Visual Studio to support adding files as well.
The problem right now is that backtraces are memory intensive. See this issue for a discussion about it: https://gitlab.kitware.com/cmake/cmake/issues/17539 From: cmake-developers <cmake-developers-boun...@cmake.org> On Behalf Of Pawel Rutka Sent: Wednesday, February 14, 2018 10:20 AM To: firstname.lastname@example.org Subject: [cmake-developers] Cmake-server question I would like to ask about some important feature: Is there any possibility to provide form Cmake Server side location of command that generate the target? The Use Case is as follow: In IDE you want to, after Class creation, automatically add CPP file into proper add_executable or extend some variable passed to add_executable or any other case that lead to target creation. This mean that IDE would have to know place in CmakeLists.txt which command should extend with new path. Regards, Pawel
-- 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: https://cmake.org/mailman/listinfo/cmake-developers