Is there a way to specify to CMake that I want to use a different file than CMakeLists.txt? I can't seem to find anything.
The problem I'm facing is that I am not allowed to check in changes made to CMakeLists.txt. I also switch branches often.
I want to modify a few build preferences for my development. If I edit CMakeLists.txt, git will not allow me to switch branches.
If I had CMyMakeLists.txt that cmake could use, then it would solve this problem. Is there a way to do this?