Closed zhufangda closed 1 year ago
It prevents the CMakeCache.txt
and any related GUI from listing a whole bunch of settings that may be explicitly specified by an outer project. This removes noise, and prevents conflicting combinations of settings required by outer projects.
Hello, I am curious that @ben-clayton define a cmake function option_if_not_defined. But I have tested and found that
option_if_not_defined
andoption
have the same behavior. So can you tell me why did you do that. I found you use option_if_not_defined instead of option in 2019/11/20.cordialement zhufangda