如何调试从谷歌code库源$ C ​​$ C [英] how to debug source code from Google code repository

查看:145
本文介绍了如何调试从谷歌code库源$ C ​​$ C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要调试从谷歌code库下面的源$ C ​​$ C,

I want to debug the following source code from google code repository,

http://code.google.com/p/rx/

我的问题是,我无法找到一个合适的IDE,可以考虑在源$ C ​​$ C为一个完整项目的所有子文件夹。我曾尝试NetBeans的C ++,$ C $个cblocks,日食C ++等。与他们的问题,同时打开项目是他们考虑的主要项目为不同的项目中的所有子文件夹。

My problem is, I am unable to find a suitable ide which can consider all the sub-folders in the source code as one complete project. I have tried netbeans C++, codeblocks, eclipse C++,etc. The problem with all of them while opening the project is that they consider all the subfolders within the main project as different projects.

有没有可用于调试从谷歌code库源$ C ​​$ C任何IDE。或者是有调试这些项目什么办法?

Is there any ide which can be used for debugging the source code from google code repository. OR IS THERE ANY WAY OF DEBUGGING THESE PROJECTS?

操作系统:Ubuntu的或Windows

Operating System: Ubuntu or Windows

推荐答案

您可以创建一个虚拟的Makefile:

You can create a dummy makefile :

all:
        g++ code_dir/*/*.?pp -o fake

和然后导入项目中使用Makefile文件。这是可能的KDevelop和Eclipse(不知道其他IDE)做。

and then import project using Makefiles. This is possible to do for kdevelop and eclipse (not sure for other IDEs).

大家注意到,上述的makefile进口的所有文件以。*?PP 模板从所有目录中的code_dir目录。

Take a note that the above makefile imports all files with a *.?pp template from all directories in the code_dir directory.

这篇关于如何调试从谷歌code库源$ C ​​$ C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆