Build on PC

This commit is contained in:
MoreTore
2024-09-25 08:48:19 -05:00
parent bfd8556655
commit 9bbd82be54
9 changed files with 31 additions and 9 deletions
+8
View File
@@ -47,6 +47,14 @@ qt_src = ["main.cc", "qt/sidebar.cc", "qt/body.cc",
"qt/onroad/buttons.cc", "qt/onroad/alerts.cc",
"../frogpilot/screenrecorder/omx_encoder.cc", "../frogpilot/screenrecorder/screenrecorder.cc"]
if GetOption("nosr"):
qt_env.Append(CXXFLAGS=['-DNO_SR'])
base_libs.remove('OmxCore')
qt_libs.remove('OmxCore')
qt_src.remove("../frogpilot/screenrecorder/screenrecorder.cc")
qt_src.remove("../frogpilot/screenrecorder/omx_encoder.cc")
print("Removing Screen Recorder")
# build translation files
with open(File("translations/languages.json").abspath) as f:
languages = json.loads(f.read())