1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-14 22:42:34 +02:00
ScreenPlay/Tools
Elias Steurer fb5d6581ec Change all plugins to be QML_ELEMENT
Add ScreenPlayWeather
2022-02-20 17:55:26 +01:00
..
Installer Add some basic working in installer with cmake 3.23 2022-01-27 14:54:45 +01:00
steamcmd Add steam publish python script with dynamic description based on git branch, hash and date 2021-08-21 12:53:19 +02:00
build.py Update Qt version in build.py 2022-02-03 18:45:12 +01:00
clang_format.py Refacot setup and formatting tools 2021-05-16 13:09:32 +02:00
cmake_format.py Refacot setup and formatting tools 2021-05-16 13:09:32 +02:00
CMakeLists.txt Change all plugins to be QML_ELEMENT 2022-02-20 17:55:26 +01:00
download_ffmpeg.bat Remove timeout 2021-05-16 14:13:27 +02:00
download_ffmpeg.py Add missing ffmpeg prebuild bin to setup for mac 2021-08-16 11:48:06 +02:00
execute_util.py Refactor build script 2022-01-04 09:12:03 +00:00
format_util.py Refacot setup and formatting tools 2021-05-16 13:09:32 +02:00
qdoc.py Add ScreenPlayUtil and ScreenPlayShader to developer docs 2021-05-13 13:05:05 +02:00
qml_format.py Change formatter to 6.1 2021-05-16 19:35:05 +02:00
Readme.md Add examples to python scripts 2021-09-04 12:13:19 +02:00
setup.py Refactor build script 2022-01-04 09:12:03 +00:00
steam_publish.py Replace branch name with commit text 2021-08-21 14:11:16 +02:00

Tools

This folder contains serveral python tools to help with development. Depending on your os you have to change the python command to python, python3 or python3.9

setup.py

  • Installs third party c++ dependencies for all platforms
    • python3 setup.py -u=xxx -p=xxx

build.py

  • Build ScreenPlay locally
    • python3 build.py -t=release

clang_format.py

  • Invokers clang-format for all .cpp and .h files
    • python3 clang_format.py

qml_format.py

  • Calls qmlformat for all qml files
    • python3 qml_format.py

qdoc.py

  • Builds documentation for all projects into Docs/html
    • python3 qdoc.py

download_ffmpeg.py

  • Donwload ffmpeg for macos only for now
    • 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