Skip to content

VS: Write ZERO_CHECK.proj for VS19 and above

Sumit Bhardwaj requested to merge bhardwajs/cmake:zero_check_proj into master

For VS 2019 and above, switch the format of project file to VsProjectType::proj for ZERO_CHECK target. The ZERO_CHECK.proj consists of primitive MSBuild commands only and has no dependency on any other targets or props files. This proj file is written as a ProjectReference for other targets, but is not written to the sln file.

Testing: I tested on VS 2017, VS 20219, and VS2022 installations with CUDA toolkit using -DCMake_TEST_CUDA:BOOL=ON. On all three, tests pass.

Fixes: nightly testing issue discovered in VS 2017.

Merge request reports