Commit Graph

48 Commits (d9337d856de05f5203ef6887fc4b077fe0657a5f)

Author SHA1 Message Date
Gabriel Scherer 365cd572d7 ocamlbuild: add examples to the documentation of rule definitions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16344 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-08-15 10:26:32 +00:00
Gabriel Scherer 36d53043b2 ocamlbuild: + Log.is_logging to skip allocation in hot path
(user 'ygrek')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16305 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-08-02 13:05:50 +00:00
Xavier Leroy 688d5a5915 Changed OCamlbuild's license to LGPL with static linking exception.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16294 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-07-28 13:18:34 +00:00
Gabriel Scherer 0db2316653 PR#6794: pass package-specific include flags when building C files
(Jérémie Dimino, request by Peter Zotov)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15883 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-03-08 09:03:24 +00:00
Gabriel Scherer e69107143d ocamlbuild: rename 'mark_as_used' into 'mark_flag_used' and expose in PLUGIN
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14148 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-15 11:36:52 +00:00
Gabriel Scherer 98227477ec minor typos in ocamlbuild/signatures.mli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14143 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-15 11:36:41 +00:00
Gabriel Scherer c19689fc93 ocamlbuild: add a free-form documentation field to rules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14124 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-15 11:36:02 +00:00
Gabriel Scherer f79d1a4e2d improve ocamlbuild API documentation (patch by Cristophe Troestler)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13786 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-16 17:04:29 +00:00
Wojciech Meyer 37bbb9bb16 Implement -syntax ocamlfind flag for ocamlbuild
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13262 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:19 +00:00
Wojciech Meyer 5cb2518dd7 Implement memoization for expand_module to improve performance
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13240 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 07:36:07 +00:00
Alain Frisch 706f815450 #5864: add a find operation to Set.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-08 09:01:02 +00:00
Wojciech Meyer 80d9a37d6d PR#5468: ocamlbuild should preserve order of parametric tags
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-09-10 02:41:09 +00:00
Damien Doligez 3dd2fee2ee fix formatting of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12808 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-01 14:47:00 +00:00
Wojciech Meyer 952fe3d0f2 PR#5531: Allow ocamlbuild to add ocamldoc flags through -docflag and -docflags switches
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-25 01:31:26 +00:00
Damien Doligez c91db736b1 merge changes from 3.12.0 to 3.12.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Nicolas Pouillard 033e10198e ocamlbuild: two comments
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9609 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-03 10:27:46 +00:00
Xavier Clerc ae90f26025 Support for findlib (N. Pouillard et al.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9549 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 14:46:27 +00:00
Xavier Clerc bcdf4082cf Support for parametrized tags (N. Pouillard et al.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9548 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 14:36:57 +00:00
Damien Doligez 04b1656222 clean up spaces and tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez bdc0fadee2 merge changes from release/3.11.1 to release/3.11.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Nicolas Pouillard 5da04f8b51 ocamlbuild: Kill $Id$'s
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9173 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-03 16:54:58 +00:00
Nicolas Pouillard 79d2c3d441 ocamlbuild: export run_and_read.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:42:28 +00:00
Nicolas Pouillard 9e122e5bfe ocamlbuild: Add flag_and_dep and ocaml_lib now also yields deps on the library.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8936 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:26:13 +00:00
Nicolas Pouillard e94095e6b0 ocamlbuild,minor,improvement: Digest commands in such a way that one don't make too big strings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:55:48 +00:00
Nicolas Pouillard f7a3758488 [ocamlbuild] Add the |> operator for reverse application.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 17:20:39 +00:00
Nicolas Pouillard cd7ce252c6 [ocamlbuild] Kill file_rule, please use rule + Echo instead.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 17:19:24 +00:00
Nicolas Pouillard d6abf3177c [ocamlbuild] Add the Echo command primitive.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8672 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:18:49 +00:00
Nicolas Pouillard 9e216739ee [ocamlbuild] Simplify a little the execute_many protocol and then cleanup Command.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8671 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:11:46 +00:00
Nicolas Pouillard c32b7dbb0e [ocamlbuild] ocamlbuild is no longer recursive by default.
You can still have a fine grained control using your _tags
file and the "traverse" tag.
There is no longer the "true: traverse" tag declaration by default.
To make ocamlbuild recursive use one of these:
  1) Give the -r flag to ocamlbuild.
  2) Have a _tags or myocamlbuild.ml file in your top directory.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:10:13 +00:00
Nicolas Pouillard 114db8aaea [ocamlbuild] More documentation (in particular all the PLUGIN sig is doc).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8667 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:06:58 +00:00
Nicolas Pouillard f835cca505 [ocamlbuild] Move tag_any and tag_file to Configuration but still export them in Ocamlbuild_plugin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8665 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:03:48 +00:00
Nicolas Pouillard a4154feec7 [ocamlbuild] Make the log file live in the build directory (PR#4313).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8610 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:53:38 +00:00
Nicolas Pouillard e96c716b68 [ocamlbuild] Export constructors names for command directly in Ocamlbuild_plugin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8605 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:49:06 +00:00
Nicolas Pouillard 78baddcc34 [ocamlbuild] Extract executor as ocamlbuild_excutor and my_unix_with_unix as ocamlbuild_unix_plugin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8600 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:34:22 +00:00
Nicolas Pouillard 1989f91c21 [ocamlbuild] [ADDED] Rules can now have a stamp production.
A stamp production of a rule (like in the rule .mli -> .cmi).
However this file is automatically produced by ocamlbuild and
contains a digest of its dependencies. This allow some kind of
rules that requires PHONY in `make'.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8587 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:34:57 +00:00
Nicolas Pouillard bc7a152e6a [ocamlbuild] Remove touch.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8586 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:33:49 +00:00
Nicolas Pouillard 54e5904df4 [ocamlbuild] Remove custom_rule.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8581 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:06:47 +00:00
Nicolas Pouillard ead23cd811 [ocamlbuild] [ADDED] My_std.String.{implode,explode}.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8573 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:01:42 +00:00
Nicolas Pouillard 1526de337e [ocamlbuild] [FIXED] Globbing wildcard '?' cannot match slash (update doc too)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8568 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 20:48:37 +00:00
Damien Doligez 4167841b16 fusion de la version 3.10.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +00:00
Nicolas Pouillard a3797d4d4a [ocamlbuild] Add the -documentation option
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7933 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 17:05:30 +00:00
Nicolas Pouillard 0105c80c6a [ocamlbuild] use_lib improvments. See the ChangeLog for more details
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7928 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 16:27:45 +00:00
Nicolas Pouillard ba936a66f5 [ocamlbuild] Add the -dont-catch-errors option
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7924 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 13:16:22 +00:00
Nicolas Pouillard 7a0e57b525 [ocamlbuild] Minor things. For details see the ChangeLog
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7897 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-22 16:51:39 +00:00
Nicolas Pouillard fefcce073e [ocamlbuild] Use sanitize instead of sterilize. For details see the ChangeLog
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7895 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-22 15:56:23 +00:00
Nicolas Pouillard 824dc3994e [ocamlbuild] ocamlmktop, and thread tag in native code (see ChangeLog for more details)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7858 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-12 10:26:08 +00:00
Nicolas Pouillard 0368536e72 [ocamlbuild] some changes see ocamlbuild/ChangeLog
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7842 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-08 16:53:39 +00:00
Nicolas Pouillard 381e325c0f Add the ocamlbuild directory
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 08:59:16 +00:00