我正在尝试从源代码编译代码块16,但我没有(也不想要)某些贡献者插件依赖项。
在配置文件中,我看到一些配置选项:
-with-contrib-plugins=<list> compile contrib plugins in <list>.
plugins may be separated with commas.
"all", "yes" or just "--with-contrib-plugins" compiles all contrib plugins
"all,-help" or "yes,-help" compiles all contrib plugins except the help plugin
"none", "no", "--without-contrib-plugins" or skipping the parameter at all,
compiles none of the contrib-plugins
Plugin names are: AutoVersioning, BrowseTracker, byogames, Cccc, CppCheck, cbkoders, codesnippets,
codestat, copystrings, Cscope, DoxyBlocks, dragscroll, EditorConfig, EditorTweaks, envvars,
FileManager, headerfixup, help, hexeditor, incsearch, keybinder, libfinder, MouseSap,
NassiShneiderman, ProjectOptionsManipulator, profiler, regex, ReopenEditor, exporter, smartindent, spellchecker,
symtab, ThreadSearch, ToolsPlus, Valgrind, wxcontrib, wxsmith, wxsmithcontrib, wxsmithaui
我尝试过以各种方式运行configure,包括./configure --with-contrib-plugins=<list> AutoVersioning, BrowseTracker<list>
和
./configure -with-contrib-plugins=AutoVersioning, BrowseTracker
还有听起来像配置所有除了:
./configure --with-contrib-plugins=all -wxsmith -wxsmithcontrib -wxsmithauiconfigure: error: unrecognized option: `-wxsmith'
但是我一直在无法识别的选项中遇到配置错误。
也许我误解了-with-contrib-plugins=
选项。
我可以只使用./configure
运行configure,但我想要一些插件。我怎么能这样做?
答案 0 :(得分:2)
Simply Comma将您要安装的软件包分开。例如,如果您想要仅 Valgrind和Doxyblocks,请按以下方式运行configure,
./configure --with-contrib-plugins=Valgrind,DoxyBlocks
这将使用插件Valgrind,DoxyBlocks等安装Codeblocks。
如果您想要所有插件,只需运行configure as
./configure --with-contrib-plugins=all
确保在安装Codeblocks之前安装了wxWidgets