From: http://blog.sina.com.cn/s/blog_59b6af690100xbft.html
Two steps
1. Add the header file path
Create a project (WorkspaceProject), open buildsettings in the settings menu...
In the pop-up dialog box, expand GNU g ++ in the Tree View on the left, and fill in the header file path in the edit box following export depath on the right. Click OK to close the dialog box.
2. Add a link library
Go to the workspace tab in workspaceview on the left of codelite, right-click the next layer (Project) of the workspace name, select Settings, and select the pop-up dialog box in configuration type: globalsettings; enter the linker tab and enter the above library in options.
After the above settings, You can compileProgramIf you need to implementCodeNote:
1. Choose Settings> tag settings. The tagsoptions dialog box is displayed.
2. Go to the include files tab.
3. In the above list, click Add... on the right to add the header file path added above one by one.
4. Click OK to close the dialog box.
5. Open the menu workspace> retag workspace (full.