mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-04-26 09:44:32 +00:00
57 lines
1.7 KiB
CMake
57 lines
1.7 KiB
CMake
#
|
|
# Copyright (C) 2018-2021 QuasarApp.
|
|
# Distributed under the lgplv3 software license, see the accompanying
|
|
# Everyone is permitted to copy and distribute verbatim copies
|
|
# of this license document, but changing it is not allowed.
|
|
#
|
|
|
|
cmake_minimum_required(VERSION 3.1)
|
|
project(HanoiTowers)
|
|
|
|
set(BUILD_SHARED_LIBS ON)
|
|
|
|
include(Heart/QuasarAppLib/CMake/ccache.cmake)
|
|
include(Heart/QuasarAppLib/CMake/QuasarAppCITargets.cmake)
|
|
|
|
SET(INSTALLER_DIR "${CMAKE_CURRENT_SOURCE_DIR}/installer/")
|
|
SET(DATA_DIR "${INSTALLER_DIR}/packages/HanoiTowers/data")
|
|
|
|
SET(BIB_APP "${CMAKE_CURRENT_SOURCE_DIR}/hanoi_towers/build/Release/HanoiTowers")
|
|
SET(TARGET_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Distro")
|
|
SET(PRODUCT_VER_Mj 1)
|
|
SET(PRODUCT_VER_Mn 6)
|
|
SET(PRODUCT_VER_Re 0)
|
|
|
|
file(MAKE_DIRECTORY ${TARGET_DIR})
|
|
|
|
initAll()
|
|
|
|
addDeployFromCustomFile("Client" "${CMAKE_CURRENT_SOURCE_DIR}/Deploy/Client.json")
|
|
addDeployFromCustomFile("Server" "${CMAKE_CURRENT_SOURCE_DIR}/Deploy/Server.json")
|
|
|
|
#if (WIN32)
|
|
# addDeployQIF("Client" ${INSTALLER_DIR} ${TARGET_DIR} "${INSTALLER_DIR}/config/configWin.xml")
|
|
|
|
#else (WIN32)
|
|
# addDeployQIF("Client" ${INSTALLER_DIR} ${TARGET_DIR} "${INSTALLER_DIR}/config/configLinux.xml")
|
|
|
|
#addDeploySnap("Client" ${TARGET_DIR})
|
|
#addReleaseSnap("Client")
|
|
|
|
#endif(WIN32)
|
|
|
|
#addReleaseQif("Client" ${DATA_DIR} ${TARGET_DIR})
|
|
|
|
#addDeployAPK("Android" "${CMAKE_CURRENT_SOURCE_DIR}/hanoi_towers/android-libHanoiTowers.so-deployment-settings.json" "digitalface" "${SIGN_PATH}/DigitalFaceMobily.keystore" "${SIGN_STORE_PASSWORD}" "${TARGET_DIR}")
|
|
|
|
|
|
# Add sub directories
|
|
add_subdirectory(Heart)
|
|
add_subdirectory(Patronum)
|
|
add_subdirectory(HanoiTowers)
|
|
#add_subdirectory(hanoi_towers/ViewSolutions)
|
|
|
|
|
|
|
|
|