[Bug]: CMake MSBUILD : error MSB1009: Project file does not exist
- Dominant language
- C++
- Stars
- 18.1k
- Forks
- 3.2k
- Avg merge
- 20h 36m
- Merged PRs (30d)
- 1
Description
### Describe the issue
Using the document to install project https://abseil.io/docs/cpp/quickstart-cmake
```
git clone https://github.com/abseil/abseil-cpp.git
cd abseil-cpp
$ mkdir build && cd build
$ cmake -DABSL_BUILD_TESTING=ON -DABSL_USE_GOOGLETEST_HEAD=ON -DCMAKE_CXX_STANDARD=14 ..
$ cmake --build . --target all
```
error
```
error MSB1009: Project file does not exist
```
Because I use visual studio 2022 command prompt, cmake use the generator `Visual Studio 17 2022`.
I replace `cmake --build . --target all` with `cmake --build . --target ALL_BUILD`.
refer to https://stackoverflow.com/questions/71437697/cmake-msbuild-error-msb1009-project-file-does-not-exist
### Steps to reproduce the problem
setp1 install visual studio 2022
step2
https://abseil.io/docs/cpp/quickstart-cmake
### What version of Abseil are you using?
lastest
### What operating system and version are you using?
window11
### What compiler and version are you using?
cl
visual studio 2022
### What build system are you using?
cmake --version
3.26
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.