[Boost-users] How to add the pkg-config program function to bjam

10 views
Skip to first unread message

Baba Prasad

unread,
May 30, 2012, 2:31:49 AM5/30/12
to boost...@lists.boost.org

Dear friends,

Please tell me how to set the pkg-config in bjam. please
see,like this I am using while compiling the using gcc and
make
command

1) gcc -g - o `pkg-config --cflags glib-2.0 dbus-glib-1 --libs glib-2.0
dbus-glib-1` main main.c


but I don't know how to add this option in bajm and also I don't know
where to add this option in either jamfile or boost-build.jam, or
user-config.jam.

because you might get doubt why do you want use glib and dbus means I
using dbus api's in my program.

so how to and where to add is my big confusion , please if any one knows
could help me get out of this problem.


I had tried in the bellow ways but didn't worked so

using gcc : : : <cxxflags>-glib-2.0 -dbus-glib-1
: <libs>-glib-2.0 -dbus-glib-1
;
using gcc : : : <compileflags>-glib-2.0 -dbus-glib-1
: <libs>-glib-2.0 -dbus-glib-1
;


some time I thought, I am adding above options in wrong place meaning
different file , please any one can suggest.


Best Regards
BaBu







--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Boost-users mailing list
Boost...@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply all
Reply to author
Forward
0 new messages