Overview of Files and Directories¶
app directory contains the following files and directories. Those
marked with a trailing slash are directories.
|build-aux/||Helper scripts for the build system.|
|com.example.app_resources.json||Manifest file for deployment.|
|data/||Data files for the installed application.|
|meson.build||The main build file.|
|src/||Source files for the application.|
The first four of these are concerned with building and packaging the application, or contain data files that are not part of the application itself.
Sources and Resources¶
src directory is where we will start to explore how the application is
put together. It contains a collection of files and an
|app_resources.gresource.xml||Resource description file.|
|app-resources.in||Template executable file.|
|images/||Images that will be stored in the resource bundle.|
|__init__.py||Python package file.|
|main.py||The main module for the application.|
|meson.build||The build file for this directory.|
meson.build file describes the build rules for the program – we will
look at these later in Building the Application.
Next, we will look at the
app_resources.gresource.xml file and how
resources are described.