简体   繁体   中英

How to open a c project in source insight?

Someone recommends me to use SI to read the c source of PHP ,a great open source project.

I've already downloaded the source.

But I don't know how to import it,can anyone help?

Open the Project menu and create a new project (or push Alt+Shift+N). In the upcoming dialog window, enter PHP as the project's name and select a folder to store the project data. Click OK to configure the project, eg activate storing function-local symbols in the project DB etc. Click OK again.

The next dialog lets you actually import files to the project. Select your source folder and click "Add Tree" to add the whole directory structure to the project. Click Close. You can now start browsing the source code.

Make sure you configure SourceInsight so that it knows where your local library folders are, ie the C headers & runtime. This is usually done when installing SourceInsight.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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