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:
- Link all used projects into one directory (e.g. from application repository and basis software repository).
- Use this directory when working with bake, Eclipse, etc.
- Specify "-w absolute_path_to_working_dir.
- To sync/commit from/to svn, use the original directories created by git.