I have a custom tool that processes a given list of IDL files and produces a number of .cpp and .h files as output. I want to add those files to the list of things to compil
There is a function that build the list directly from file:
file(STRINGS [...])
source: https://cmake.org/cmake/help/v3.11/command/file.html