diff options
author | markd <markd@pkgsrc.org> | 2007-12-12 01:03:33 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2007-12-12 01:03:33 +0000 |
commit | e1372e9ff38cfe03545dbc5a9460c55217d74d40 (patch) | |
tree | 24ee8f6c060a80ea7f1ec75920824dff6e2c8497 /doc/guide/files/build.xml | |
parent | ec09af76f04aba9128001e761e195a4fb53e7d1b (diff) | |
download | pkgsrc-e1372e9ff38cfe03545dbc5a9460c55217d74d40.tar.gz |
Document USE_CMAKE.
Diffstat (limited to 'doc/guide/files/build.xml')
-rw-r--r-- | doc/guide/files/build.xml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/guide/files/build.xml b/doc/guide/files/build.xml index f89d00572aa..de92c2024a5 100644 --- a/doc/guide/files/build.xml +++ b/doc/guide/files/build.xml @@ -1,4 +1,4 @@ -<!-- $NetBSD: build.xml,v 1.47 2007/08/15 06:33:44 rillig Exp $ --> +<!-- $NetBSD: build.xml,v 1.48 2007/12/12 01:03:33 markd Exp $ --> <chapter id="build"> <title>The build process</title> @@ -582,6 +582,16 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS} xmkmf's environment by adding them to the <varname>SCRIPTS_ENV</varname> variable.</para> + <para>If the program uses <filename>cmake</filename> + for configuration, the appropriate steps can be invoked by + setting <varname>USE_CMAKE</varname> to <quote>yes</quote>. + You can add variables to cmake's environment by adding them to the + <varname>CONFIGURE_ENV</varname> variable and arguments to cmake + by adding them to the <varname>CMAKE_ARGS</varname> variable. + The top directory argument is given by the + <varname>CMAKE_ARG_PATH</varname> variable, that defaults to + <quote>.</quote> (relative to <varname>CONFIGURE_DIRS</varname>)</para> + <para>If there is no configure step at all, set <varname>NO_CONFIGURE</varname> to <quote>yes</quote>.</para> </sect1> |