summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd>2007-12-12 01:03:33 +0000
committermarkd <markd>2007-12-12 01:03:33 +0000
commit9e29300d7367cb5cc7e60b2f37ae60804edc280a (patch)
tree24ee8f6c060a80ea7f1ec75920824dff6e2c8497
parentb7925aec538133bbfdbcea8f19f0929004b5a656 (diff)
downloadpkgsrc-9e29300d7367cb5cc7e60b2f37ae60804edc280a.tar.gz
Document USE_CMAKE.
-rw-r--r--doc/guide/files/build.xml12
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>