[Bug]: CMake MSBUILD : error MSB1009: Project file does not exist
- 主要语言
- C++
- 星标
- 18.1k
- 派生
- 3.2k
- 平均合并
- 20 小时 36 分钟
- 30 天内合并 PR
- 1
描述
### 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_
贡献指南
评估
这个 Issue 还没有评估数据。