mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-29 12:36:34 +08: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:
@@ -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)):
|
||||
|
||||
Reference in New Issue
Block a user