OCaml Forge
Feature Requests
Search the entire project
This project's trackers
This project's tasks
This project's releases
This project's documents
This project's news
Project
People
Advanced search
Log In
New Account
Home
My Page
Projects
Code Snippets
OASIS
Summary
Activity
Tracker
Lists
Tasks
Docs
News
Files
Hudson
Detail: [#522] Use pkg-config
Feature Requests: Browse
|
Download .csv
|
Monitor
[#522] Use pkg-config
Date:
2010-02-03 13:49
Priority:
3
State:
Open
Submitted by:
Sylvain Le Gall (
gildor-admin
)
Assigned to:
Sylvain Le Gall (gildor-admin)
Resolution:
None
Due in version:
0.3.0
Product:
None
Component:
None
Operating System:
None
Summary:
Use pkg-config
Detailed description
For C libraries, we should use pkg-config, just as ocamlfind.
Followup
Message
Date: 2011-05-15 14:37
Sender:
Christophe Troestler
Another example, using a modified setup.ml to pass variables to myocamlbuild.ml (and special tags as indicated earlier to associate flags to files).
https://forge.ocamlcore.org/scm/viewvc.php/cairo/myocamlbuild.ml?view=markup&revision=242&root=archimedes
Date: 2011-05-04 07:08
Sender:
Christophe Troestler
For an example of this (using a post-configure script), you can have a look to
https://forge.ocamlcore.org/scm/viewvc.php/trunk/?root=ml-gammu
Date: 2011-01-11 09:48
Sender:
Sylvain Le Gall
Discussion about ocsigen libev.
There are possible solution customizing setup.ml/_tags/myocamlbuild.ml. Basically, what you need to do:
- add your own detection code in setup.ml to be run at configure. Just run pkg-config and save cflags/libs in ev_cflags/ev_libs (it will go to setup.data
- add a use_libev in _tags to the matching files/libraries in _tags
- load ev_cflags/ev_libs and apply them to flag[use_libev;...] & ... in myocamlbuild.ml
Date: 2011-01-11 09:42
Sender:
Sylvain Le Gall
See the discussion with Anastasia Gornostaeva:
https://sympa-roc.inria.fr/wws/arc/caml-list/2010-11/msg00356.html
Attached Files:
Changes:
Field
Old Value
Date
By
Due in version
None
2010-11-05 16:19
gildor-admin
assigned_to
none
2010-02-03 14:00
gildor-admin