mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 03:13:53 +08:00
Build on PC
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user