netbeans:c项目如何传递参数进行配置?
我想做一些接近的事情 如何将运行参数添加到 Netbeans 中的 C++ 项目< /a>
但我不想将命令参数传递给正在运行的 exe,我想将参数传递给配置脚本
在命令行中编译整个内容时,我使用以下选项配置我的项目(Gimp)
configure --prefix=/opt/gimp-2.7 --without-libtiff --disable-python --without-dbus --disable-gtk-doc
我可以调整吗netbeans 为我使用正确的选项进行配置? 或者 netbeans 只能在根目录进行 make 递归? (所以我需要之前至少运行一次configure {my options})
I want to do something close to
How to add run parameters to a C++ project in Netbeans
but I don't want to pass command args to the running exe, I want to pass args to the configure script
When compiling the whole thing in command line I configure my project (Gimp) with the following options
configure --prefix=/opt/gimp-2.7 --without-libtiff --disable-python --without-dbus --disable-gtk-doc
Could I tweak netbeans to do the configure with proper options for me ?
Or is netbeans only able to do a make recursive at the root directory ? (So I need to run configure {my options} at least once before)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您使用现有源创建新的 C/C++ 项目时,NetBeans 允许您将参数传递给配置脚本。如果项目已创建,您还可以编辑参数并重新运行配置脚本。
创建新项目时传递参数到配置脚本的步骤:
要在创建项目后编辑传递给 configure 的参数,请执行以下操作:
NetBeans lets you pass arguments to configure script when you create a new C/C++ Project with Existing Sources. You can also edit the arguments and re-run the configure script if the project has already been created.
Steps to pass arguments to configure script when creating a new project:
To edit the parameters passed to configure after the project has been created: