Warning, /education/gcompris/platforms/ubuntutouch/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 #=============================================================================
0002 # SPDX-FileCopyrightText: 2020 Lionel Duboeuf <lduboeuf@ouvaton.org>
0003 #
0004 # SPDX-License-Identifier: BSD-3-Clause
0005 #=============================================================================
0006 message("Building for Ubuntu Touch")
0007 add_definitions(-DUBUNTUTOUCH)
0008 
0009 # Get Architecture triplet
0010 if(DEFINED ENV{ARCH})
0011     set(CLICK_ARCH "$ENV{ARCH}")
0012 else()
0013     execute_process(
0014         COMMAND dpkg-architecture -qDEB_HOST_ARCH
0015         OUTPUT_VARIABLE CLICK_ARCH
0016         OUTPUT_STRIP_TRAILING_WHITESPACE
0017     )
0018 endif()
0019 
0020 configure_file(manifest.json.in ${CMAKE_CURRENT_BINARY_DIR}/manifest.json)
0021 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/manifest.json DESTINATION /)
0022 install(FILES gcompris.apparmor DESTINATION /)
0023 install(FILES gcompris.png DESTINATION /)
0024 install(FILES gcompris.desktop DESTINATION /)