Hi,
Is there a way to include pkg-config to project search path and workspace code completion.
Suggestion.
I think its a good idea to add support to pkg-config in project wizard (and project properties) by specifying the list of installed libs to include so they can be linked correctly without the need for manually add the required cflags and libs.
Regards.
Sami
pkg-config
-
- CodeLite Curious
- Posts: 6
- Joined: Wed Mar 03, 2010 9:19 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: pkg-config
I am using similar tool (wx-config) to get the paths/libraries installed
In the project settings -> compiler I am adding:
Compiler Options:
In the linker tab (of the project settings)
Linker Options:
You can do the same for the pkg-config
About adding it to wizards:
The wizards are simply a template files on the disk which are loaded by the 'New Project' file. To create a "real" wizard for a speicific library (e.g. Qt) you need to write a plugin for this
Eran
In the project settings -> compiler I am adding:
Compiler Options:
Code: Select all
$(shell wx-config --debug=yes --unicode=yes --cxxflags)
Linker Options:
Code: Select all
$(shell wx-config --debug=yes --unicode=yes --libs)
About adding it to wizards:
The wizards are simply a template files on the disk which are loaded by the 'New Project' file. To create a "real" wizard for a speicific library (e.g. Qt) you need to write a plugin for this
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 6
- Joined: Wed Mar 03, 2010 9:19 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: pkg-config
Thanks,
It work perfectly.
Sami.
It work perfectly.
Sami.