For each platform, you will create a dedicated script to perform all the tasks required to build a standalone application. Depending on the OS type, the packaged application will be gallery-desktop or gallery-mobile. Because the whole gallery project has to be compiled, it also has to include gallery-core. Therefore, we will create a parent project with gallery-core, gallery-desktop, and gallery-mobile.
For each platform, we will prepare the project to be packaged and create a specific script. All the scripts follow the same workflow:
- Set the input and output directories
- Create makefiles with qmake
- Build the project
- Regroup only the necessary files in the output directory
- Package the application with platform-specific tasks
- Store the packed application in the output directory
These scripts could run on a developer computer or on a continuous-integration...