Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode with pkg-config

Hi I am using gtkmm in an XCode project and I am wondering how I can include the headers without using the command line and adding them in manually. Is there a way to using pkgconfig in XCode without doing it this way, ie some extra params or something?

Any help would be appreciated.

like image 531
Blair Davidson Avatar asked Apr 21 '26 07:04

Blair Davidson


1 Answers

May be look here

You can use pkg-config, if a .pc file for that package is present. These files are generally located at /usr/share/pkgconfig. You can prepare your own .pc file also by writing the header files directory and library directory in a specified format.

Just have a look at the contents of a .pc file and it it intuitive to understand.

like image 174
user2618142 Avatar answered Apr 22 '26 20:04

user2618142