FreeBSD Bugzilla – Attachment 223746 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]
Patch against git main
cmake-doc.txt (text/plain), 2.03 KB, created by
Adriaan de Groot
on 2021-04-01 12:47:17 UTC
(
hide
)
Description:
Patch against git main
Filename:
MIME Type:
Creator:
Adriaan de Groot
Created:
2021-04-01 12:47:17 UTC
Size:
2.03 KB
patch
obsolete
>diff --git documentation/content/en/books/porters-handbook/uses/_index.adoc documentation/content/en/books/porters-handbook/uses/_index.adoc >index 41d7a5f73a..3377254fe5 100644 >--- documentation/content/en/books/porters-handbook/uses/_index.adoc >+++ documentation/content/en/books/porters-handbook/uses/_index.adoc >@@ -194,16 +194,24 @@ 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. >+This argument should be an exception, used only 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. >+This argument 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 crossref:special[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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254677
:
223728
| 223746