<div dir="ltr">Hello,<div><br></div><div>I want to migrate from a build system that has its own lists of source files that must be maintained for the time being. I have scripts to translate those list files into CMakeLists.txt files but I don't know of a good way to integrate those into a CMake generated build system and keep the generated CMakeLists.txt files up to date with the files they were generated from.</div><div><br></div><div>My current solution is to use a Makefile to check to see if the CMakeLists.txt files need to be updated as part of the build. This is a bit clumsy.</div><div><br></div><div>The issue seems similar to the problem of using file globbing in CMakeLIsts.txt files and as far as I know, the answer there is "don't do that". Still I thought I'd try my luck.</div><div><br></div><div>Any suggestions?</div></div>