【发布时间】:2025-12-11 09:15:02
【问题描述】:
我正在尝试使用 CMake 构建 Google Test。 正如 Google Test 的 README 中提到的, 我已发出以下命令:
mkdir mybuild # Create a directory to hold the build output.
cd mybuild
cmake D:\gtest-1.6.0 # (in the README this was set as:cmake ${GTEST_DIR}, but since on my machine D:\gtest-1.6.0 is where I have downloaded gtest, I have used that in command prompt.
这是我得到的错误:
有什么帮助吗?任何帮助将不胜感激,因为我坚持下去并且无法继续前进......谢谢。 附言。我的机器上安装了 Visual Studio 10。
【问题讨论】:
标签: c++ cmake googletest