1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-05 02:22:28 +01:00
ScreenPlay/Tools
tretrauit 5eddac7c83
Disable ffmpeg downloading if we're in the shared GitLab CI
It freeze randomly and we don't have control over it so idk
2022-01-04 21:13:39 +07:00
..
Installer Add cpack IFW installer 2021-12-03 15:30:17 +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 Refactor build script 2022-01-04 09:12:03 +00: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 Merge branch 'master' into qt6-kde 2021-12-31 13:32:37 +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 Disable ffmpeg downloading if we're in the shared GitLab CI 2022-01-04 21:13:39 +07: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