[mlpack-git] [mlpack/mlpack] pkg-config support (#782)

Ryan Curtin notifications at github.com
Tue Sep 13 11:26:08 EDT 2016

This adds a target, 'pkgconfig', which produces the file mlpack.pc.  This can be used with pkgconfig to get the list of include directories and linker arguments that are needed to compile against mlpack.

I think is a small enough change that I'll merge it in after a few days and after the test builds pass and I manually test on OS X.  @eddelbuettel: if you'd like to check this before I merge, it would be appreciated, but you could also test it after merge and file any bugs if it doesn't work the way you need it to. :)
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Remove unnecessary libxml2 link (though it didn't do anything anyway).
  * Gather all library dependencies in one place.
  * Add pkg-config support.
  * Merge branch 'master' into pkgconfig
  * Make sure the version string is properly set.

-- File Changes --

    A CMake/GeneratePkgConfig.cmake (27)
    A CMake/mlpack.pc.in (11)
    M CMakeLists.txt (83)
    M src/mlpack/CMakeLists.txt (16)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160913/55c25780/attachment.html>

More information about the mlpack-git mailing list