On Thu, Feb 15, 2018 at 3:18 PM, Ben Boeckel <ben.boec...@kitware.com> wrote: > On Wed, Feb 14, 2018 at 19:19:39 +0100, Paweł Rutka wrote: >> 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. > > Note that this is a very hard problem. Take the following examples:
I am very aware that adding files to cmake targets is a hard problem:-/ That's why Creator does not even try to do it. It is bound to do it wrong and thus users can not trust the functionality. If there is any chance to solve this problem, then inside cmake. At least you and your code do fully understand the cmake language. Best Regards, Tobias -- 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