I am trying to do something like this
cmake .. -G "Visual Studio 15 2017 Win64" -DCMAKE_CONFIGURATION_TYPES=ReleaseDebug
But the CMAKE_CONFIGURATION_TYPES
is not set as a list
variable. I also tried
cmake .. -G "Visual Studio 15 2017 Win64" -DCMAKE_CONFIGURATION_TYPES="Release Debug"
which didn't work either.
How to do it the right way?