mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
add no-ui target to prepare.py, in order to run a native build without QT.
This commit is contained in:
parent
673749722e
commit
88ef8d863a
2 changed files with 19 additions and 2 deletions
19
prepare.py
19
prepare.py
|
|
@ -73,6 +73,22 @@ class DesktopRaspberryTarget(prepare.Target):
|
|||
]
|
||||
|
||||
|
||||
class NoUITarget(prepare.Target):
|
||||
|
||||
def __init__(self, group_builders=False):
|
||||
prepare.Target.__init__(self, 'no-ui')
|
||||
current_path = os.path.dirname(os.path.realpath(__file__))
|
||||
self.config_file = 'configs/config-desktop.cmake'
|
||||
self.output = 'OUTPUT/' + self.name
|
||||
self.external_source_path = os.path.join(current_path, 'submodules')
|
||||
self.packaging_args = [
|
||||
"-DCMAKE_INSTALL_RPATH=$ORIGIN/../lib",
|
||||
"-DENABLE_RELATIVE_PREFIX=YES"
|
||||
]
|
||||
|
||||
|
||||
|
||||
|
||||
class PythonTarget(prepare.Target):
|
||||
|
||||
def __init__(self):
|
||||
|
|
@ -101,7 +117,8 @@ desktop_targets = {
|
|||
'desktop': DesktopTarget(),
|
||||
'python': PythonTarget(),
|
||||
'desktop-raspberry': DesktopRaspberryTarget(),
|
||||
'python-raspberry': PythonRaspberryTarget()
|
||||
'python-raspberry': PythonRaspberryTarget(),
|
||||
'no-ui' : NoUITarget()
|
||||
}
|
||||
|
||||
class DesktopPreparator(prepare.Preparator):
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit ec7f3013cc46879dea9e4d490e70f4ab55bafe2c
|
||||
Subproject commit 3070af7aa75f92e8ea38ec7f0e0024a74a669fa4
|
||||
Loading…
Add table
Reference in a new issue