I am working with some code that was designed to be used on Windows and Linux. There is a preprocessor condition that checks to see if the variable MYSQL_DATABASE is defined and if not it doesn't use the database. For debugging I am trying to remove this definition but I don't know how.
The entire project is configured as a CMake project and I cannot find where the preprocessor definitions are. In Windows, I can find them in the project settings for the VS project and when I create a project (such as an Xcode project) I can see this:
in a DependInfo.cmake file. I have searched the CMakeList files but cannot find the variable anywhere. It's not in the resulting Makefile or as an environment variable. Any ideas of where it could be or how I can find/change it?