mrg*_*oom 8 c++ debugging makefile eclipse-cdt
例如,我有2个Makefile:Makefile.Debug和Makefile.Release.
我可以通过设置不同的命令在它们之间切换:
C/C++构建 - >构建器设置 - >构建命令:make -f Makefile.Debug -j4或者make -f Makefile.Release -j4,但是如何在Eclipse GUI中的两个makefile之间切换(就像在Visual Studio调试/发布配置中一样)?
在Eclipse中创建两个Build配置,每个配置都有不同的make命令.然后,您可以单击Eclipse顶部栏中锤子附近的向下箭头来切换配置.
详细步骤:
(我现在没有这台PC上的Eclipse副本所以我无法发送截图,抱歉.)