Skip to content

other_file

Required: No
Type: List of misc. files
Condition: Yes

other_file can be used to list other files that should be included in the project, but shouldn't be a part of the compiled binary, for example documentation. The files should be copied together with the project, and be presented in the IDE if possible.

Key Required Type Description
path Yes Path to file
condition No List of features The file is added if all the given features are present
unless No List of features The file is added unless any of the given features are present
directory No String Only supported for files where path points to a location outside the project root. If the project is copied, the file is moved to this directory relative to the project root and the project file is rewritten to reflect the new layout. If not set, a default of . is assumed. If the project is not copied, the value of directory may be used to show the file at a virtual location in IDEs that support this.
1
2
other_file:
  - path: postbuild.sh
Back to top