mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 10:42:29 +01:00
Fix steam build default from true/false to on/off
This commit is contained in:
parent
f64c2aeab5
commit
d4289c8e08
@ -45,6 +45,11 @@ if not args.build_type:
|
||||
print("Build type argument is missing (release,debug). Example: python build.py -t release -steam=True")
|
||||
sys.exit(1)
|
||||
|
||||
steam_build = "OFF"
|
||||
if args.steam_build:
|
||||
if args.steam_build:
|
||||
steam_build = "ON"
|
||||
|
||||
qt_version = "5.15.2"
|
||||
print("Starting build with type %s. Qt Version: %s" %
|
||||
(args.build_type, qt_version))
|
||||
@ -110,7 +115,7 @@ cmake_configure_command = """cmake ../
|
||||
prefix_path=cmake_prefix_path,
|
||||
triplet=cmake_target_triplet,
|
||||
toolchain=cmake_toolchain_file,
|
||||
steam=args.steam_build).replace("\n", "")
|
||||
steam=steam_build).replace("\n", "")
|
||||
|
||||
execute(cmake_configure_command)
|
||||
execute("cmake --build . --target all")
|
||||
|
Loading…
Reference in New Issue
Block a user