简体   繁体   English

Eclipse C ++ MakeFile

[英]Eclipse c++ MakeFile

I am new to Eclipse and I am am trying to include a make command within Eclipse. 我是Eclipse的新手,正在尝试在Eclipse中包含make命令。 Currently I run make from the command line. 目前,我从命令行运行make。

I have tried various things to have it within the Eclipse framework - but I need help. 我已经尝试了各种方法在Eclipse框架中使用它-但是我需要帮助。 Where do I put my make command which is just: 我将make命令放在哪里:

make headers; make lib
  • and how do I "call" it 以及如何“调用”它

to set the build command for your project : project-properties->c/c++ build->Build command x 设置项目的构建命令:project-properties-> c / c ++ build-> Build命令x

now just hit ctrl+b. 现在只需按ctrl + b。 is this what you need? 这是您需要的吗?

或者您可以按ctrl+f9并添加您的构建目标(如标头lib) ,然后仅使用f9构建最后一个目标,或者使用ctrl+f9选择目标

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM