bake-toolkit 2.11.4 → 2.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/documentation/_build/html/_sources/changelog.txt +4 -1
- data/documentation/_build/html/_sources/index.txt +2 -3
- data/documentation/_build/html/_static/syntax.html +2 -4
- data/documentation/_build/html/changelog.html +11 -5
- data/documentation/_build/html/commandline/commandline.html +4 -4
- data/documentation/_build/html/concepts/build_hierarchy.html +4 -4
- data/documentation/_build/html/concepts/concepts.html +4 -4
- data/documentation/_build/html/concepts/the_main_project.html +4 -4
- data/documentation/_build/html/concepts/the_project_meta_file.html +4 -4
- data/documentation/_build/html/genindex.html +4 -4
- data/documentation/_build/html/ide/eclipse/eclipse.html +4 -4
- data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +4 -4
- data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +4 -4
- data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +4 -4
- data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +4 -4
- data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +4 -4
- data/documentation/_build/html/ide/ide_integrations.html +4 -4
- data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +4 -4
- data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +4 -4
- data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +4 -4
- data/documentation/_build/html/ide/vs/vs.html +4 -4
- data/documentation/_build/html/ide/vs/vs_install.html +4 -4
- data/documentation/_build/html/index.html +7 -7
- data/documentation/_build/html/install/install_bake.html +4 -4
- data/documentation/_build/html/internal.html +4 -4
- data/documentation/_build/html/known_issues.html +4 -4
- data/documentation/_build/html/license.html +4 -4
- data/documentation/_build/html/objects.inv +0 -0
- data/documentation/_build/html/performance/performance.html +4 -4
- data/documentation/_build/html/quickstart/quickstart.html +4 -4
- data/documentation/_build/html/search.html +4 -4
- data/documentation/_build/html/searchindex.js +1 -1
- data/documentation/_build/html/syntax/derive_configs.html +4 -4
- data/documentation/_build/html/syntax/project_meta_syntax.html +6 -8
- data/documentation/_build/html/syntax/syntax.html +4 -4
- data/documentation/_build/html/syntax/variable_substitutions.html +4 -4
- data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +4 -4
- data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +4 -4
- data/documentation/_build/html/tips_and_tricks/the_bakery.html +4 -4
- data/documentation/_build/html/tips_and_tricks/the_clang.html +4 -4
- data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +4 -4
- data/documentation/_build/html/why_bake/why_bake.html +6 -6
- data/lib/bake/util.rb +1 -1
- data/lib/blocks/block.rb +11 -14
- data/lib/common/version.rb +1 -1
- data/lib/tocxx.rb +7 -7
- metadata +2 -70
- data/doc/cmd/install.html +0 -74
- data/doc/cmd/mount.png +0 -0
- data/doc/cmd/ruby.png +0 -0
- data/doc/cmd/tty.png +0 -0
- data/doc/cmd/usecmd.html +0 -80
- data/doc/cmd/usecygwin.html +0 -49
- data/doc/concepts/buildhierarchy.html +0 -42
- data/doc/concepts/configfile.html +0 -102
- data/doc/concepts/hier.png +0 -0
- data/doc/concepts/mainproject.html +0 -87
- data/doc/deployDoc.bat +0 -2
- data/doc/dyk/clang.html +0 -50
- data/doc/dyk/keys.png +0 -0
- data/doc/dyk/lint.html +0 -78
- data/doc/dyk/tipps.html +0 -45
- data/doc/eclipse/build/buildFile.png +0 -0
- data/doc/eclipse/build/buildMain.png +0 -0
- data/doc/eclipse/build/console.png +0 -0
- data/doc/eclipse/build/problem.png +0 -0
- data/doc/eclipse/export.html +0 -39
- data/doc/eclipse/export/Script.png +0 -0
- data/doc/eclipse/export/Select.png +0 -0
- data/doc/eclipse/import.html +0 -31
- data/doc/eclipse/import/Import.png +0 -0
- data/doc/eclipse/import/Select.png +0 -0
- data/doc/eclipse/install.html +0 -26
- data/doc/eclipse/install/AddRepository.png +0 -0
- data/doc/eclipse/install/AvailableSoftware.png +0 -0
- data/doc/eclipse/install/InstallNewSoftware.png +0 -0
- data/doc/eclipse/install/Licenses.png +0 -0
- data/doc/eclipse/install/Restart.png +0 -0
- data/doc/eclipse/install/TrustMe.png +0 -0
- data/doc/eclipse/misc/pref.png +0 -0
- data/doc/eclipse/new.html +0 -17
- data/doc/eclipse/new/New.png +0 -0
- data/doc/eclipse/new/Result.png +0 -0
- data/doc/eclipse/new/Select.png +0 -0
- data/doc/eclipse/select/FirstSelect.png +0 -0
- data/doc/eclipse/select/SecondSelect.png +0 -0
- data/doc/eclipse/select/WrongSelect.png +0 -0
- data/doc/eclipse/use.html +0 -59
- data/doc/further/bakery/cmd.html +0 -33
- data/doc/further/bakery/syntax.html +0 -203
- data/doc/further/change.html +0 -525
- data/doc/further/collections.html +0 -21
- data/doc/further/internal.html +0 -42
- data/doc/further/issues.html +0 -20
- data/doc/further/perf.html +0 -54
- data/doc/index.html +0 -80
- data/doc/src/ok.png +0 -0
- data/doc/syntax/derive.html +0 -58
- data/doc/syntax/subst.html +0 -121
- data/doc/syntax/syntax.html +0 -718
- data/doc/vs/create.html +0 -16
- data/doc/vs/create/cvsp.png +0 -0
- data/doc/vs/debug.html +0 -50
- data/doc/vs/echse/echse.png +0 -0
- data/doc/vs/install.html +0 -28
- data/doc/vs/install/install1.png +0 -0
- data/doc/vs/install/install2010.png +0 -0
- data/doc/vs/install/installed.png +0 -0
- data/doc/vs/install/site.png +0 -0
- data/doc/vs/install/update.png +0 -0
- data/doc/vs/use.html +0 -24
- data/doc/vs/use/error.png +0 -0
- data/doc/vs/use/options.png +0 -0
- data/doc/vs/use/select.png +0 -0
- data/doc/vs/use/show.png +0 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/eclipse/export.html
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Documentation of the bake-tookit</title>
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<h1>How to convert existing CDT workspaces</h1>
|
8
|
-
You only need to convert your workspace if CDT is still used to build your projects and the Project.meta files do not exist yet.<br>
|
9
|
-
Only <b>one</b> developer in a team has to convert the workspace only <b>once</b>!
|
10
|
-
<p>
|
11
|
-
Conversion means, that Project.meta files are generated and filled with the informationen from the .project and .cproject files. bake does not read the .project and .cproject files, only the Project.meta files.
|
12
|
-
<p>
|
13
|
-
The converter is an export wizard, which can be found under "File->Export" or in the context menu of the Project Explorer:<p>
|
14
|
-
<img src="export/Select.png"/>
|
15
|
-
<img src="export/Script.png"/>
|
16
|
-
<p>
|
17
|
-
<b>Please note the following things:</b>
|
18
|
-
<ul>
|
19
|
-
<li>The conversion is <b>not a 1:1 conversion</b>. That means, that the tool can only be 99% perfect. There might by some small issues, which have to be adapted manually. You can find it out by simply trying to build your project with bake.
|
20
|
-
<li>It is possible to specify a <b>ruby script</b> in the wizard window, which can do these manual adaptions. This can make sense, if you want to convert the workspace several times before completely switching to bake.
|
21
|
-
<li>To convert only a <b>subset of projects</b> instead of the whole workspace, select the appropriate projects in the Project Explorer before starting the export wizard. Ensure that the checkbox shown above is marked.
|
22
|
-
<li>If you are satisfied with the results, <b>replace</b> the .cproject and .project files in your repository.<p>
|
23
|
-
<table border="1">
|
24
|
-
<tr>
|
25
|
-
<td bgcolor="#CCCCCC"> Steps to do with .cproject and .project files </td>
|
26
|
-
</tr>
|
27
|
-
<tr><td>delete the files</td></tr>
|
28
|
-
<tr><td>remove the projects from your workspace in Eclipse (but do not delete the contents from your disk)</td></tr>
|
29
|
-
<tr><td>import the projects again via the bake import wizard to generate wrapper files for Eclipse</td></tr>
|
30
|
-
<tr><td>commit the change to your source control system</td></tr>
|
31
|
-
</table>
|
32
|
-
<p>
|
33
|
-
<b>Do not commit these .project and .cproject files anymore.</b> Instead, commit the changes in Project.meta files.<br>
|
34
|
-
You still need .cproject and .project files for working under Eclipse, that's why you have to import the projects again via the bake import wizard.
|
35
|
-
</ul>
|
36
|
-
|
37
|
-
</body>
|
38
|
-
|
39
|
-
</html>
|
Binary file
|
Binary file
|
data/doc/eclipse/import.html
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Documentation of the bake-tookit</title>
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<h1>How to create a workspace in Eclipse </h1>
|
8
|
-
<h2>General note</h2>
|
9
|
-
|
10
|
-
Using bake in Eclipse is very similar compared to the CDT build mechanism.
|
11
|
-
<p>
|
12
|
-
One major difference is, that .cproject and .project files are just wrappers. Do not use the standard property pages, they will be simply ignored! <b>Edit only the Project.meta files.</b><br>
|
13
|
-
<b>The .cproject and .project files shall not be committed to your source control.</b>
|
14
|
-
|
15
|
-
<h2>Import</h2>
|
16
|
-
|
17
|
-
If you have a workspace with no .cproject and .project files, but Project.meta files, you can import them to Eclipse.
|
18
|
-
You can also use the importer to import single projects.
|
19
|
-
|
20
|
-
The importer can be found unter File->Import or in the context menu of the Project Explorer.<br>
|
21
|
-
|
22
|
-
All (sub)directories with a Project.meta are listed here. Choose the projects to import and press Finish.<p>
|
23
|
-
<img src="import/Select.png"/>
|
24
|
-
<img src="import/Import.png"/><br>
|
25
|
-
<br>
|
26
|
-
Note, that .(c)project files will not be overwritten per default. If e.g. a project is not a c-project, some bake features will not available.
|
27
|
-
In this case, enable the recreate option. This is also a good idea, if you want to get rid of old configurations.
|
28
|
-
|
29
|
-
</body>
|
30
|
-
|
31
|
-
</html>
|
Binary file
|
Binary file
|
data/doc/eclipse/install.html
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Documentation of the bake-tookit</title>
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<h1>How to install bake Eclipse integration</h1>
|
8
|
-
The bake Eclipse integration plugin is available on a E.S.R.Labs update site. Please follow the steps below to install the plugin.<br>
|
9
|
-
<p>
|
10
|
-
Go to "Help" -> "Install New Software":<br>
|
11
|
-
<img src="install/InstallNewSoftware.png"/><p>
|
12
|
-
Setup the update site:<br>
|
13
|
-
<img src="install/AddRepository.png"/><p>
|
14
|
-
Location:
|
15
|
-
<pre><code>http://www.esrlabs.com/eclipse-plugins/com.esrlabs.eclipse.bake.updatesite/</code></pre>
|
16
|
-
Choose the bake Feature:<br>
|
17
|
-
<img src="install/AvailableSoftware.png"/><p>
|
18
|
-
Accept the license after reading it:<br>
|
19
|
-
<img src="install/Licenses.png"/><p>
|
20
|
-
Ignore the security warning - you can trust the software:<br>
|
21
|
-
<img src="install/TrustMe.png"/><p>
|
22
|
-
After successfull installation, restart Eclipse:<br>
|
23
|
-
<img src="install/Restart.png"/><p>
|
24
|
-
</body>
|
25
|
-
|
26
|
-
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/eclipse/misc/pref.png
DELETED
Binary file
|
data/doc/eclipse/new.html
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Documentation of the bake-tookit</title>
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<h1>How to create a project in Eclipse</h1>
|
8
|
-
This is very easy. Navigate to File->New->Other and choose bake Project:<p>
|
9
|
-
<img src="new/Select.png"/>
|
10
|
-
<img src="new/New.png"/><br>
|
11
|
-
Choose a name. If you have more than one workspace root, you can also choose a location.
|
12
|
-
<p>
|
13
|
-
A new folder with three files will be created. .cproject and .project wrapper files for Eclipse and an almost empty Project.meta which can be filled with build configurations:<p>
|
14
|
-
<img src="new/Result.png"/>
|
15
|
-
</body>
|
16
|
-
|
17
|
-
</html>
|
data/doc/eclipse/new/New.png
DELETED
Binary file
|
data/doc/eclipse/new/Result.png
DELETED
Binary file
|
data/doc/eclipse/new/Select.png
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/eclipse/use.html
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Documentation of the bake-tookit</title>
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<h1>How to use bake in Eclipse</h1>
|
8
|
-
<h2>Choose the C/C++ perspective</h2>
|
9
|
-
|
10
|
-
The menu items described on this page only appear in the C/C++ perspective.
|
11
|
-
|
12
|
-
<h2>Select a build configuration of the main project</h2>
|
13
|
-
Right click on the main project and select a bake build configuration. Note, that only configurations with a DefaultToolchain will be displayed.<p>
|
14
|
-
<img src="select/FirstSelect.png"/><p>
|
15
|
-
If no Project.meta or configuration with a DefaultToolchain exist, an error item will be displayed like this:<p>
|
16
|
-
<img src="select/WrongSelect.png"/><p>
|
17
|
-
The chosen config is marked with a filled circle before the config name.You can also see it directly in the project explorer:<p>
|
18
|
-
<img src="select/SecondSelect.png"/><p>
|
19
|
-
<p>
|
20
|
-
This label decoration can be switched off and on via Window->Preferences->General->Appearance->Label Decorations.
|
21
|
-
|
22
|
-
<h2>Adjust includes and defines for CDT</h2>
|
23
|
-
|
24
|
-
As you might have already seen, a new menu item for the main project is enabled now: Adjust includes and defines for CDT.<br>
|
25
|
-
All CDT features work out-of-the-box except those about the #include and #define statements e.g. auto-completion of includes.
|
26
|
-
To import the includes and defines into the CDT .cproject files, simply click on this menu item.<p>
|
27
|
-
Compiler internal includes and defines must be specified in InternalInclude and InternalDefine files. See "Syntax" help page how to set the name of these files. Note, that the
|
28
|
-
variables CPPPath, CPath, ASMPath, ArchiverPath and LinkerPath can be used in these files.<br>
|
29
|
-
<p>
|
30
|
-
Adjusting can take between a few seconds and a minute depending on the size of the workspace and the number of project settings which have to be written.<br>
|
31
|
-
|
32
|
-
<h2>Build/Clean Projects/Files</h2>
|
33
|
-
|
34
|
-
Now you can build or clean a project by clicking on the appropriate menu items.<p>
|
35
|
-
<table border="1">
|
36
|
-
<tr>
|
37
|
-
<th bgcolor="#CCCCCC">Project</th>
|
38
|
-
<th bgcolor="#CCCCCC">File (note: Build File always rebuilds the file)</th>
|
39
|
-
</tr>
|
40
|
-
<tr>
|
41
|
-
<td><img src="build/buildMain.png"/></td>
|
42
|
-
<td><img src="build/buildFile.png"/></td>
|
43
|
-
</tr>
|
44
|
-
</table>
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
<h2>Result</h2>
|
49
|
-
|
50
|
-
The result of the build will be shown in the Console and Problems View as usual:<p>
|
51
|
-
<img src="build/console.png"/><p>
|
52
|
-
<img src="build/problem.png"/><br>
|
53
|
-
|
54
|
-
<h2>Preferences</h2>
|
55
|
-
Via Window->Preferences->bake some settings can be changed and the bake command line can be extended:<p>
|
56
|
-
<img src="misc/pref.png"/>
|
57
|
-
</body>
|
58
|
-
|
59
|
-
</html>
|
data/doc/further/bakery/cmd.html
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Documentation of the bake-tookit</title>
|
5
|
-
<style type="text/css">
|
6
|
-
#rundrum {
|
7
|
-
border-width:1px;
|
8
|
-
border-style:dashed;
|
9
|
-
border-color:blue;
|
10
|
-
padding:0.2cm;
|
11
|
-
text-align:justify; }
|
12
|
-
}
|
13
|
-
</style>
|
14
|
-
</head>
|
15
|
-
<body>
|
16
|
-
<h1>How to use bakery on command line</h1>
|
17
|
-
|
18
|
-
Call <b>bakery -h</b> to display the command line options.
|
19
|
-
<p>
|
20
|
-
The most important options are the collection name (<b>-b</b>) and the collection directory (<b>-m</b>, default is current directory).
|
21
|
-
|
22
|
-
<h3>Examples</h3>
|
23
|
-
|
24
|
-
Build all unittests:
|
25
|
-
<pre id="rundrum"><code>bakery -b AllUnitTests</code></pre>
|
26
|
-
Clean all unittests:
|
27
|
-
<pre id="rundrum"><code>bakery -b AllUnitTests -c</code></pre>
|
28
|
-
Build all unittests, workspace checked out into two roots, console supports colors, stop on first error, run the unittests after build:
|
29
|
-
<pre id="rundrum"><code>bakery -b AllUnitTests -m w:/root1/mainProj -w w:/root2 -r -a black --include_filter run</code></pre>
|
30
|
-
|
31
|
-
</body>
|
32
|
-
|
33
|
-
</html>
|
@@ -1,203 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
2
|
-
"http://www.w3.org/TR/html4/strict.dtd">
|
3
|
-
<html>
|
4
|
-
<head></head>
|
5
|
-
<title>Documentation of the bake-tookit</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
7
|
-
|
8
|
-
<body >
|
9
|
-
<h1>Syntax of Collection.meta</h1>
|
10
|
-
|
11
|
-
Move the mouse cursor over the blue elements to display more information.<p>
|
12
|
-
|
13
|
-
<style type="text/css">
|
14
|
-
#rundrum {
|
15
|
-
border-width:1px;
|
16
|
-
border-style:dashed;
|
17
|
-
border-color:blue;
|
18
|
-
padding:0.2cm;
|
19
|
-
text-align:justify; }
|
20
|
-
}
|
21
|
-
</style>
|
22
|
-
|
23
|
-
<style type="text/css">
|
24
|
-
|
25
|
-
#dhtmltooltip{
|
26
|
-
position: absolute;
|
27
|
-
width: 150px;
|
28
|
-
border: 2px solid black;
|
29
|
-
padding: 2px;
|
30
|
-
background-color: lightyellow;
|
31
|
-
visibility: hidden;
|
32
|
-
z-index: 100;
|
33
|
-
}
|
34
|
-
|
35
|
-
</style>
|
36
|
-
|
37
|
-
<style type="text/css">
|
38
|
-
.hide {
|
39
|
-
display:none;
|
40
|
-
}
|
41
|
-
.show {
|
42
|
-
display:block
|
43
|
-
}
|
44
|
-
.showInline {
|
45
|
-
display:inline
|
46
|
-
}
|
47
|
-
.help {
|
48
|
-
color:blue
|
49
|
-
}
|
50
|
-
.showRadio {
|
51
|
-
font-weight:bold;color:blue;text-decoration:overline underline
|
52
|
-
}
|
53
|
-
.hideRadio {
|
54
|
-
color:#AAAAFF;
|
55
|
-
}
|
56
|
-
.mycomment {
|
57
|
-
color:green
|
58
|
-
}
|
59
|
-
</style>
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
<table border="1" style="font-family:monospace"; font-size:10><td>
|
66
|
-
|
67
|
-
<span class="help" onMouseover="showCollection()" onMouseout="notip()">Collection</span> <name> {<br>
|
68
|
-
<span class="help" onMouseover="showProject()" onMouseout="notip()">Project</span> <name>, config: <name><br>
|
69
|
-
<span class="help" onMouseover="showExclude()" onMouseout="notip()">Exclude</span> <name>, config: <name><br>
|
70
|
-
<span class="help" onMouseover="showSubCollection()" onMouseout="notip()">SubCollection</span> <name><br>
|
71
|
-
}
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<div id="dhtmltooltip"></div>
|
78
|
-
|
79
|
-
<script type="text/javascript">
|
80
|
-
|
81
|
-
|
82
|
-
function showCollection() {
|
83
|
-
str = 'This is a collection of builds. The name must be unique within this file.'
|
84
|
-
ddrivetip("Collection", "Yes", "1..n", "-",str)
|
85
|
-
}
|
86
|
-
|
87
|
-
function showProject() {
|
88
|
-
str = "Specify the projects with it's configs to build. It is possible to use \"*\" as wildcards."
|
89
|
-
ddrivetip("Project", "Yes,", "1..n", "-",str)
|
90
|
-
}
|
91
|
-
|
92
|
-
function showConfig() {
|
93
|
-
str = "Specify the configs. It is possible to use \"*\" as wildcard."
|
94
|
-
ddrivetip("config", "Yes", "-", "-",str)
|
95
|
-
}
|
96
|
-
|
97
|
-
function showExclude() {
|
98
|
-
str = "Specify the projects with it's configs to exclude from build. It is possible to use \"*\" as wildcards."
|
99
|
-
ddrivetip("Exclude", "No", "0..n", "-",str)
|
100
|
-
}
|
101
|
-
|
102
|
-
function showSubCollection() {
|
103
|
-
str = 'This references another collection.'
|
104
|
-
ddrivetip("SubCollection", "No", "0..n", "-",str)
|
105
|
-
}
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
var offsetxpoint=20 //Customize x offset of tooltip
|
110
|
-
var offsetypoint=20 //Customize y offset of tooltip
|
111
|
-
var ie=document.all
|
112
|
-
var ns6=document.getElementById && !document.all
|
113
|
-
var enabletip=false
|
114
|
-
if (ie||ns6)
|
115
|
-
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
|
116
|
-
|
117
|
-
function ietruebody(){
|
118
|
-
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
|
119
|
-
}
|
120
|
-
|
121
|
-
function ddrivetip(item, manda, quan, def, desc){
|
122
|
-
if (ns6||ie){
|
123
|
-
|
124
|
-
var abc=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth
|
125
|
-
|
126
|
-
tipobj.style.width=(abc/2-offsetxpoint*2).toString()+"px"
|
127
|
-
tipobj.style.backgroundColor="#DDFFDD"
|
128
|
-
tipobj.innerHTML="<b><u>"+item+"</u><br><br>Mandatory:</b> "+manda+"<br><b>Quantity</b>: "+quan+"<br><b>Default</b>: "+def+"<br><br><b>Description</b>:<br>"+desc
|
129
|
-
enabletip=true
|
130
|
-
return false
|
131
|
-
}
|
132
|
-
}
|
133
|
-
|
134
|
-
function positiontip(e){
|
135
|
-
if (enabletip){
|
136
|
-
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
|
137
|
-
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
|
138
|
-
//Find out how close the mouse is to the corner of the window
|
139
|
-
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint
|
140
|
-
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint*2 : window.innerHeight-e.clientY-offsetypoint
|
141
|
-
var bottom=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight
|
142
|
-
|
143
|
-
var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
|
144
|
-
|
145
|
-
//if the horizontal distance isn't enough to accomodate the width of the context menu
|
146
|
-
if (rightedge<tipobj.offsetWidth+offsetxpoint/2)
|
147
|
-
//move the horizontal position of the menu to the left by it's width
|
148
|
-
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth-offsetxpoint+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth-offsetxpoint+"px"
|
149
|
-
else if (curX<leftedge)
|
150
|
-
tipobj.style.left="5px"
|
151
|
-
else
|
152
|
-
//position the horizontal position of the menu where the mouse is positioned
|
153
|
-
tipobj.style.left=curX+offsetxpoint+"px"
|
154
|
-
|
155
|
-
//same concept with the vertical position
|
156
|
-
if (bottomedge<tipobj.offsetHeight)
|
157
|
-
tipobj.style.top=ie? ietruebody().scrollTop+bottom-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+bottom-tipobj.offsetHeight-offsetypoint+"px"
|
158
|
-
else
|
159
|
-
tipobj.style.top=curY+offsetypoint+"px"
|
160
|
-
tipobj.style.visibility="visible"
|
161
|
-
}
|
162
|
-
}
|
163
|
-
|
164
|
-
function notip(){
|
165
|
-
if (ns6||ie){
|
166
|
-
enabletip=false
|
167
|
-
tipobj.style.visibility="hidden"
|
168
|
-
tipobj.style.left="-1000px"
|
169
|
-
tipobj.style.backgroundColor=''
|
170
|
-
tipobj.style.width=''
|
171
|
-
}
|
172
|
-
}
|
173
|
-
|
174
|
-
document.onmousemove=positiontip
|
175
|
-
|
176
|
-
</script>
|
177
|
-
|
178
|
-
</td></table>
|
179
|
-
|
180
|
-
<h3>General Notes</h3>
|
181
|
-
<ul>
|
182
|
-
<li>Use double quotes (") if the strings have wildcards
|
183
|
-
<li>Use hash marks (#) for comments.
|
184
|
-
</ul>
|
185
|
-
<h3>Example</h3>
|
186
|
-
|
187
|
-
<pre id="rundrum"><code>Collection AllUnitTests {
|
188
|
-
Project "*", config: UnitTest
|
189
|
-
}
|
190
|
-
Collection UnitTestLibsWithoutBsp {
|
191
|
-
Project "*", config: "UnitTestLib*"
|
192
|
-
Exclude "bsp*", config: "*"
|
193
|
-
}
|
194
|
-
Collection MySpecialCollection {
|
195
|
-
Project Main1, config: Debug
|
196
|
-
Project Main2, config: Release
|
197
|
-
Project Sub3, config: Debug
|
198
|
-
SubCollection UnitTestLibsWithoutBsp
|
199
|
-
}</code></pre>
|
200
|
-
|
201
|
-
|
202
|
-
</body>
|
203
|
-
</html>
|