For some cmake version like the one that comes with vs2019, I found cmake --build . -j --config Release would build Debug version. And move the -j to the end would build the expected Release version. For consistency, I pass the /m to MSBuild tool directly
For some cmake version like the one that comes with vs2019, I found
cmake --build . -j --config Release
would build Debug version. And move the -j to the end would build the expected Release version. For consistency, I pass the /m to MSBuild tool directly