eclipse c / c ++ CDT只构建一个文件 [英] eclipse c/c++ CDT build just one file
问题描述
我宁愿只建一个源代码文件,我正在使用,直到它是正确的,后来进入下一个源文件。但是我看到的所有eclipse选项(Make project and Build all)可以处理项目的所有源文件。
有没有什么简单的方法来构建eclipse CDT中的一个或两个源文件?
谢谢!
这比预期容易得多
- 取消选择项目 - >自动构建
- 右键单击您要建立的文件
- 点击构建所选文件。
资料来源: http://www.cesareriva.com / single-file-compile-in-eclipse-cdt /
I'm doing a C++ project with eclipse CDT but It takes a lot of time building all the source files.
I'd prefer just build the one source file which I'm working with until it's correct and later go ahead to the next source file. But all the options I have seen of eclipse (Make project and Build all), work over all the source files of the project.
Is there any easy way to build just one or two source files in eclipse CDT?
Thank you!
It was much easier than expected.
- Deselect Project -> Build Automatically
- Right click on the file you want to build
- Click on Build Selected File(s).
Source: http://www.cesareriva.com/single-file-compile-in-eclipse-cdt/
这篇关于eclipse c / c ++ CDT只构建一个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!