FreeBSD Bugzilla – Attachment 223728 Details for
Bug 254677
Document new USES=cmake argument
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch against documentation git repo
cmake-doc.txt (text/plain), 2.00 KB, created by
Adriaan de Groot
on 2021-03-31 12:05:03 UTC
(
hide
)
Description:
Patch against documentation git repo
Filename:
MIME Type:
Creator:
Adriaan de Groot
Created:
2021-03-31 12:05:03 UTC
Size:
2.00 KB
patch
obsolete
>diff --git documentation/content/en/books/porters-handbook/uses/chapter.adoc documentation/content/en/books/porters-handbook/uses/chapter.adoc >index a99e81bc51..3783e0260a 100644 >--- documentation/content/en/books/porters-handbook/uses/chapter.adoc >+++ documentation/content/en/books/porters-handbook/uses/chapter.adoc >@@ -194,16 +194,26 @@ Prevents the port from installing [.filename]#charset.alias#. This must be insta > [[uses-cmake]] > == `cmake` > >-Possible arguments: (none), `insource`, `noninja`, `run` >+Possible arguments: (none), `insource`, `noninja`, `run`, `testing` > >-Uses CMake for configuring and building. >+Use CMake for configuring the port and generating a build system. > >-By default an out-of-source build is performed, leaving the sources in `WRKSRC` free from build artifacts. With the `insource` argument, an in-source build will be performed instead. Setting it should be the exception when a regular out-of-source build does not work. >+By default an out-of-source build is performed, leaving the sources in >+`WRKSRC` free from build artifacts. With the `insource` argument, an >+in-source build will be performed instead. Setting it should be the >+exception when a regular out-of-source build does not work. > >-By default Ninja is used for the build. In some cases this does not work correctly. With the `noninja` argument, the build will fallback to using regular `make` for builds. It should only be used if a Ninja-based build does not work. >+By default Ninja (package:devel/ninja[]) is used for the build. >+In some cases this does not work correctly. With the `noninja` argument, >+the build will use regular `make` for builds. >+It should only be used if a Ninja-based build does not work. > > With the `run` argument, a run dependency is registered in addition to a build dependency. > >+With the `testing` argument, a test-target is added that uses CTest. >+When running tests the port will be re-configured for testing and >+re-built. >+ > For more information see <<using-cmake,Using `cmake`>>. > > [[uses-compiler]]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 254677
:
223728
|
223746