### Build Desktop and Android Platforms with Gradle Source: https://github.com/zeruth/meteor-mp/blob/225/README.md This snippet demonstrates how to build either the Android or Desktop platform using the gradlew command. It specifies the tasks 'android:build' and 'desktop:build' for each respective platform. ```bash gradlew android:build gradlew desktop:build ``` -------------------------------- ### CMake: Add Shared Library Source: https://github.com/zeruth/meteor-mp/blob/225/android-awt/src/main/cpp/CMakeLists.txt This snippet defines a shared library named 'awtcompat-native-components' using a list of source files. It ensures that the library is built as a shared object, making its functionality available to other programs at runtime. The include_directories function makes the headers within the specified subdirectories accessible during compilation. ```cmake cmake_minimum_required(VERSION 3.20.1) set(SOURCES awtcompat_native_components.c headers/awtcompat_native_components.h common/exceptions.c common/exceptions.h lcmm/cmmapi.h lcmm/cmmerror.h lcmm/cmmerror.c lcmm/cmmio.c lcmm/cmmxforms.c lcmm/NativeCMM.c lcmm/NativeCMM.h lcmm/NativeImageFormat.c lcmm/NativeImageFormat.h lcms/cmscam02.c lcms/cmscam97.c lcms/cmscam97.c.rej lcms/cmscgats.c lcms/cmscnvrt.c lcms/cmserr.c lcms/cmsgamma.c lcms/cmsgmt.c lcms/cmsintrp.c lcms/cmsio0.c lcms/cmsio1.c lcms/cmslut.c lcms/cmsmatsh.c lcms/cmsmtrx.c lcms/cmsnamed.c lcms/cmspack.c lcms/cmspcs.c lcms/cmsps2.c lcms/cmssamp.c lcms/cmsvirt.c lcms/cmswtpnt.c lcms/cmsxform.c lcms/icc34.h lcms/lcms.h ) add_library( # Specifies the name of the library. awtcompat-native-components # Sets the library as a shared library. SHARED # Provides a relative path to your source file(s). ${SOURCES} ) include_directories( headers/ common/ lcms/ lcmm/ ) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.