我正处于使用 Firebreath 为我的第一个测试插件创建 VSS 项目的阶段,但我遇到了以下问题:
C:codesc>firebreathprep2012.cmd projects build
A subdirectory or file build already exists.
Using projects in: "C:codescprojects"
Generating build files in: "C:codescbuild"
NOTE: The build files in "C:codescbuild" 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]WinprojectDef.cmake.
Note that parameters for cmake should be enclosed in double quotes, e.g. "-DVERB
OSE=1"
CMAKE parameters:
C:codescbuild>cmake -G "Visual Studio 11" -DFB_PROJECTS_DIR="C:codescproje
cts" "C:codescfirebreath"
'cmake' is not recognized as an internal or external command, operable program or batch file.
谁能帮我?
如评论中所述,这是因为您要么没有安装 cmake,要么没有将 cmake 添加到您的路径中。
如果您确实安装了 CMAKE,请重新安装它并在安装过程中选择"添加到所有用户的路径"。 如果没有,则需要安装它。
所有这些信息都在网站上:http://www.firebreath.org/display/documentation/Building+on+Windows