Age | Commit message (Collapse) | Author |
|
The android build could be the Desktop and the Mobile app,
we cannot force it to be the mobile.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
The hack in commit c8be04edad5e ("Mac build: move the QtXml hack into Cmake")
had been lost in the latest cmake rewrite.
Similarly, the modified BUNDLE info and the manual QML deployment.
Strangely this still doesn't correctly create a Subsurface-mobile.app on Mac.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
I split this out as separate commit so that the previous commit becomes easier
to read.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
This had not been updated since the change of direction that we would support
building Mobile and Desktop on all supported platforms.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
FILE READ doesn't do what we want. It's the STRINGS command that considers \n
as whitespace and gets the correct result.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
The check must be done, but not on the way I tried to do.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
i hope
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
instead of hardcoding everything on the main cmake
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
We where able to build the android-mobile on desktop and the desktop on
android, now I allow only mobile on android and desktop on desktop.
this is to make the cmake clear, and we can also use the emulator on
the android platform, so nothing is really lost.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
It's easier to debug what's wrong this way
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Better to follow the CMake logic and se those near the
sources
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
This is actually a good change: we used to write a new
CMake file in configure time just to move it outside of the
source to the build dir at compile time. Now this file is
pre-created and it's only moved.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Marble stuff should be inside handleMarble file, this clears
the Main CMakelists.txt file.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Anoter attempt to clear the Main CMakeLists.txt file
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
In source builds creates a lot of noise on the source tree,
creating tons of temporaries that makes git status cry, and it also
creates dangerous files that have names similar to actual source
and could make a developer use them by mistake.
Make out of source buiild mandatory to remove that, it also makes
CMake code easier to read.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
CMake is a strange and complex language for buildsystems,
and as such we need to let the main CMakeLists.txt be as
clear as possible.
Moving a bunch of code that deals with finding git via
default CMake way or pkg_cofig to a file named 'HandleFindGit'
on our cmake/Modules folder.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
|
|
And try to fix the upper case / mixed case confusion that we apparently
have with libssh2 - oh how I hate this stuff.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Also fixes a capitalization error that prevented finding libssh2 in some
circumstances. And adds a missing include when building with libzip on Mac.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
This way build.sh can build a Subsurface.app that the user can use via
open subsurface/build/Subsurface.app
after running build.sh.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
The workaround to building Subsurface-mobile on Mac messes with the ability to
sign the bundle, so only do this when building Subsurface-mobile which we don't
bundle, anyway.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Some of the flags needed to build for android was set in cmake. There
are many more that needs to be set correctly for things to work, so
having some in cmake and some in the Android build.sh is just confusing.
This removes the bits from cmake and moves everything into build.sh.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
With this running
make && make install
should give you a Subsurface-mobile.app that you can execute (either with
double click or using "open Subsurface-mobile.app" from the command line).
This contains a couple of hacks but I didn't try too hard to make this clean
since Tomaz is redoing the CMake build system, anyway and I'll need to make
sure this still works once he's done.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
The error message was completely useless, but it turned out to be an issue of
the order of arguments to add_executable().
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
While this is primarily something targeted at a mobile device, with many
of the 2 in 1 devices it is possible that the user might be running the
desktop version of Subsurface on a mobile device.
As a first step to make it possible to collect GPS fixes on such a device
we need to make the infrastructure to do so available in the desktop
application as well.
This still needs to be hooked up in the desktop UI.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|