Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-29267] CMAKE_BUILD_TOOL: added online doc according to solution
- Loading branch information
Showing
8 changed files
with
27 additions
and
50 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
src/main/resources/hudson/plugins/cmake/BuildToolStep/config.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/hudson/plugins/cmake/BuildToolStep/help-args.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div> | ||
Specify arguments to pass to the build tool (separated by spaces).<br> | ||
Specify arguments to pass to the build tool or <code>cmake</code> (separated by spaces).<br> | ||
Arguments may contain spaces if they are enclosed in double quotes. | ||
</div> |
2 changes: 1 addition & 1 deletion
2
src/main/resources/hudson/plugins/cmake/BuildToolStep/help-envVars.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<div> | ||
Specify extra environment variables to pass to the build tool as key-value pairs here.<br> | ||
Each entry must be on its own line.<br> | ||
Each entry must be on its own line, for example:<br> | ||
<code>DESTDIR=path/to/dir<br> | ||
KEY=VALUE<br><code> | ||
</div> |
9 changes: 9 additions & 0 deletions
9
src/main/resources/hudson/plugins/cmake/BuildToolStep/help-withCmake.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div> | ||
Whether to run the actual build tool directly (by expanding <code>$CMAKE_BUILD_TOOL</code>) | ||
or to have <code>cmake</code> run the build tool (by invoking <code>cmake --build</code>). | ||
<ul> | ||
<li>Leave unchecked for minimal overhead.</li> | ||
<li>Check this, if you selected one of the <em>Visual Studio</em> or <em>Xcode</em> generators | ||
above <strong>AND</strong> if you run CMake v. 3.0 or newer.</li> | ||
<ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 1 addition & 7 deletions
8
src/main/resources/hudson/plugins/cmake/CmakeBuilder/help-runTool.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
<div> | ||
Invocations of <code>$CMAKE_BUILD_TOOL</code>, which evaluates to the actual | ||
build tool that operates on the generated build scripts.<br> | ||
Would run <code>/usr/bin/gmake</code> if, for example, | ||
the "Unix Makefiles" generator was specified and the build node | ||
is runnung under Linux. | ||
<code><strong>$CMAKE_BUILD_TOOL</strong></code> will be started directly | ||
without any commandline shell. | ||
Invocations of the actual build tool (e.g. <code>make</code> or <code>ninja</code>). | ||
</div> |
3 changes: 2 additions & 1 deletion
3
src/main/resources/hudson/plugins/cmake/CmakeBuilder/help.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<div>For projects that use CMake to generate build-scripts. | ||
This causes Jenkins to invoke cmake with the given options.</br> | ||
Any non-zero exit code during build-script generation causes Jenkins to mark the build as a failure.</br> | ||
Exposes the <code><strong>CMAKE_BUILD_TOOL</strong></code> build environment variable. | ||
It also can expose the <code><strong>CMAKE_BUILD_TOOL</strong></code> build environment variable | ||
if the chosen generator supports that. | ||
</div> |