Commit 88ef8d86 authored by Simon Morlat's avatar Simon Morlat

add no-ui target to prepare.py, in order to run a native build without QT.

parent 67374972
......@@ -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):
......
bctoolbox @ 3070af7a
Subproject commit ec7f3013cc46879dea9e4d490e70f4ab55bafe2c
Subproject commit 3070af7aa75f92e8ea38ec7f0e0024a74a669fa4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment