In one of my projects, each assembly fell into its own directory, and usually the entire assembly had a specific name, such as "parallel-debug" or "singlethread-O2". Usually the log file in this directory gave us all the information implicitly from its location.
In any case, you can make $ (CC) or $ (FLAGS) or any other variables appear in the text file, and then your program will read this file at startup. It’s not a metamagy and Scott Myers may not interview you for effective C ++ VII, but this problem does not seem to deserve such a big headache.
source
share