CMake with regarding generated files
问题 Good day everyone. I have the following situation: I have a CMake file, which is supposed to compile my application, which consists of: one or more cpp files some template files ( ecpp ), which on their turn are generated into cpp files, which are compiled into the application (they are listed below in the WEB_COMPONENTS so for each component there is the associated .ecpp file and the .cpp that will be generated from it). And here is the CMakeLists.txt (simplified) cmake_minimum_required