1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:07:34 +00:00

Meta: Add Android cross-compile support to Lagom

This is a start to properly letting us cross-compile Lagom where both
the Tools and the BUILD_LAGOM=ON build are using Lagom CMakeLists.

The initial cut allows an Android build to succeed, more or less.
But there are issues with namespace clashes when using FetchContent with
this approach.
This commit is contained in:
Andrew Kaster 2022-07-11 01:07:47 -06:00 committed by Linus Groh
parent d84fc60f96
commit 9c2211f246
3 changed files with 12 additions and 7 deletions

View file

@ -46,7 +46,8 @@ export AFL_NOOPT=1
echo "Building Lagom Tools..."
cmake -GNinja -B Build/tools \
-DBUILD_LAGOM=OFF \
-DCMAKE_INSTALL_PREFIX=Build/tool-install
-DCMAKE_INSTALL_PREFIX=Build/tool-install \
-Dpackage=LagomTools
ninja -C Build/tools install
# Restore flags for oss-fuzz