Tipps and Tricks

Syntax highlighting

To enable syntax highlighting for the Project.meta files in Eclipse, install the "rtext_eclipse_plugin" (Help->Install New Software...) and associate ".meta" files with the rtext editor (Window->Preferences, File Associations page).
An update site for Eclipse (needed for installation) will be provided soon. For now, you can download it manually at github.

Key bindings

It is possible to bind the bake commands to keys.


Unnecessary includes

If a library or executable is successfully build with "-v", unnecessary includes are printed out:
Info: Include to ../sub1/include/ seems to be unnecessary
Info: Include to ../sub2/include/ seems to be unnecessary
This features depends on the compiler dependency files. For projects with assembler files, the list might be incorrect.
However, remove the IncludeDir statements from the Project.meta and check it out.

Symlinks and junctions

It is possible to use symlinks (Linux) or junctions (Windows) when working with git. Best practice:

Single file

If you want to build a single file, you have to specify it like that:
bake -b Debug -f src/abc/MyFile.cpp
No need to type so much! If it's not ambiguous, it's enough to specify parts of the filename like this:
bake -b Debug -f abc/MyFile.cpp
bake -b Debug -f MyFile.cpp