GODT-1675: Pass app name and vendor from topmost Makefile.

This commit is contained in:
Jakub
2022-08-19 10:58:46 +02:00
parent 264c2b2f90
commit 35d2cc9be7
12 changed files with 84 additions and 29 deletions

View File

@ -28,6 +28,20 @@ include(../BridgeSetup.cmake)
project(bridge-gui LANGUAGES CXX)
if (NOT DEFINED BRIDGE_APP_FULL_NAME)
message(FATAL_ERROR "BRIDGE_APP_FULL_NAME is not defined.")
else()
message(STATUS "App name is ${BRIDGE_APP_FULL_NAME}")
endif()
if (NOT DEFINED BRIDGE_VENDOR)
message(FATAL_ERROR "BRIDGE_VENDOR is not defined.")
else()
message(STATUS "App vendor is ${BRIDGE_VENDOR}")
endif()
if (NOT DEFINED BRIDGE_APP_VERSION)
message(FATAL_ERROR "BRIDGE_APP_VERSION is not defined.")
else()