<div dir="ltr"><span style="font-size:12.8000001907349px">Subject: Visual Studio add-in: adding non-cmake files as dependencies to trigger re-generation</span><br style="font-size:12.8000001907349px"><div dir="ltr" style="font-size:12.8000001907349px">Hello<div><br></div><div>Is there a way to let the Visual Studio CMake add-in know that it needs to regenerate the project when certain non-cmake files change?</div><div><br></div><div>I'm reading lists of file names from non-cmake txt files with file(STRINGS ...) calls. The variable is then used to form lists of files that need to be compiled.</div><div><br></div><div>I'm aware that I could have the lists in set(var ...) statements inside "includable" cmake files, but unfortunately I have to do it this way because the txt files are also digested by our legacy build system.</div><div><br></div><div>Any advice much appreciated!</div><div>Thank you in advance!</div></div></div>