1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 12:03:18 +02:00

scripts(windows): configure Release instead of Beta for beta builds

Beta releases only need a build flag and not an entire vs project
configuration.

Change-Id: Id177e0adbc63a8666c20df3e16c8b5f2512739b5
This commit is contained in:
Andreas Traczyk 2022-03-08 18:23:08 -05:00
parent 4edcc091f5
commit d7a7d876cf

View file

@ -207,7 +207,7 @@ def build(config_str, qtver, tests=False):
cmake_options = [
'-DCMAKE_PREFIX_PATH=' + qt_dir,
'-DCMAKE_BUILD_TYPE=' + config_str
'-DCMAKE_BUILD_TYPE=' + 'Release'
]
if tests:
cmake_options.append('-DENABLE_TESTS=true')
@ -228,7 +228,7 @@ def build(config_str, qtver, tests=False):
print('Building…')
cmd = [
'cmake', '--build', '.',
'--config', config_str,
'--config', 'Release',
'--', '-m'
]
if(execute_cmd(cmd, False, vs_env_vars, build_dir)):