comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Kolden <bakolden5@gmail.com>
Subject: pkg-config and GPRBuild
Date: Tue, 4 Apr 2017 19:21:11 -0700 (PDT)
Date: 2017-04-04T19:21:11-07:00	[thread overview]
Message-ID: <ede13129-696b-4c31-8493-23b30dbe3dcb@googlegroups.com> (raw)

Hello,

I am using openCV for a project and I migrated from make to gprbuild because I am more familiar with it. However, the common method of compiling and linking while using openCV uses a call like "g++ -o test_1 test_1.cpp `pkg-config opencv --cflags --libs`". I could not figure out how to do the `pkg-config opencv --cflags --libs` call in gprbuild and resorted to hard coding all the library flags into the .gpr file. 

Does anyone have any suggestions, because I would really prefer to be able to use pkg-config.

Thanks,

Brian

             reply	other threads:[~2017-04-05  2:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05  2:21 Brian Kolden [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-04-05  2:16 pkg-config and GPRBuild Brian Kolden
2017-04-05  7:42 ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox