diff --git a/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml index ab2993f8a8..8b77817d89 100644 --- a/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml +++ b/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml @@ -655,6 +655,22 @@ IGNORE= may not be redistributed because of licensing reasons. Please visit + + CMAKE_ON + For each entry in CMAKE_ON, an + enabled boolean value is added to + CMAKE_ARGS. See . + + + + CMAKE_OFF + For each entry in CMAKE_OFF, a + disabled boolean value is added to + CMAKE_ARGS. See . + + CMAKE_BUILD_TYPE Type of build (CMake @@ -760,6 +776,30 @@ IGNORE= may not be redistributed because of licensing reasons. Please visit USES= cmake:outsource CMAKE_SOURCE_PATH= ${WRKSRC}/subproject + + + <varname>CMAKE_ON</varname> and + <varname>CMAKE_OFF</varname> + + When adding boolean values to + CMAKE_ARGS, it is easier to use the + CMAKE_ON and CMAKE_OFF + variables instead. This: + + CMAKE_ON= VAR1 VAR2 +CMAKE_OFF= VAR3 + + Is equivalent to: + + CMAKE_ARGS= -DVAR1:BOOL=TRUE -DVAR2:BOOL=TRUE -DVAR3:BOOL=FALSE + + + This is only for the default values off + CMAKE_ARGS. The helpers described in + use the same + semantics, but for optional values. + +