OCaml Forge

Detail: [#892] oasis: provide optional build-dependencies

Feature Requests: Browse | Download .csv | Monitor

[#892] oasis: provide optional build-dependencies

Date:
2011-01-21 19:55
Priority:
3
State:
Open
Submitted by:
Török Edwin (edwin)
Assigned to:
Sylvain Le Gall (gildor-admin)
Resolution:
None
Due in version:
None
Product:
OASIS
Component:
None
Operating System:
None
 
Summary:
oasis: provide optional build-dependencies

Detailed description
There should be a way to specify optional build dependencies: if dependency is not available (or too old) then _oasis could specify a way to build a local copy of the library.

What is needed is a flag() that can be used in _oasis if optional build-dep is not available.
Some sort of support for "sub-project configure" would come in handy too.

For example:

Library: mylib
OptionalBuildDepends: oUnit (>=1.1.0)

Library oUnit
Build$: flag(missingdep_ounit)
Configure-Commands: $ocaml oUnit-1.1.0/setup.ml -configure
Build-Commands: $ocaml oUnit-1.1.0/setup.ml -build
Build-Objects: oUnit-1.1.0/_build

Followup

No Followups Have Been Posted

Attached Files:

Changes:

Field Old Value Date By
assigned_tonone2011-01-31 09:37gildor-admin