modify all CMakeLists.txt files, use global variables to decouple