我正在为使用Firebreath的第一个测试插件创建一个VSS项目,但我遇到了以下问题:
C:\code\sc>firebreath\prep2012.cmd projects build
A subdirectory or file build already exists.
Using projects in: "C:\code\sc\projects"
Generating build files in: "C:\code\sc\build"
NOTE: The build files in "C:\code\sc\build" should *NEVER* be modified directly.
When needed, make project changes in cmake files and re-run this script.
Project-specific cmake files are found in [plugin dir]\CMakeLists.txt and
[plugin dir]\Win\projectDef.cmake.
Note that parameters for cmake should be enclosed in double quotes, e.g. "-DVERB
OSE=1"
CMAKE parameters:
C:\code\sc\build>cmake -G "Visual Studio 11" -DFB_PROJECTS_DIR="C:\code\sc\proje
cts" "C:\code\sc\firebreath"
'cmake' is not recognized as an internal or external command, operable program or batch file.
有人可以帮我吗?
答案 0 :(得分:0)
正如评论中所提到的,这是因为您未安装cmake或未将cmake添加到路径中。
如果您安装了cmake,请重新安装并在安装过程中选择“为所有用户添加路径”。如果没有,则需要安装它。
所有这些信息都在网站上:http://www.firebreath.org/display/documentation/Building+on+Windows