Boost logo

Boost Users :

Subject: [Boost-users] How to add the pkg-config program function to bjam
From: Baba Prasad (gbabu_at_[hidden])
Date: 2012-05-30 02:31:49


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net