2021-05-21 12:02:16 +02:00
## Tools
2023-06-29 20:31:59 +02:00
This folder contains serveral python tools to help with development. Depending on your os you have to change the python command to ```python```, ```python3``. Download python dependencies first:
2021-09-04 12:13:19 +02:00
2023-06-29 20:31:59 +02:00
``` bash
cd Tools
python -m pip install -r requirements.txt
```
2021-05-21 12:02:16 +02:00
#### setup.py
2021-09-04 12:13:19 +02:00
- Installs third party c++ dependencies for all platforms
2023-06-29 20:31:59 +02:00
- ```python3 setup.py```
2021-05-21 12:02:16 +02:00
#### build.py
- Build ScreenPlay locally
2021-09-04 12:13:19 +02:00
- ```python3 build.py -t=release```
2021-05-21 12:02:16 +02:00
#### clang_format.py
- Invokers clang-format for all .cpp and .h files
2021-09-04 12:13:19 +02:00
- ```python3 clang_format.py ```
#### qml_format.py
- Calls qmlformat for all qml files
- ```python3 qml_format.py```
2021-05-21 12:02:16 +02:00
#### qdoc.py
- Builds documentation for all projects into Docs/html
2021-09-04 12:13:19 +02:00
- ```python3 qdoc.py```
2021-05-21 12:02:16 +02:00
#### download_ffmpeg.py
- Donwload ffmpeg for macos only for now
2021-09-04 12:13:19 +02:00
- ```python3 download_ffmpeg.py```
#### steam_publish.py
- Upload to steam. This is needed to add some much needed output like git commit to the steam ui for selecting branches
- ```python3 steam_publish.py -u xxx -p xxx```