Sha256: 835fd95da7094d2a3f2f93e452531e99782c5bc3e6600daeb9db3f41519ebb2e

Contents?: true

Size: 1.74 KB

Versions: 15

Compression:

Stored size: 1.74 KB

Contents

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documentation of the bake-tookit</title>
<style type="text/css">
#rundrum {
  border-width:1px;
  border-style:dashed;
  border-color:blue;
  padding:0.2cm;
  text-align:justify; }
}
</style>
</head>
<body>
<h1>How to use bake on command line</h1>
Call <b>bake -h</b> to display the command line options. 
<p>
The most important options are:
<ul>
<li><b>-b</b> the build configuration name
<li><b>-m</b> the main project directory (default is current directory)
<li><b>-p</b> the project to build (if not specified, the main project will be built with all dependencies)
</ul>

<h2>Examples</h2>

If you want to build your application, switch to the directory of the main project and call (assuming "Debug" is a valid build setup name):

<pre id="rundrum"><code>bake -b Debug</code></pre>

If you are not in the directory of the main project you want to build:

<pre id="rundrum"><code>bake -b Debug -m w:/root/mainProj</code></pre>

Code has been checked out into two roots, the console supports ansi colors, you want to stop on first error and build only the project bspAbc:

<pre id="rundrum"><code>bake -b Debug -m w:/root1/myProj -w w:/root1 -w w:/root2 -r -a black -p bspAbc</code></pre>

To clean the project(s), just add "-c". 

<h2>roots.bake</h2>

Workspace roots can be defined in a file called "roots.bake", which will be searched from main project directory to root folder. Example:

<pre id="rundrum"><code>../..
C:/another/root
something/else</code></pre>

If -w and roots.bake are not specified, the default workspace root is the parent directory of the main project.



</body>

</html>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bake-toolkit-1.8.0.1 doc/cmd/usecmd.html
bake-toolkit-1.7.0 doc/cmd/usecmd.html
bake-toolkit-1.6.3 doc/cmd/usecmd.html
bake-toolkit-1.6.2 doc/cmd/usecmd.html
bake-toolkit-1.6.1 doc/cmd/usecmd.html
bake-toolkit-1.6.0 doc/cmd/usecmd.html
bake-toolkit-1.5.0 doc/cmd/usecmd.html
bake-toolkit-1.4.0 doc/cmd/usecmd.html
bake-toolkit-1.3.0 doc/cmd/usecmd.html
bake-toolkit-1.2.1 doc/cmd/usecmd.html
bake-toolkit-1.2.0 doc/cmd/usecmd.html
bake-toolkit-1.1.0 doc/cmd/usecmd.html
bake-toolkit-1.0.27 doc/cmd/usecmd.html
bake-toolkit-1.0.26 doc/cmd/usecmd.html
bake-toolkit-1.0.25 doc/cmd/usecmd.html